Class ApiManagementSkuRestrictions
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.ApiManagementSkuRestrictions
-
public final class ApiManagementSkuRestrictions extends Object
Describes scaling information of a SKU.
-
-
Constructor Summary
Constructors Constructor Description ApiManagementSkuRestrictions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiManagementSkuRestrictionsReasonCode
reasonCode()
Get the reasonCode property: The reason for restriction.ApiManagementSkuRestrictionInfo
restrictionInfo()
Get the restrictionInfo property: The information about the restriction where the SKU cannot be used.ApiManagementSkuRestrictionsType
type()
Get the type property: The type of restrictions.void
validate()
Validates the instance.List<String>
values()
Get the values property: The value of restrictions.
-
-
-
Method Detail
-
type
public ApiManagementSkuRestrictionsType type()
Get the type property: The type of restrictions.- Returns:
- the type value.
-
values
public List<String> values()
Get the values property: The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.- Returns:
- the values value.
-
restrictionInfo
public ApiManagementSkuRestrictionInfo restrictionInfo()
Get the restrictionInfo property: The information about the restriction where the SKU cannot be used.- Returns:
- the restrictionInfo value.
-
reasonCode
public ApiManagementSkuRestrictionsReasonCode reasonCode()
Get the reasonCode property: The reason for restriction.- Returns:
- the reasonCode value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-