public interface DatabaseAccountsClient extends InnerSupportsGet<DatabaseAccountGetResultsInner>, InnerSupportsListing<DatabaseAccountGetResultsInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> |
beginCreateOrUpdate(String resourceGroupName,
String accountName,
DatabaseAccountCreateUpdateParameters createUpdateParameters)
Creates or updates an Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> |
beginCreateOrUpdate(String resourceGroupName,
String accountName,
DatabaseAccountCreateUpdateParameters createUpdateParameters,
com.azure.core.util.Context context)
Creates or updates an Azure Cosmos DB database account.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String accountName,
DatabaseAccountCreateUpdateParameters createUpdateParameters)
Creates or updates an Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String accountName)
Deletes an existing Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Deletes an existing Azure Cosmos DB database account.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String accountName)
Deletes an existing Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginFailoverPriorityChange(String resourceGroupName,
String accountName,
FailoverPolicies failoverParameters)
Changes the failover priority for the Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginFailoverPriorityChange(String resourceGroupName,
String accountName,
FailoverPolicies failoverParameters,
com.azure.core.util.Context context)
Changes the failover priority for the Azure Cosmos DB database account.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginFailoverPriorityChangeAsync(String resourceGroupName,
String accountName,
FailoverPolicies failoverParameters)
Changes the failover priority for the Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginOfflineRegion(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOffline)
Offline the specified region for the specified Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginOfflineRegion(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOffline,
com.azure.core.util.Context context)
Offline the specified region for the specified Azure Cosmos DB database account.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginOfflineRegionAsync(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOffline)
Offline the specified region for the specified Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginOnlineRegion(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOnline)
Online the specified region for the specified Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginOnlineRegion(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOnline,
com.azure.core.util.Context context)
Online the specified region for the specified Azure Cosmos DB database account.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginOnlineRegionAsync(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOnline)
Online the specified region for the specified Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRegenerateKey(String resourceGroupName,
String accountName,
DatabaseAccountRegenerateKeyParameters keyToRegenerate)
Regenerates an access key for the specified Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRegenerateKey(String resourceGroupName,
String accountName,
DatabaseAccountRegenerateKeyParameters keyToRegenerate,
com.azure.core.util.Context context)
Regenerates an access key for the specified Azure Cosmos DB database account.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginRegenerateKeyAsync(String resourceGroupName,
String accountName,
DatabaseAccountRegenerateKeyParameters keyToRegenerate)
Regenerates an access key for the specified Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> |
beginUpdate(String resourceGroupName,
String accountName,
DatabaseAccountUpdateParameters updateParameters)
Updates the properties of an existing Azure Cosmos DB database account.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> |
beginUpdate(String resourceGroupName,
String accountName,
DatabaseAccountUpdateParameters updateParameters,
com.azure.core.util.Context context)
Updates the properties of an existing Azure Cosmos DB database account.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> |
beginUpdateAsync(String resourceGroupName,
String accountName,
DatabaseAccountUpdateParameters updateParameters)
Updates the properties of an existing Azure Cosmos DB database account.
|
boolean |
checkNameExists(String accountName)
Checks that the Azure Cosmos DB account name already exists.
|
Mono<Boolean> |
checkNameExistsAsync(String accountName)
Checks that the Azure Cosmos DB account name already exists.
|
com.azure.core.http.rest.Response<Boolean> |
checkNameExistsWithResponse(String accountName,
com.azure.core.util.Context context)
Checks that the Azure Cosmos DB account name already exists.
|
Mono<com.azure.core.http.rest.Response<Boolean>> |
checkNameExistsWithResponseAsync(String accountName)
Checks that the Azure Cosmos DB account name already exists.
|
DatabaseAccountGetResultsInner |
createOrUpdate(String resourceGroupName,
String accountName,
DatabaseAccountCreateUpdateParameters createUpdateParameters)
Creates or updates an Azure Cosmos DB database account.
|
DatabaseAccountGetResultsInner |
createOrUpdate(String resourceGroupName,
String accountName,
DatabaseAccountCreateUpdateParameters createUpdateParameters,
com.azure.core.util.Context context)
Creates or updates an Azure Cosmos DB database account.
|
Mono<DatabaseAccountGetResultsInner> |
createOrUpdateAsync(String resourceGroupName,
String accountName,
DatabaseAccountCreateUpdateParameters createUpdateParameters)
Creates or updates an Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String accountName,
DatabaseAccountCreateUpdateParameters createUpdateParameters)
Creates or updates an Azure Cosmos DB database account.
|
void |
delete(String resourceGroupName,
String accountName)
Deletes an existing Azure Cosmos DB database account.
|
void |
delete(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Deletes an existing Azure Cosmos DB database account.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String accountName)
Deletes an existing Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String accountName)
Deletes an existing Azure Cosmos DB database account.
|
void |
failoverPriorityChange(String resourceGroupName,
String accountName,
FailoverPolicies failoverParameters)
Changes the failover priority for the Azure Cosmos DB database account.
|
void |
failoverPriorityChange(String resourceGroupName,
String accountName,
FailoverPolicies failoverParameters,
com.azure.core.util.Context context)
Changes the failover priority for the Azure Cosmos DB database account.
|
Mono<Void> |
failoverPriorityChangeAsync(String resourceGroupName,
String accountName,
FailoverPolicies failoverParameters)
Changes the failover priority for the Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
failoverPriorityChangeWithResponseAsync(String resourceGroupName,
String accountName,
FailoverPolicies failoverParameters)
Changes the failover priority for the Azure Cosmos DB database account.
|
DatabaseAccountGetResultsInner |
getByResourceGroup(String resourceGroupName,
String accountName)
Retrieves the properties of an existing Azure Cosmos DB database account.
|
Mono<DatabaseAccountGetResultsInner> |
getByResourceGroupAsync(String resourceGroupName,
String accountName)
Retrieves the properties of an existing Azure Cosmos DB database account.
|
com.azure.core.http.rest.Response<DatabaseAccountGetResultsInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Retrieves the properties of an existing Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<DatabaseAccountGetResultsInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String accountName)
Retrieves the properties of an existing Azure Cosmos DB database account.
|
DatabaseAccountListReadOnlyKeysResultInner |
getReadOnlyKeys(String resourceGroupName,
String accountName)
Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
Mono<DatabaseAccountListReadOnlyKeysResultInner> |
getReadOnlyKeysAsync(String resourceGroupName,
String accountName)
Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
com.azure.core.http.rest.Response<DatabaseAccountListReadOnlyKeysResultInner> |
getReadOnlyKeysWithResponse(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<DatabaseAccountListReadOnlyKeysResultInner>> |
getReadOnlyKeysWithResponseAsync(String resourceGroupName,
String accountName)
Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
com.azure.core.http.rest.PagedIterable<DatabaseAccountGetResultsInner> |
list()
Lists all the Azure Cosmos DB database accounts available under the subscription.
|
com.azure.core.http.rest.PagedIterable<DatabaseAccountGetResultsInner> |
list(com.azure.core.util.Context context)
Lists all the Azure Cosmos DB database accounts available under the subscription.
|
com.azure.core.http.rest.PagedFlux<DatabaseAccountGetResultsInner> |
listAsync()
Lists all the Azure Cosmos DB database accounts available under the subscription.
|
com.azure.core.http.rest.PagedIterable<DatabaseAccountGetResultsInner> |
listByResourceGroup(String resourceGroupName)
Lists all the Azure Cosmos DB database accounts available under the given resource group.
|
com.azure.core.http.rest.PagedIterable<DatabaseAccountGetResultsInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Lists all the Azure Cosmos DB database accounts available under the given resource group.
|
com.azure.core.http.rest.PagedFlux<DatabaseAccountGetResultsInner> |
listByResourceGroupAsync(String resourceGroupName)
Lists all the Azure Cosmos DB database accounts available under the given resource group.
|
DatabaseAccountListConnectionStringsResultInner |
listConnectionStrings(String resourceGroupName,
String accountName)
Lists the connection strings for the specified Azure Cosmos DB database account.
|
Mono<DatabaseAccountListConnectionStringsResultInner> |
listConnectionStringsAsync(String resourceGroupName,
String accountName)
Lists the connection strings for the specified Azure Cosmos DB database account.
|
com.azure.core.http.rest.Response<DatabaseAccountListConnectionStringsResultInner> |
listConnectionStringsWithResponse(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Lists the connection strings for the specified Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<DatabaseAccountListConnectionStringsResultInner>> |
listConnectionStringsWithResponseAsync(String resourceGroupName,
String accountName)
Lists the connection strings for the specified Azure Cosmos DB database account.
|
DatabaseAccountListKeysResultInner |
listKeys(String resourceGroupName,
String accountName)
Lists the access keys for the specified Azure Cosmos DB database account.
|
Mono<DatabaseAccountListKeysResultInner> |
listKeysAsync(String resourceGroupName,
String accountName)
Lists the access keys for the specified Azure Cosmos DB database account.
|
com.azure.core.http.rest.Response<DatabaseAccountListKeysResultInner> |
listKeysWithResponse(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Lists the access keys for the specified Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<DatabaseAccountListKeysResultInner>> |
listKeysWithResponseAsync(String resourceGroupName,
String accountName)
Lists the access keys for the specified Azure Cosmos DB database account.
|
com.azure.core.http.rest.PagedIterable<MetricDefinitionInner> |
listMetricDefinitions(String resourceGroupName,
String accountName)
Retrieves metric definitions for the given database account.
|
com.azure.core.http.rest.PagedIterable<MetricDefinitionInner> |
listMetricDefinitions(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Retrieves metric definitions for the given database account.
|
com.azure.core.http.rest.PagedFlux<MetricDefinitionInner> |
listMetricDefinitionsAsync(String resourceGroupName,
String accountName)
Retrieves metric definitions for the given database account.
|
com.azure.core.http.rest.PagedIterable<MetricInner> |
listMetrics(String resourceGroupName,
String accountName,
String filter)
Retrieves the metrics determined by the given filter for the given database account.
|
com.azure.core.http.rest.PagedIterable<MetricInner> |
listMetrics(String resourceGroupName,
String accountName,
String filter,
com.azure.core.util.Context context)
Retrieves the metrics determined by the given filter for the given database account.
|
com.azure.core.http.rest.PagedFlux<MetricInner> |
listMetricsAsync(String resourceGroupName,
String accountName,
String filter)
Retrieves the metrics determined by the given filter for the given database account.
|
DatabaseAccountListReadOnlyKeysResultInner |
listReadOnlyKeys(String resourceGroupName,
String accountName)
Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
Mono<DatabaseAccountListReadOnlyKeysResultInner> |
listReadOnlyKeysAsync(String resourceGroupName,
String accountName)
Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
com.azure.core.http.rest.Response<DatabaseAccountListReadOnlyKeysResultInner> |
listReadOnlyKeysWithResponse(String resourceGroupName,
String accountName,
com.azure.core.util.Context context)
Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<DatabaseAccountListReadOnlyKeysResultInner>> |
listReadOnlyKeysWithResponseAsync(String resourceGroupName,
String accountName)
Lists the read-only access keys for the specified Azure Cosmos DB database account.
|
com.azure.core.http.rest.PagedIterable<UsageInner> |
listUsages(String resourceGroupName,
String accountName)
Retrieves the usages (most recent data) for the given database account.
|
com.azure.core.http.rest.PagedIterable<UsageInner> |
listUsages(String resourceGroupName,
String accountName,
String filter,
com.azure.core.util.Context context)
Retrieves the usages (most recent data) for the given database account.
|
com.azure.core.http.rest.PagedFlux<UsageInner> |
listUsagesAsync(String resourceGroupName,
String accountName)
Retrieves the usages (most recent data) for the given database account.
|
com.azure.core.http.rest.PagedFlux<UsageInner> |
listUsagesAsync(String resourceGroupName,
String accountName,
String filter)
Retrieves the usages (most recent data) for the given database account.
|
void |
offlineRegion(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOffline)
Offline the specified region for the specified Azure Cosmos DB database account.
|
void |
offlineRegion(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOffline,
com.azure.core.util.Context context)
Offline the specified region for the specified Azure Cosmos DB database account.
|
Mono<Void> |
offlineRegionAsync(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOffline)
Offline the specified region for the specified Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
offlineRegionWithResponseAsync(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOffline)
Offline the specified region for the specified Azure Cosmos DB database account.
|
void |
onlineRegion(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOnline)
Online the specified region for the specified Azure Cosmos DB database account.
|
void |
onlineRegion(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOnline,
com.azure.core.util.Context context)
Online the specified region for the specified Azure Cosmos DB database account.
|
Mono<Void> |
onlineRegionAsync(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOnline)
Online the specified region for the specified Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
onlineRegionWithResponseAsync(String resourceGroupName,
String accountName,
RegionForOnlineOffline regionParameterForOnline)
Online the specified region for the specified Azure Cosmos DB database account.
|
void |
regenerateKey(String resourceGroupName,
String accountName,
DatabaseAccountRegenerateKeyParameters keyToRegenerate)
Regenerates an access key for the specified Azure Cosmos DB database account.
|
void |
regenerateKey(String resourceGroupName,
String accountName,
DatabaseAccountRegenerateKeyParameters keyToRegenerate,
com.azure.core.util.Context context)
Regenerates an access key for the specified Azure Cosmos DB database account.
|
Mono<Void> |
regenerateKeyAsync(String resourceGroupName,
String accountName,
DatabaseAccountRegenerateKeyParameters keyToRegenerate)
Regenerates an access key for the specified Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
regenerateKeyWithResponseAsync(String resourceGroupName,
String accountName,
DatabaseAccountRegenerateKeyParameters keyToRegenerate)
Regenerates an access key for the specified Azure Cosmos DB database account.
|
DatabaseAccountGetResultsInner |
update(String resourceGroupName,
String accountName,
DatabaseAccountUpdateParameters updateParameters)
Updates the properties of an existing Azure Cosmos DB database account.
|
DatabaseAccountGetResultsInner |
update(String resourceGroupName,
String accountName,
DatabaseAccountUpdateParameters updateParameters,
com.azure.core.util.Context context)
Updates the properties of an existing Azure Cosmos DB database account.
|
Mono<DatabaseAccountGetResultsInner> |
updateAsync(String resourceGroupName,
String accountName,
DatabaseAccountUpdateParameters updateParameters)
Updates the properties of an existing Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
updateWithResponseAsync(String resourceGroupName,
String accountName,
DatabaseAccountUpdateParameters updateParameters)
Updates the properties of an existing Azure Cosmos DB database account.
|
Mono<com.azure.core.http.rest.Response<DatabaseAccountGetResultsInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<DatabaseAccountGetResultsInner> getByResourceGroupAsync(String resourceGroupName, String accountName)
getByResourceGroupAsync in interface InnerSupportsGet<DatabaseAccountGetResultsInner>resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.DatabaseAccountGetResultsInner getByResourceGroup(String resourceGroupName, String accountName)
getByResourceGroup in interface InnerSupportsGet<DatabaseAccountGetResultsInner>resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<DatabaseAccountGetResultsInner> getByResourceGroupWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.updateParameters - Parameters for patching Azure Cosmos DB database account properties.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> beginUpdateAsync(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.updateParameters - Parameters for patching Azure Cosmos DB database account properties.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> beginUpdate(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.updateParameters - Parameters for patching Azure Cosmos DB database account properties.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> beginUpdate(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.updateParameters - Parameters for patching Azure Cosmos DB database account properties.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<DatabaseAccountGetResultsInner> updateAsync(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.updateParameters - Parameters for patching Azure Cosmos DB database account properties.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.DatabaseAccountGetResultsInner update(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.updateParameters - Parameters for patching Azure Cosmos DB database account properties.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.DatabaseAccountGetResultsInner update(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.updateParameters - Parameters for patching Azure Cosmos DB database account properties.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.createUpdateParameters - Parameters to create and update Cosmos DB database accounts.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> beginCreateOrUpdateAsync(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.createUpdateParameters - Parameters to create and update Cosmos DB database accounts.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> beginCreateOrUpdate(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.createUpdateParameters - Parameters to create and update Cosmos DB database accounts.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> beginCreateOrUpdate(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.createUpdateParameters - Parameters to create and update Cosmos DB database accounts.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<DatabaseAccountGetResultsInner> createOrUpdateAsync(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.createUpdateParameters - Parameters to create and update Cosmos DB database accounts.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.DatabaseAccountGetResultsInner createOrUpdate(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.createUpdateParameters - Parameters to create and update Cosmos DB database accounts.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.DatabaseAccountGetResultsInner createOrUpdate(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.createUpdateParameters - Parameters to create and update Cosmos DB database accounts.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String accountName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String accountName, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> failoverPriorityChangeWithResponseAsync(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.failoverParameters - The list of new failover policies for the failover priority change.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginFailoverPriorityChangeAsync(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.failoverParameters - The list of new failover policies for the failover priority change.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginFailoverPriorityChange(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.failoverParameters - The list of new failover policies for the failover priority change.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginFailoverPriorityChange(String resourceGroupName, String accountName, FailoverPolicies failoverParameters, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.failoverParameters - The list of new failover policies for the failover priority change.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> failoverPriorityChangeAsync(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.failoverParameters - The list of new failover policies for the failover priority change.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void failoverPriorityChange(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.failoverParameters - The list of new failover policies for the failover priority change.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void failoverPriorityChange(String resourceGroupName, String accountName, FailoverPolicies failoverParameters, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.failoverParameters - The list of new failover policies for the failover priority change.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<DatabaseAccountGetResultsInner> listAsync()
listAsync in interface InnerSupportsListing<DatabaseAccountGetResultsInner>com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<DatabaseAccountGetResultsInner> list()
list in interface InnerSupportsListing<DatabaseAccountGetResultsInner>com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<DatabaseAccountGetResultsInner> list(com.azure.core.util.Context context)
context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<DatabaseAccountGetResultsInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<DatabaseAccountGetResultsInner>resourceGroupName - Name of an Azure resource group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<DatabaseAccountGetResultsInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<DatabaseAccountGetResultsInner>resourceGroupName - Name of an Azure resource group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<DatabaseAccountGetResultsInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<DatabaseAccountListKeysResultInner>> listKeysWithResponseAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<DatabaseAccountListKeysResultInner> listKeysAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.DatabaseAccountListKeysResultInner listKeys(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<DatabaseAccountListKeysResultInner> listKeysWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<DatabaseAccountListConnectionStringsResultInner>> listConnectionStringsWithResponseAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<DatabaseAccountListConnectionStringsResultInner> listConnectionStringsAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.DatabaseAccountListConnectionStringsResultInner listConnectionStrings(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<DatabaseAccountListConnectionStringsResultInner> listConnectionStringsWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> offlineRegionWithResponseAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOffline - Cosmos DB region to online or offline.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginOfflineRegionAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOffline - Cosmos DB region to online or offline.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginOfflineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOffline - Cosmos DB region to online or offline.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginOfflineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOffline - Cosmos DB region to online or offline.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> offlineRegionAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOffline - Cosmos DB region to online or offline.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void offlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOffline - Cosmos DB region to online or offline.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void offlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOffline - Cosmos DB region to online or offline.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> onlineRegionWithResponseAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOnline - Cosmos DB region to online or offline.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginOnlineRegionAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOnline - Cosmos DB region to online or offline.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginOnlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOnline - Cosmos DB region to online or offline.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginOnlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOnline - Cosmos DB region to online or offline.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> onlineRegionAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOnline - Cosmos DB region to online or offline.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void onlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOnline - Cosmos DB region to online or offline.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void onlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.regionParameterForOnline - Cosmos DB region to online or offline.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<DatabaseAccountListReadOnlyKeysResultInner>> getReadOnlyKeysWithResponseAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<DatabaseAccountListReadOnlyKeysResultInner> getReadOnlyKeysAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.DatabaseAccountListReadOnlyKeysResultInner getReadOnlyKeys(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<DatabaseAccountListReadOnlyKeysResultInner> getReadOnlyKeysWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<DatabaseAccountListReadOnlyKeysResultInner>> listReadOnlyKeysWithResponseAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<DatabaseAccountListReadOnlyKeysResultInner> listReadOnlyKeysAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.DatabaseAccountListReadOnlyKeysResultInner listReadOnlyKeys(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<DatabaseAccountListReadOnlyKeysResultInner> listReadOnlyKeysWithResponse(String resourceGroupName, String accountName, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> regenerateKeyWithResponseAsync(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.keyToRegenerate - Parameters to regenerate the keys within the database account.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRegenerateKeyAsync(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.keyToRegenerate - Parameters to regenerate the keys within the database account.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRegenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.keyToRegenerate - Parameters to regenerate the keys within the database account.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRegenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.keyToRegenerate - Parameters to regenerate the keys within the database account.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> regenerateKeyAsync(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.keyToRegenerate - Parameters to regenerate the keys within the database account.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void regenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.keyToRegenerate - Parameters to regenerate the keys within the database account.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void regenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.keyToRegenerate - Parameters to regenerate the keys within the database account.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Boolean>> checkNameExistsWithResponseAsync(String accountName)
accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Boolean> checkNameExistsAsync(String accountName)
accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.boolean checkNameExists(String accountName)
accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Boolean> checkNameExistsWithResponse(String accountName, com.azure.core.util.Context context)
accountName - Cosmos DB database account name.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<MetricInner> listMetricsAsync(String resourceGroupName, String accountName, String filter)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.filter - An OData filter expression that describes a subset of metrics to return. The parameters that can be
filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and
timeGrain. The supported operator is eq.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<MetricInner> listMetrics(String resourceGroupName, String accountName, String filter)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.filter - An OData filter expression that describes a subset of metrics to return. The parameters that can be
filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and
timeGrain. The supported operator is eq.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<MetricInner> listMetrics(String resourceGroupName, String accountName, String filter, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.filter - An OData filter expression that describes a subset of metrics to return. The parameters that can be
filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and
timeGrain. The supported operator is eq.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<UsageInner> listUsagesAsync(String resourceGroupName, String accountName, String filter)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.filter - An OData filter expression that describes a subset of usages to return. The supported parameter is
name.value (name of the metric, can have an or of multiple names).IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<UsageInner> listUsagesAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<UsageInner> listUsages(String resourceGroupName, String accountName, String filter, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.filter - An OData filter expression that describes a subset of usages to return. The supported parameter is
name.value (name of the metric, can have an or of multiple names).context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<UsageInner> listUsages(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<MetricDefinitionInner> listMetricDefinitionsAsync(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<MetricDefinitionInner> listMetricDefinitions(String resourceGroupName, String accountName)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<MetricDefinitionInner> listMetricDefinitions(String resourceGroupName, String accountName, com.azure.core.util.Context context)
resourceGroupName - Name of an Azure resource group.accountName - Cosmos DB database account name.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2020 Microsoft Corporation. All rights reserved.