Table of Contents

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

AzureVirtualMachineAzureDiskEncryptionState

CacheType

Gets or sets the cache type configured for the disk.

public AzureVirtualMachineDiskCacheType CacheType { get; set; }

Property Value

AzureVirtualMachineDiskCacheType

CacheTypeString

Gets the cache type configured for the disk.

public string CacheTypeString { get; set; }

Property Value

string

CollectionIndex

Gets the collection index for the virtual machine disk.

[Browsable(false)]
public string CollectionIndex { get; }

Property Value

string

DiskSize

Gets or sets the size of the disk in bytes.

public long DiskSize { get; set; }

Property Value

long

DiskSizeString

Gets the disk size as a human readable string.

public string DiskSizeString { get; set; }

Property Value

string

DiskType

Gets or sets the type of disk.

public AzureVirtualMachineDiskType DiskType { get; set; }

Property Value

AzureVirtualMachineDiskType

DiskTypeString

Gets the type of disk.

public string DiskTypeString { get; set; }

Property Value

string

EncryptionStateString

Gets the encryption state of the disk.

public string EncryptionStateString { get; set; }

Property Value

string

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

Guid

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

string

Name

Gets or sets the name of the disk.

public string Name { get; set; }

Property Value

string

ServerSideEncryptionType

Gets or sets the server side encryption (SSE) type of the managed disk.

public AzureDiskServerSideEncryptionType ServerSideEncryptionType { get; set; }

Property Value

AzureDiskServerSideEncryptionType

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

string

Methods

CompareTo(AzureVirtualMachineDiskBase)

Compares two CENTREL.XIA.Configuration.Types.AzureVirtualMachineDiskBase objects to allow sorting alphabetically by name.

public int CompareTo(AzureVirtualMachineDiskBase other)

Parameters

other AzureVirtualMachineDiskBase

The 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.