Class ResourceSkuInner


  • public final class ResourceSkuInner
    extends Object
    A resource SKU.
    • Constructor Detail

      • ResourceSkuInner

        public ResourceSkuInner()
    • Method Detail

      • resourceType

        public String resourceType()
        Get the resourceType property: The type of resource the SKU applies to.
        Returns:
        the resourceType value.
      • capabilities

        public List<ResourceSkuCapabilities> capabilities()
        Get the capabilities property: A list of capabilities of this SKU, such as throughput or ops/sec.
        Returns:
        the capabilities value.
      • withCapabilities

        public ResourceSkuInner withCapabilities​(List<ResourceSkuCapabilities> capabilities)
        Set the capabilities property: A list of capabilities of this SKU, such as throughput or ops/sec.
        Parameters:
        capabilities - the capabilities value to set.
        Returns:
        the ResourceSkuInner object itself.
      • locations

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

        public List<ResourceSkuLocationInfo> locationInfo()
        Get the locationInfo property: The set of locations where the SKU is available.
        Returns:
        the locationInfo value.
      • withLocationInfo

        public ResourceSkuInner withLocationInfo​(List<ResourceSkuLocationInfo> locationInfo)
        Set the locationInfo property: The set of locations where the SKU is available.
        Parameters:
        locationInfo - the locationInfo value to set.
        Returns:
        the ResourceSkuInner object itself.
      • name

        public String name()
        Get the name property: The name of this SKU.
        Returns:
        the name value.
      • withName

        public ResourceSkuInner withName​(String name)
        Set the name property: The name of this SKU.
        Parameters:
        name - the name value to set.
        Returns:
        the ResourceSkuInner object itself.
      • restrictions

        public List<Restriction> restrictions()
        Get the restrictions property: The restrictions preventing this SKU from being used. This is empty if there are no restrictions.
        Returns:
        the restrictions value.
      • withRestrictions

        public ResourceSkuInner withRestrictions​(List<Restriction> restrictions)
        Set the restrictions property: The restrictions preventing this SKU from being used. This is empty if there are no restrictions.
        Parameters:
        restrictions - the restrictions value to set.
        Returns:
        the ResourceSkuInner object itself.
      • validate

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