DiskInner Class

Definition

Disk resource.

[Microsoft.Rest.Serialization.JsonTransformation]
public class DiskInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
type DiskInner = class
    inherit Resource
Public Class DiskInner
Inherits Resource
Inheritance
System.Object
DiskInner
Attributes

Constructors

DiskInner()

Initializes a new instance of the DiskInner class.

Properties

CreationData

Gets or sets disk source information. CreationData information cannot be changed after the disk has been created.

DiskSizeGB

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.

Location

Resource location

(Inherited from Resource)
ManagedBy
OsType

Gets or sets the Operating System type. Possible values include: 'Windows', 'Linux'

ProvisioningState

Gets the disk provisioning state.

Sku
Tags

Resource tags

(Inherited from Resource)
TimeCreated

Gets the time when the disk was created.

Zones

Methods

Validate()

Validate the object.

Applies to