Class SkuInformationInner


  • public final class SkuInformationInner
    extends Object
    Storage SKU and its properties.
    • Constructor Detail

      • SkuInformationInner

        public SkuInformationInner()
    • Method Detail

      • name

        public SkuName name()
        Get the name property: The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
        Returns:
        the name value.
      • withName

        public SkuInformationInner withName​(SkuName name)
        Set the name property: The SKU name. Required for account creation; optional for update. Note that in older versions, SKU name was called accountType.
        Parameters:
        name - the name value to set.
        Returns:
        the SkuInformationInner object itself.
      • tier

        public SkuTier tier()
        Get the tier property: The SKU tier. This is based on the SKU name.
        Returns:
        the tier value.
      • resourceType

        public String resourceType()
        Get the resourceType property: The type of the resource, usually it is 'storageAccounts'.
        Returns:
        the resourceType value.
      • kind

        public Kind kind()
        Get the kind property: Indicates the type of storage account.
        Returns:
        the kind value.
      • locations

        public List<String> locations()
        Get the locations property: The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).
        Returns:
        the locations value.
      • capabilities

        public List<SkuCapability> capabilities()
        Get the capabilities property: The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.
        Returns:
        the capabilities value.
      • restrictions

        public List<Restriction> restrictions()
        Get the restrictions property: The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
        Returns:
        the restrictions value.
      • withRestrictions

        public SkuInformationInner withRestrictions​(List<Restriction> restrictions)
        Set the restrictions property: The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
        Parameters:
        restrictions - the restrictions value to set.
        Returns:
        the SkuInformationInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.