ResourceSkuRestrictionInfo Class
- java.
lang. Object - com.
azure. resourcemanager. cognitiveservices. models. ResourceSkuRestrictionInfo
- com.
public final class ResourceSkuRestrictionInfo
The ResourceSkuRestrictionInfo model.
Constructor Summary
Constructor | Description |
---|---|
ResourceSkuRestrictionInfo() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
locations()
Get the locations property: Locations where the SKU is restricted. |
void |
validate()
Validates the instance. |
Resource |
withLocations(List<String> locations)
Set the locations property: Locations where the SKU is restricted. |
Resource |
withZones(List<String> zones)
Set the zones property: List of availability zones where the SKU is restricted. |
List<String> |
zones()
Get the zones property: List of availability zones where the SKU is restricted. |
Methods inherited from java.lang.Object
Constructor Details
ResourceSkuRestrictionInfo
public ResourceSkuRestrictionInfo()
Creates an instance of ResourceSkuRestrictionInfo class.
Method Details
locations
public List
Get the locations property: Locations where the SKU is restricted.
Returns:
validate
public void validate()
Validates the instance.
withLocations
public ResourceSkuRestrictionInfo withLocations(List
Set the locations property: Locations where the SKU is restricted.
Parameters:
Returns:
withZones
public ResourceSkuRestrictionInfo withZones(List
Set the zones property: List of availability zones where the SKU is restricted.
Parameters:
Returns:
zones
public List
Get the zones property: List of availability zones where the SKU is restricted.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for