@Beta(value=V1_2_0) public interface CosmosDBAccounts extends SupportsCreating<CosmosDBAccount.DefinitionStages.Blank>, HasManager<com.microsoft.azure.management.cosmosdb.implementation.CosmosDBManager>, HasInner<com.microsoft.azure.management.cosmosdb.implementation.DatabaseAccountsInner>, 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.
|
rx.Observable<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.
|
rx.Observable<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.
|
rx.Observable<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.
|
rx.Observable<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.
|
rx.Observable<Void> |
regenerateKeyAsync(String groupName,
String accountName,
KeyKind keyKind)
Regenerates an access key for the specified Azure CosmosDB database account.
|
define
manager
inner
create, create, createAsync, createAsync, createAsync, createAsync
getById, getByIdAsync, getByIdAsync
deleteById, deleteByIdAsync, deleteByIdAsync
deleteByResourceGroup, deleteByResourceGroupAsync, deleteByResourceGroupAsync
list, listAsync
listByResourceGroup, listByResourceGroupAsync
getByResourceGroup, getByResourceGroupAsync, getByResourceGroupAsync
void 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 kindrx.Observable<Void> failoverPriorityChangeAsync(String groupName, String accountName, List<Location> failoverPolicies)
groupName
- the group nameaccountName
- the account namefailoverPolicies
- the list of failover policiesrx.Observable<DatabaseAccountListKeysResult> listKeysAsync(String groupName, String accountName)
groupName
- the group nameaccountName
- the account namerx.Observable<DatabaseAccountListReadOnlyKeysResult> listReadOnlyKeysAsync(String groupName, String accountName)
groupName
- the group nameaccountName
- the account namerx.Observable<DatabaseAccountListConnectionStringsResult> listConnectionStringsAsync(String groupName, String accountName)
groupName
- the group nameaccountName
- the account namerx.Observable<Void> regenerateKeyAsync(String groupName, String accountName, KeyKind keyKind)
groupName
- the group nameaccountName
- the account namekeyKind
- the key kindCopyright © 2019. All rights reserved.