Share via


ArmCosmosDBModelFactory.CosmosDBAccountReadOnlyKeyList(String, String) Method

Definition

Initializes a new instance of 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

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.

Returns

A new CosmosDBAccountReadOnlyKeyList instance for mocking.

Applies to