Share via


ArmCosmosDBModelFactory.CosmosDBAccountKeyList Method

Definition

Initializes a new instance of CosmosDBAccountKeyList.

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

Parameters

primaryReadonlyMasterKey
String

Base 64 encoded value of the primary read-only key.

secondaryReadonlyMasterKey
String

Base 64 encoded value of the secondary read-only key.

primaryMasterKey
String

Base 64 encoded value of the primary read-write key.

secondaryMasterKey
String

Base 64 encoded value of the secondary read-write key.

Returns

A new CosmosDBAccountKeyList instance for mocking.

Applies to