次の方法で共有


Location コンストラクター

定義

オーバーロード

Location()

Location クラスの新しいインスタンスを初期化します。

Location(String, String, String, String, Nullable<Int32>, Nullable<Boolean>)

Location クラスの新しいインスタンスを初期化します。

Location()

Location クラスの新しいインスタンスを初期化します。

public Location ();
Public Sub New ()

適用対象

Location(String, String, String, String, Nullable<Int32>, Nullable<Boolean>)

Location クラスの新しいインスタンスを初期化します。

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.Models.Location : string * string * string * string * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.CosmosDB.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)

パラメーター

id
String

データベース アカウント内のリージョンの一意識別子。 例: &lt;accountName&gt;-&lt;locationName&gt;

locationName
String

領域の名前。

documentEndpoint
String

特定のリージョンの接続エンドポイント。 例: https://& lt;accountName&gt;-&lt;locationName&gt;documents.azure.com:443/

provisioningState
String
failoverPriority
Nullable<Int32>

リージョンのフェールオーバー優先度。 フェールオーバーの優先度が 0 の場合は、書き込みリージョンを示します。 フェールオーバー優先度の最大値 = (リージョンの合計数 - 1)。 フェールオーバーの優先度の値は、データベース アカウントが存在するリージョンごとに一意である必要があります。

isZoneRedundant
Nullable<Boolean>

このリージョンが AvailabilityZone リージョンかどうかを示すフラグ

適用対象