ArmCosmosDBModelFactory.CosmosDBAccountKeyList 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 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
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