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, StandardSSD_ZRS, or PremiumV2_LRS.
  • Constructor Details

    • DiskSku

      public DiskSku()
      Creates an instance of DiskSku class.
  • Method Details

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