Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Microsoft.Rest.Serialization.JsonTransformation] public class Disk : Microsoft.Azure.Management.Compute.Models.Resource
type Disk = class inherit Resource
Public Class Disk Inherits Resource
Initializes a new instance of the Disk class.
Gets or sets disk source information. CreationData information cannot be changed after the disk has been created.
Gets or sets if creationData.createOption is Empty, this field is mandatory and it indicates the size of the VHD to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
Gets resource Id(Inherited from Resource)
Gets or sets resource location(Inherited from Resource)
Gets a relative URI containing the ID of the VM that has the disk attached.
Gets resource name(Inherited from Resource)
Gets or sets the Operating System type. Possible values include: 'Windows', 'Linux'
Gets the disk provisioning state.
Gets or sets resource tags(Inherited from Resource)
Gets the time when the disk was created.
Gets resource type(Inherited from Resource)
Gets or sets the Logical zone list for Disk.
Validate the object.