ResourceSkuRestrictionInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.cognitiveservices.models.ResourceSkuRestrictionInfo

public final class ResourceSkuRestrictionInfo

The ResourceSkuRestrictionInfo model.

Constructor Summary

Constructor Description
ResourceSkuRestrictionInfo()

Creates an instance of ResourceSkuRestrictionInfo class.

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.

ResourceSkuRestrictionInfo withLocations(List<String> locations)

Set the locations property: Locations where the SKU is restricted.

ResourceSkuRestrictionInfo 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 locations()

Get the locations property: Locations where the SKU is restricted.

Returns:

the locations value.

validate

public void validate()

Validates the instance.

withLocations

public ResourceSkuRestrictionInfo withLocations(List locations)

Set the locations property: Locations where the SKU is restricted.

Parameters:

locations - the locations value to set.

Returns:

the ResourceSkuRestrictionInfo object itself.

withZones

public ResourceSkuRestrictionInfo withZones(List zones)

Set the zones property: List of availability zones where the SKU is restricted.

Parameters:

zones - the zones value to set.

Returns:

the ResourceSkuRestrictionInfo object itself.

zones

public List zones()

Get the zones property: List of availability zones where the SKU is restricted.

Returns:

the zones value.

Applies to