Class ResourceSkuRestrictions
java.lang.Object
com.azure.resourcemanager.datamigration.models.ResourceSkuRestrictions
Describes scaling information of a SKU.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ResourceSkuRestrictions class. -
Method Summary
-
Constructor Details
-
ResourceSkuRestrictions
public ResourceSkuRestrictions()Creates an instance of ResourceSkuRestrictions class.
-
-
Method Details
-
type
Get the type property: The type of restrictions.- Returns:
- the type value.
-
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.
-
reasonCode
Get the reasonCode property: The reason code for restriction.- Returns:
- the reasonCode value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-