Freigeben über


ArmCosmosDBModelFactory.CosmosDBAccountReadOnlyKeyList(String, String) Methode

Definition

Initialisiert eine neue instance von CosmosDBAccountReadOnlyKeyList.

public static Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountReadOnlyKeyList CosmosDBAccountReadOnlyKeyList (string primaryReadonlyMasterKey = default, string secondaryReadonlyMasterKey = default);
static member CosmosDBAccountReadOnlyKeyList : string * string -> Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountReadOnlyKeyList
Public Shared Function CosmosDBAccountReadOnlyKeyList (Optional primaryReadonlyMasterKey As String = Nothing, Optional secondaryReadonlyMasterKey As String = Nothing) As CosmosDBAccountReadOnlyKeyList

Parameter

primaryReadonlyMasterKey
String

Base64-codierter Wert des primären schreibgeschützten Schlüssels.

secondaryReadonlyMasterKey
String

Base64-codierter Wert des sekundären schreibgeschützten Schlüssels.

Gibt zurück

Eine neue CosmosDBAccountReadOnlyKeyList instance zum Simulieren.

Gilt für: