DiskSkuTypes Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DiskSkuTypes
- com.
public final class DiskSkuTypes
Defines values for DiskSkuTypes.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Disk |
PREMIUM_LRS
Static value PREMIUM_LRS for Disk |
static final
Disk |
PREMIUM_V2_LRS
Static value PREMIUM_V2_LRS for Disk |
static final
Disk |
STANDARD_LRS
Static value STANDARD_LRS for Disk |
static final
Disk |
STANDARD_SSD_LRS
Static value STANDARD_SSD_LRS for Disk |
static final
Disk |
ULTRA_SSD_LRS
Static value ULTRA_SSD_LRS for Disk |
Constructor Summary
Constructor | Description |
---|---|
DiskSkuTypes(DiskStorageAccountTypes value) |
Creates a custom value for Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
Disk |
accountType() |
boolean | equals(Object obj) |
static
Disk |
fromDiskSku(DiskSku diskSku)
Parses a value into a disk SKU type and creates a new Disk |
static
Disk |
fromStorageAccountType(DiskStorageAccountTypes value)
Parses a value into a disk SKU type and creates a new Disk |
int | hashCode() |
String | toString() |
static
Disk |
values() |
Methods inherited from java.lang.Object
Field Details
PREMIUM_LRS
public static final DiskSkuTypes PREMIUM_LRS
Static value PREMIUM_LRS for DiskSkuTypes.
PREMIUM_V2_LRS
public static final DiskSkuTypes PREMIUM_V2_LRS
Static value PREMIUM_V2_LRS for DiskSkuTypes.
STANDARD_LRS
public static final DiskSkuTypes STANDARD_LRS
Static value STANDARD_LRS for DiskSkuTypes.
STANDARD_SSD_LRS
public static final DiskSkuTypes STANDARD_SSD_LRS
Static value STANDARD_SSD_LRS for DiskSkuTypes.
ULTRA_SSD_LRS
public static final DiskSkuTypes ULTRA_SSD_LRS
Static value ULTRA_SSD_LRS for DiskSkuTypes.
Constructor Details
DiskSkuTypes
public DiskSkuTypes(DiskStorageAccountTypes value)
Creates a custom value for DiskSkuTypes.
Parameters:
Method Details
accountType
public DiskStorageAccountTypes accountType()
Returns:
equals
public boolean equals(Object obj)
Overrides:
DiskSkuTypes.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(DiskStorageAccountTypes 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()
Overrides:
DiskSkuTypes.hashCode()toString
public String toString()
Overrides:
DiskSkuTypes.toString()values
public static DiskSkuTypes[] values()
Returns: