### YamlMime:JavaType
uid: "com.azure.resourcemanager.cosmos.models.LocationProperties"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties"
name: "LocationProperties"
nameWithType: "LocationProperties"
summary: "Cosmos DB location metadata."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **LocationProperties** implements <>"
constructors:
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.LocationProperties()"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.LocationProperties()"
name: "LocationProperties()"
nameWithType: "LocationProperties.LocationProperties()"
summary: "Creates an instance of LocationProperties class."
syntax: "public LocationProperties()"
desc: "Creates an instance of LocationProperties class."
methods:
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.backupStorageRedundancies()"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.backupStorageRedundancies()"
name: "backupStorageRedundancies()"
nameWithType: "LocationProperties.backupStorageRedundancies()"
summary: "Get the backupStorageRedundancies property: The properties of available backup storage redundancies."
syntax: "public List backupStorageRedundancies()"
desc: "Get the backupStorageRedundancies property: The properties of available backup storage redundancies."
returns:
description: "the backupStorageRedundancies value."
type: "List<>"
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "LocationProperties.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of LocationProperties from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static LocationProperties fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the LocationProperties."
type: "IOException"
desc: "Reads an instance of LocationProperties from the JsonReader."
returns:
description: "An instance of LocationProperties if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: ""
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.isResidencyRestricted()"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.isResidencyRestricted()"
name: "isResidencyRestricted()"
nameWithType: "LocationProperties.isResidencyRestricted()"
summary: "Get the isResidencyRestricted property: Flag indicating whether the location is residency sensitive."
syntax: "public Boolean isResidencyRestricted()"
desc: "Get the isResidencyRestricted property: Flag indicating whether the location is residency sensitive."
returns:
description: "the isResidencyRestricted value."
type: "Boolean"
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.isSubscriptionRegionAccessAllowedForAz()"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.isSubscriptionRegionAccessAllowedForAz()"
name: "isSubscriptionRegionAccessAllowedForAz()"
nameWithType: "LocationProperties.isSubscriptionRegionAccessAllowedForAz()"
summary: "Get the isSubscriptionRegionAccessAllowedForAz property: Flag indicating whether the subscription have access in region for Availability Zones(Az)."
syntax: "public Boolean isSubscriptionRegionAccessAllowedForAz()"
desc: "Get the isSubscriptionRegionAccessAllowedForAz property: Flag indicating whether the subscription have access in region for Availability Zones(Az)."
returns:
description: "the isSubscriptionRegionAccessAllowedForAz value."
type: "Boolean"
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.isSubscriptionRegionAccessAllowedForRegular()"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.isSubscriptionRegionAccessAllowedForRegular()"
name: "isSubscriptionRegionAccessAllowedForRegular()"
nameWithType: "LocationProperties.isSubscriptionRegionAccessAllowedForRegular()"
summary: "Get the isSubscriptionRegionAccessAllowedForRegular property: Flag indicating whether the subscription have access in region for Non-Availability Zones."
syntax: "public Boolean isSubscriptionRegionAccessAllowedForRegular()"
desc: "Get the isSubscriptionRegionAccessAllowedForRegular property: Flag indicating whether the subscription have access in region for Non-Availability Zones."
returns:
description: "the isSubscriptionRegionAccessAllowedForRegular value."
type: "Boolean"
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.status()"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.status()"
name: "status()"
nameWithType: "LocationProperties.status()"
summary: "Get the status property: Enum to indicate current buildout status of the region."
syntax: "public Status status()"
desc: "Get the status property: Enum to indicate current buildout status of the region."
returns:
description: "the status value."
type: ""
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.supportsAvailabilityZone()"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.supportsAvailabilityZone()"
name: "supportsAvailabilityZone()"
nameWithType: "LocationProperties.supportsAvailabilityZone()"
summary: "Get the supportsAvailabilityZone property: Flag indicating whether the location supports availability zones or not."
syntax: "public Boolean supportsAvailabilityZone()"
desc: "Get the supportsAvailabilityZone property: Flag indicating whether the location supports availability zones or not."
returns:
description: "the supportsAvailabilityZone value."
type: "Boolean"
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "LocationProperties.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.validate()"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.validate()"
name: "validate()"
nameWithType: "LocationProperties.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
type: "class"
desc: "Cosmos DB location metadata."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.cosmos.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.44.1