Location Constructors
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.
Overloads
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. |
Location()
Initializes a new instance of the Location class.
public Location ();
Public Sub New ()
Applies to
Location(String, String, String, String, Nullable<Int32>, Nullable<Boolean>)
Initializes a new instance of the Location class.
public Location (string id = default, string locationName = default, string documentEndpoint = default, string provisioningState = default, int? failoverPriority = default, bool? isZoneRedundant = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.Location : string * string * string * string * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.Location
Public Sub New (Optional id As String = Nothing, Optional locationName As String = Nothing, Optional documentEndpoint As String = Nothing, Optional provisioningState As String = Nothing, Optional failoverPriority As Nullable(Of Integer) = Nothing, Optional isZoneRedundant As Nullable(Of Boolean) = Nothing)
Parameters
- id
- String
The unique identifier of the region within the database account. Example: <accountName>-<locationName>.
- locationName
- String
The name of the region.
- documentEndpoint
- String
The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/
- provisioningState
- String
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.
Flag to indicate whether or not this region is an AvailabilityZone region
Applies to
Azure SDK for .NET