Location Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A region in which the Azure Cosmos DB database account is deployed.
public class Location
type Location = class
Public Class Location
- Inheritance
-
Location
Constructors
Location() |
Initializes a new instance of the Location class. |
Location(String, String, String, String, Nullable<Int32>, Nullable<Boolean>) |
Initializes a new instance of the Location class. |
Properties
DocumentEndpoint |
Gets the connection endpoint for the specific region. Example: https://&lt;accountName&gt;-&lt;locationName&gt;.documents.azure.com:443/ |
FailoverPriority |
Gets or sets the failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. |
Id |
Gets the unique identifier of the region within the database account. Example: &lt;accountName&gt;-&lt;locationName&gt;. |
IsZoneRedundant |
Gets or sets flag to indicate whether or not this region is an AvailabilityZone region |
LocationName |
Gets or sets the name of the region. |
ProvisioningState |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET