LocationProperties Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. LocationProperties
- com.
Implements
public final class LocationProperties
implements JsonSerializable<LocationProperties>
Cosmos DB location metadata.
Constructor Summary
Constructor | Description |
---|---|
LocationProperties() |
Creates an instance of Location |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Backup |
backupStorageRedundancies()
Get the backup |
static
Location |
fromJson(JsonReader jsonReader)
Reads an instance of Location |
Boolean |
isResidencyRestricted()
Get the is |
Boolean |
isSubscriptionRegionAccessAllowedForAz()
Get the is |
Boolean |
isSubscriptionRegionAccessAllowedForRegular()
Get the is |
Status |
status()
Get the status property: Enum to indicate current buildout status of the region. |
Boolean |
supportsAvailabilityZone()
Get the supports |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
LocationProperties
public LocationProperties()
Creates an instance of LocationProperties class.
Method Details
backupStorageRedundancies
public List
Get the backupStorageRedundancies property: The properties of available backup storage redundancies.
Returns:
fromJson
public static LocationProperties fromJson(JsonReader jsonReader)
Reads an instance of LocationProperties from the JsonReader.
Parameters:
Returns:
Throws:
isResidencyRestricted
public Boolean isResidencyRestricted()
Get the isResidencyRestricted property: Flag indicating whether the location is residency sensitive.
Returns:
isSubscriptionRegionAccessAllowedForAz
public Boolean isSubscriptionRegionAccessAllowedForAz()
Get the isSubscriptionRegionAccessAllowedForAz property: Flag indicating whether the subscription have access in region for Availability Zones(Az).
Returns:
isSubscriptionRegionAccessAllowedForRegular
public Boolean isSubscriptionRegionAccessAllowedForRegular()
Get the isSubscriptionRegionAccessAllowedForRegular property: Flag indicating whether the subscription have access in region for Non-Availability Zones.
Returns:
status
public Status status()
Get the status property: Enum to indicate current buildout status of the region.
Returns:
supportsAvailabilityZone
public Boolean supportsAvailabilityZone()
Get the supportsAvailabilityZone property: Flag indicating whether the location supports availability zones or not.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java