DiskSkuTypes Class
- java.
lang. Object - com.
microsoft. azure. management. compute. DiskSkuTypes
- com.
public class DiskSkuTypes
Defines values for DiskSkuTypes.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Disk |
PREMIUM_LRS
Static value Classic for DiskSkuTypes. |
final Disk |
STANDARD_LRS
Static value Aligned for DiskSkuTypes. |
Constructor Summary
Constructor | Description |
---|---|
DiskSkuTypes(StorageAccountTypes value) |
Creates a custom value for DiskSkuTypes. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Storage |
accountType() |
boolean | equals(Object obj) |
Disk |
fromDiskSku(DiskSku diskSku)
Parses a value into a disk SKU type and creates a new DiskSkuType instance if not found among the existing ones. |
Disk |
fromStorageAccountType(StorageAccountTypes value)
Parses a value into a disk SKU type and creates a new DiskSkuType instance if not found among the existing ones. |
int | hashCode() |
Disk |
values() |
Field Details
PREMIUM_LRS
public static final DiskSkuTypes PREMIUM_LRS= new DiskSkuTypes(StorageAccountTypes.PREMIUM_LRS)
Static value Classic for DiskSkuTypes.
STANDARD_LRS
public static final DiskSkuTypes STANDARD_LRS= new DiskSkuTypes(StorageAccountTypes.STANDARD_LRS)
Static value Aligned for DiskSkuTypes.
Constructor Details
DiskSkuTypes
public DiskSkuTypes(StorageAccountTypes value)
Creates a custom value for DiskSkuTypes.
Parameters:
Method Details
accountType
public StorageAccountTypes accountType()
Returns:
equals
public boolean equals(Object obj)
Parameters:
fromDiskSku
public static DiskSkuTypes fromDiskSku(DiskSku diskSku)
Parses a value into a disk SKU type and creates a new DiskSkuType instance if not found among the existing ones.
Parameters:
Returns:
fromStorageAccountType
public static DiskSkuTypes fromStorageAccountType(StorageAccountTypes value)
Parses a value into a disk SKU type and creates a new DiskSkuType instance if not found among the existing ones.
Parameters:
Returns:
hashCode
public int hashCode()
values
public static DiskSkuTypes [] values()
Returns:
Applies to
Azure SDK for Java