public interface CosmosDBAccounts extends SupportsCreating<CosmosDBAccount.DefinitionStages.Blank>, HasManager<CosmosManager>, SupportsBatchCreation<CosmosDBAccount>, SupportsGettingById<CosmosDBAccount>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsListing<CosmosDBAccount>, SupportsListingByResourceGroup<CosmosDBAccount>, SupportsGettingByResourceGroup<CosmosDBAccount>
| Modifier and Type | Method and Description |
|---|---|
void |
failoverPriorityChange(String groupName,
String accountName,
List<Location> failoverPolicies)
Changes the failover priority for the Azure CosmosDB database account.
|
Mono<Void> |
failoverPriorityChangeAsync(String groupName,
String accountName,
List<Location> failoverPolicies)
Changes the failover priority for the Azure CosmosDB database account.
|
DatabaseAccountListConnectionStringsResult |
listConnectionStrings(String groupName,
String accountName)
Lists the connection strings for the specified Azure CosmosDB database account.
|
Mono<DatabaseAccountListConnectionStringsResult> |
listConnectionStringsAsync(String groupName,
String accountName)
Lists the connection strings for the specified Azure CosmosDB database account.
|
DatabaseAccountListKeysResult |
listKeys(String groupName,
String accountName)
Lists the access keys for the specified Azure CosmosDB database account.
|
Mono<DatabaseAccountListKeysResult> |
listKeysAsync(String groupName,
String accountName)
Lists the access keys for the specified Azure CosmosDB database account.
|
DatabaseAccountListReadOnlyKeysResult |
listReadOnlyKeys(String groupName,
String accountName)
Lists the read-only access keys for the specified Azure CosmosDB database account.
|
Mono<DatabaseAccountListReadOnlyKeysResult> |
listReadOnlyKeysAsync(String groupName,
String accountName)
Lists the read-only access keys for the specified Azure CosmosDB database account.
|
void |
regenerateKey(String groupName,
String accountName,
KeyKind keyKind)
Regenerates an access key for the specified Azure CosmosDB database account.
|
Mono<Void> |
regenerateKeyAsync(String groupName,
String accountName,
KeyKind keyKind)
Regenerates an access key for the specified Azure CosmosDB database account.
|
definemanagercreate, create, createAsync, createAsyncgetById, getByIdAsyncdeleteById, deleteByIdAsyncdeleteByResourceGroup, deleteByResourceGroupAsynclist, listAsynclistByResourceGroup, listByResourceGroupAsyncgetByResourceGroup, getByResourceGroupAsyncvoid failoverPriorityChange(String groupName, String accountName, List<Location> failoverPolicies)
groupName - the group nameaccountName - the account namefailoverPolicies - the list of failover policiesDatabaseAccountListKeysResult listKeys(String groupName, String accountName)
groupName - the group nameaccountName - the account nameDatabaseAccountListReadOnlyKeysResult listReadOnlyKeys(String groupName, String accountName)
groupName - the group nameaccountName - the account nameDatabaseAccountListConnectionStringsResult listConnectionStrings(String groupName, String accountName)
groupName - the group nameaccountName - the account namevoid regenerateKey(String groupName, String accountName, KeyKind keyKind)
groupName - the group nameaccountName - the account namekeyKind - the key kindMono<Void> failoverPriorityChangeAsync(String groupName, String accountName, List<Location> failoverPolicies)
groupName - the group nameaccountName - the account namefailoverPolicies - the list of failover policiesMono<DatabaseAccountListKeysResult> listKeysAsync(String groupName, String accountName)
groupName - the group nameaccountName - the account nameMono<DatabaseAccountListReadOnlyKeysResult> listReadOnlyKeysAsync(String groupName, String accountName)
groupName - the group nameaccountName - the account nameMono<DatabaseAccountListConnectionStringsResult> listConnectionStringsAsync(String groupName, String accountName)
groupName - the group nameaccountName - the account nameMono<Void> regenerateKeyAsync(String groupName, String accountName, KeyKind keyKind)
groupName - the group nameaccountName - the account namekeyKind - the key kindCopyright © 2020 Microsoft Corporation. All rights reserved.