azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

138 строки
10 KiB
YAML

### 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:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **LocationProperties**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.LocationProperties?alt=com.azure.resourcemanager.cosmos.models.LocationProperties&text=LocationProperties\" data-throw-if-not-resolved=\"False\" />&gt;"
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 Location<wbr>Properties 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 backup<wbr>Storage<wbr>Redundancies property: The properties of available backup storage redundancies."
syntax: "public List<BackupStorageRedundancy> backupStorageRedundancies()"
desc: "Get the backupStorageRedundancies property: The properties of available backup storage redundancies."
returns:
description: "the backupStorageRedundancies value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.BackupStorageRedundancy?alt=com.azure.resourcemanager.cosmos.models.BackupStorageRedundancy&text=BackupStorageRedundancy\" data-throw-if-not-resolved=\"False\" />&gt;"
- 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 Location<wbr>Properties from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static LocationProperties fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the LocationProperties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
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: "<xref href=\"com.azure.resourcemanager.cosmos.models.LocationProperties?alt=com.azure.resourcemanager.cosmos.models.LocationProperties&text=LocationProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.isResidencyRestricted()"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.isResidencyRestricted()"
name: "isResidencyRestricted()"
nameWithType: "LocationProperties.isResidencyRestricted()"
summary: "Get the is<wbr>Residency<wbr>Restricted 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.isSubscriptionRegionAccessAllowedForAz()"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.isSubscriptionRegionAccessAllowedForAz()"
name: "isSubscriptionRegionAccessAllowedForAz()"
nameWithType: "LocationProperties.isSubscriptionRegionAccessAllowedForAz()"
summary: "Get the is<wbr>Subscription<wbr>Region<wbr>Access<wbr>Allowed<wbr>For<wbr>Az 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.isSubscriptionRegionAccessAllowedForRegular()"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.isSubscriptionRegionAccessAllowedForRegular()"
name: "isSubscriptionRegionAccessAllowedForRegular()"
nameWithType: "LocationProperties.isSubscriptionRegionAccessAllowedForRegular()"
summary: "Get the is<wbr>Subscription<wbr>Region<wbr>Access<wbr>Allowed<wbr>For<wbr>Regular 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- 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: "<xref href=\"com.azure.resourcemanager.cosmos.models.Status?alt=com.azure.resourcemanager.cosmos.models.Status&text=Status\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cosmos.models.LocationProperties.supportsAvailabilityZone()"
fullName: "com.azure.resourcemanager.cosmos.models.LocationProperties.supportsAvailabilityZone()"
name: "supportsAvailabilityZone()"
nameWithType: "LocationProperties.supportsAvailabilityZone()"
summary: "Get the supports<wbr>Availability<wbr>Zone 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- 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: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- 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:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cosmos.models.LocationProperties?alt=com.azure.resourcemanager.cosmos.models.LocationProperties&text=LocationProperties\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.cosmos.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cosmos:2.42.0