DevTestLabDiskData Class
Definition
Important
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.
A class representing the DevTestLabDisk data model. A Disk.
public class DevTestLabDiskData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevTestLabs.DevTestLabDiskData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevTestLabs.DevTestLabDiskData>
public class DevTestLabDiskData : Azure.ResourceManager.Models.TrackedResourceData
type DevTestLabDiskData = class
inherit TrackedResourceData
interface IJsonModel<DevTestLabDiskData>
interface IPersistableModel<DevTestLabDiskData>
type DevTestLabDiskData = class
inherit TrackedResourceData
Public Class DevTestLabDiskData
Inherits TrackedResourceData
Implements IJsonModel(Of DevTestLabDiskData), IPersistableModel(Of DevTestLabDiskData)
Public Class DevTestLabDiskData
Inherits TrackedResourceData
- Inheritance
- Implements
Constructors
DevTestLabDiskData(AzureLocation) |
Initializes a new instance of DevTestLabDiskData. |
Properties
CreatedOn |
The creation date of the disk. |
DiskBlobName |
When backed by a blob, the name of the VHD blob without extension. |
DiskSizeGiB |
The size of the disk in Gibibytes. |
DiskType |
The storage type for the disk (i.e. Standard, Premium). |
DiskUri |
When backed by a blob, the URI of underlying blob. |
HostCaching |
The host caching policy of the disk (i.e. None, ReadOnly, ReadWrite). |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
LeasedByLabVmId |
The resource ID of the VM to which this disk is leased. |
Location |
The geo-location where the resource lives. (Inherited from TrackedResourceData) |
ManagedDiskId |
When backed by managed disk, this is the ID of the compute disk resource. |
Name |
The name of the resource. (Inherited from ResourceData) |
ProvisioningState |
The provisioning status of the resource. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
StorageAccountId |
When backed by a blob, the storage account where the blob is. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Tags |
Resource tags. (Inherited from TrackedResourceData) |
UniqueIdentifier |
The unique immutable identifier of a resource (Guid). |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from TrackedResourceData) |
Explicit Interface Implementations
IJsonModel<DevTestLabDiskData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DevTestLabDiskData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DevTestLabDiskData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DevTestLabDiskData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DevTestLabDiskData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |