Class ApiManagementServiceSkuProperties


  • public final class ApiManagementServiceSkuProperties
    extends Object
    API Management service resource SKU properties.
    • Constructor Detail

      • ApiManagementServiceSkuProperties

        public ApiManagementServiceSkuProperties()
    • Method Detail

      • name

        public SkuType name()
        Get the name property: Name of the Sku.
        Returns:
        the name value.
      • withName

        public ApiManagementServiceSkuProperties withName​(SkuType name)
        Set the name property: Name of the Sku.
        Parameters:
        name - the name value to set.
        Returns:
        the ApiManagementServiceSkuProperties object itself.
      • capacity

        public int capacity()
        Get the capacity property: Capacity of the SKU (number of deployed units of the SKU). For Consumption SKU capacity must be specified as 0.
        Returns:
        the capacity value.
      • withCapacity

        public ApiManagementServiceSkuProperties withCapacity​(int capacity)
        Set the capacity property: Capacity of the SKU (number of deployed units of the SKU). For Consumption SKU capacity must be specified as 0.
        Parameters:
        capacity - the capacity value to set.
        Returns:
        the ApiManagementServiceSkuProperties object itself.
      • validate

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