Class 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 Detail

      • DiskSku

        public DiskSku()
    • Method Detail

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