Class AzureVirtualMachineDiskBase
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an Azure virtual machine disk.
public abstract class AzureVirtualMachineDiskBase : BaseTypeSection, IComparable<AzureVirtualMachineDiskBase>
- Inheritance
-
AzureVirtualMachineDiskBase
- Implements
- Derived
Constructors
AzureVirtualMachineDiskBase()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.AzureVirtualMachineDiskBase class.
public AzureVirtualMachineDiskBase()
Properties
AzureDiskEncryptionState
Gets or sets the Azure disk encryption (ADE) state of the disk.
public AzureVirtualMachineAzureDiskEncryptionState AzureDiskEncryptionState { get; set; }
Property Value
CacheType
Gets or sets the cache type configured for the disk.
public AzureVirtualMachineDiskCacheType CacheType { get; set; }
Property Value
CacheTypeString
Gets the cache type configured for the disk.
public string CacheTypeString { get; set; }
Property Value
CollectionIndex
Gets the collection index for the virtual machine disk.
[Browsable(false)]
public string CollectionIndex { get; }
Property Value
DiskSize
Gets or sets the size of the disk in bytes.
public long DiskSize { get; set; }
Property Value
DiskSizeString
Gets the disk size as a human readable string.
public string DiskSizeString { get; set; }
Property Value
DiskType
Gets or sets the type of disk.
public AzureVirtualMachineDiskType DiskType { get; set; }
Property Value
DiskTypeString
Gets the type of disk.
public string DiskTypeString { get; set; }
Property Value
EncryptionStateString
Gets the encryption state of the disk.
public string EncryptionStateString { get; set; }
Property Value
Identifier
Gets or sets the unique system assigned identifier of the disk. This is for internal use only.
public Guid Identifier { get; set; }
Property Value
ManagedDiskIdentifier
Gets or sets the resource identifier of the managed disk resource. This does not apply to unmanaged disks.
public string ManagedDiskIdentifier { get; set; }
Property Value
Name
Gets or sets the name of the disk.
public string Name { get; set; }
Property Value
ServerSideEncryptionType
Gets or sets the server side encryption (SSE) type of the managed disk.
public AzureDiskServerSideEncryptionType ServerSideEncryptionType { get; set; }
Property Value
VhdUri
Gets or sets the URI of the virtual hard disk - for example "https://demo-vm01.blob.core.windows.net/vhds/data.vhd". This only applies to unmanaged disks.
public string VhdUri { get; set; }
Property Value
Methods
CompareTo(AzureVirtualMachineDiskBase)
Compares two CENTREL.XIA.Configuration.Types.AzureVirtualMachineDiskBase objects to allow sorting alphabetically by name.
public int CompareTo(AzureVirtualMachineDiskBase other)
Parameters
other
AzureVirtualMachineDiskBaseThe CENTREL.XIA.Configuration.Types.AzureVirtualMachineDiskBase to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.AzureVirtualMachineDiskBase objects.
ToString()
Returns the disk as a human readable string.
public override string ToString()
Returns
- string
The disk as a human readable string.