Class DiskSku
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.DiskSku
-
public final class DiskSku extends Object
The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.
-
-
Constructor Summary
Constructors Constructor Description DiskSku()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiskStorageAccountTypesname()Get the name property: The sku name.Stringtier()Get the tier property: The sku tier.voidvalidate()Validates the instance.DiskSkuwithName(DiskStorageAccountTypes name)Set the name property: The sku name.
-
-
-
Method Detail
-
name
public DiskStorageAccountTypes name()
Get the name property: The sku name.- Returns:
- the name value.
-
withName
public DiskSku withName(DiskStorageAccountTypes name)
Set the name property: The sku name.- Parameters:
name- the name value to set.- Returns:
- the DiskSku object itself.
-
tier
public String tier()
Get the tier property: The sku tier.- Returns:
- the tier value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-