ArmCosmosDBModelFactory.CosmosDBAccountReadOnlyKeyList(String, String) Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET