DatabaseAccountsClient Interface

Implements

public interface DatabaseAccountsClient
extends InnerSupportsGet<DatabaseAccountGetResultsInner>, InnerSupportsListing<DatabaseAccountGetResultsInner>, InnerSupportsDelete<Void>

An instance of this class provides access to all the operations defined in DatabaseAccountsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> beginCreateOrUpdate(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)

Creates or updates an Azure Cosmos DB database account.

abstract SyncPoller<PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> beginCreateOrUpdate(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters, Context context)

Creates or updates an Azure Cosmos DB database account.

abstract PollerFlux<PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> beginCreateOrUpdateAsync(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)

Creates or updates an Azure Cosmos DB database account.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName)

Deletes an existing Azure Cosmos DB database account.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, Context context)

Deletes an existing Azure Cosmos DB database account.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String accountName)

Deletes an existing Azure Cosmos DB database account.

abstract SyncPoller<PollResult<Void>,Void> beginFailoverPriorityChange(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)

Changes the failover priority for the Azure Cosmos DB database account.

abstract SyncPoller<PollResult<Void>,Void> beginFailoverPriorityChange(String resourceGroupName, String accountName, FailoverPolicies failoverParameters, Context context)

Changes the failover priority for the Azure Cosmos DB database account.

abstract PollerFlux<PollResult<Void>,Void> beginFailoverPriorityChangeAsync(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)

Changes the failover priority for the Azure Cosmos DB database account.

abstract SyncPoller<PollResult<Void>,Void> beginOfflineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)

Offline the specified region for the specified Azure Cosmos DB database account.

abstract SyncPoller<PollResult<Void>,Void> beginOfflineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline, Context context)

Offline the specified region for the specified Azure Cosmos DB database account.

abstract PollerFlux<PollResult<Void>,Void> beginOfflineRegionAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)

Offline the specified region for the specified Azure Cosmos DB database account.

abstract SyncPoller<PollResult<Void>,Void> beginOnlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)

Online the specified region for the specified Azure Cosmos DB database account.

abstract SyncPoller<PollResult<Void>,Void> beginOnlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline, Context context)

Online the specified region for the specified Azure Cosmos DB database account.

abstract PollerFlux<PollResult<Void>,Void> beginOnlineRegionAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)

Online the specified region for the specified Azure Cosmos DB database account.

abstract SyncPoller<PollResult<Void>,Void> beginRegenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)

Regenerates an access key for the specified Azure Cosmos DB database account.

abstract SyncPoller<PollResult<Void>,Void> beginRegenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate, Context context)

Regenerates an access key for the specified Azure Cosmos DB database account.

abstract PollerFlux<PollResult<Void>,Void> beginRegenerateKeyAsync(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)

Regenerates an access key for the specified Azure Cosmos DB database account.

abstract SyncPoller<PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> beginUpdate(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)

Updates the properties of an existing Azure Cosmos DB database account.

abstract SyncPoller<PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> beginUpdate(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters, Context context)

Updates the properties of an existing Azure Cosmos DB database account.

abstract PollerFlux<PollResult<DatabaseAccountGetResultsInner>,DatabaseAccountGetResultsInner> beginUpdateAsync(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)

Updates the properties of an existing Azure Cosmos DB database account.

abstract boolean checkNameExists(String accountName)

Checks that the Azure Cosmos DB account name already exists.

abstract Mono<Boolean> checkNameExistsAsync(String accountName)

Checks that the Azure Cosmos DB account name already exists.

abstract Response<Boolean> checkNameExistsWithResponse(String accountName, Context context)

Checks that the Azure Cosmos DB account name already exists.

abstract Mono<Response<Boolean>> checkNameExistsWithResponseAsync(String accountName)

Checks that the Azure Cosmos DB account name already exists.

abstract DatabaseAccountGetResultsInner createOrUpdate(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)

Creates or updates an Azure Cosmos DB database account.

abstract DatabaseAccountGetResultsInner createOrUpdate(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters, Context context)

Creates or updates an Azure Cosmos DB database account.

abstract Mono<DatabaseAccountGetResultsInner> createOrUpdateAsync(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)

Creates or updates an Azure Cosmos DB database account.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)

Creates or updates an Azure Cosmos DB database account.

abstract void delete(String resourceGroupName, String accountName)

Deletes an existing Azure Cosmos DB database account.

abstract void delete(String resourceGroupName, String accountName, Context context)

Deletes an existing Azure Cosmos DB database account.

abstract Mono<Void> deleteAsync(String resourceGroupName, String accountName)

Deletes an existing Azure Cosmos DB database account.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String accountName)

Deletes an existing Azure Cosmos DB database account.

abstract void failoverPriorityChange(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)

Changes the failover priority for the Azure Cosmos DB database account.

abstract void failoverPriorityChange(String resourceGroupName, String accountName, FailoverPolicies failoverParameters, Context context)

Changes the failover priority for the Azure Cosmos DB database account.

abstract Mono<Void> failoverPriorityChangeAsync(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)

Changes the failover priority for the Azure Cosmos DB database account.

abstract Mono<Response<Flux<ByteBuffer>>> failoverPriorityChangeWithResponseAsync(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)

Changes the failover priority for the Azure Cosmos DB database account.

abstract DatabaseAccountGetResultsInner getByResourceGroup(String resourceGroupName, String accountName)

Retrieves the properties of an existing Azure Cosmos DB database account.

abstract Mono<DatabaseAccountGetResultsInner> getByResourceGroupAsync(String resourceGroupName, String accountName)

Retrieves the properties of an existing Azure Cosmos DB database account.

abstract Response<DatabaseAccountGetResultsInner> getByResourceGroupWithResponse(String resourceGroupName, String accountName, Context context)

Retrieves the properties of an existing Azure Cosmos DB database account.

abstract Mono<Response<DatabaseAccountGetResultsInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String accountName)

Retrieves the properties of an existing Azure Cosmos DB database account.

abstract DatabaseAccountListReadOnlyKeysResultInner getReadOnlyKeys(String resourceGroupName, String accountName)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

abstract Mono<DatabaseAccountListReadOnlyKeysResultInner> getReadOnlyKeysAsync(String resourceGroupName, String accountName)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

abstract Response<DatabaseAccountListReadOnlyKeysResultInner> getReadOnlyKeysWithResponse(String resourceGroupName, String accountName, Context context)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

abstract Mono<Response<DatabaseAccountListReadOnlyKeysResultInner>> getReadOnlyKeysWithResponseAsync(String resourceGroupName, String accountName)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

abstract PagedIterable<DatabaseAccountGetResultsInner> list()

Lists all the Azure Cosmos DB database accounts available under the subscription.

abstract PagedIterable<DatabaseAccountGetResultsInner> list(Context context)

Lists all the Azure Cosmos DB database accounts available under the subscription.

abstract PagedFlux<DatabaseAccountGetResultsInner> listAsync()

Lists all the Azure Cosmos DB database accounts available under the subscription.

abstract PagedIterable<DatabaseAccountGetResultsInner> listByResourceGroup(String resourceGroupName)

Lists all the Azure Cosmos DB database accounts available under the given resource group.

abstract PagedIterable<DatabaseAccountGetResultsInner> listByResourceGroup(String resourceGroupName, Context context)

Lists all the Azure Cosmos DB database accounts available under the given resource group.

abstract PagedFlux<DatabaseAccountGetResultsInner> listByResourceGroupAsync(String resourceGroupName)

Lists all the Azure Cosmos DB database accounts available under the given resource group.

abstract DatabaseAccountListConnectionStringsResultInner listConnectionStrings(String resourceGroupName, String accountName)

Lists the connection strings for the specified Azure Cosmos DB database account.

abstract Mono<DatabaseAccountListConnectionStringsResultInner> listConnectionStringsAsync(String resourceGroupName, String accountName)

Lists the connection strings for the specified Azure Cosmos DB database account.

abstract Response<DatabaseAccountListConnectionStringsResultInner> listConnectionStringsWithResponse(String resourceGroupName, String accountName, Context context)

Lists the connection strings for the specified Azure Cosmos DB database account.

abstract Mono<Response<DatabaseAccountListConnectionStringsResultInner>> listConnectionStringsWithResponseAsync(String resourceGroupName, String accountName)

Lists the connection strings for the specified Azure Cosmos DB database account.

abstract DatabaseAccountListKeysResultInner listKeys(String resourceGroupName, String accountName)

Lists the access keys for the specified Azure Cosmos DB database account.

abstract Mono<DatabaseAccountListKeysResultInner> listKeysAsync(String resourceGroupName, String accountName)

Lists the access keys for the specified Azure Cosmos DB database account.

abstract Response<DatabaseAccountListKeysResultInner> listKeysWithResponse(String resourceGroupName, String accountName, Context context)

Lists the access keys for the specified Azure Cosmos DB database account.

abstract Mono<Response<DatabaseAccountListKeysResultInner>> listKeysWithResponseAsync(String resourceGroupName, String accountName)

Lists the access keys for the specified Azure Cosmos DB database account.

abstract PagedIterable<MetricDefinitionInner> listMetricDefinitions(String resourceGroupName, String accountName)

Retrieves metric definitions for the given database account.

abstract PagedIterable<MetricDefinitionInner> listMetricDefinitions(String resourceGroupName, String accountName, Context context)

Retrieves metric definitions for the given database account.

abstract PagedFlux<MetricDefinitionInner> listMetricDefinitionsAsync(String resourceGroupName, String accountName)

Retrieves metric definitions for the given database account.

abstract PagedIterable<MetricInner> listMetrics(String resourceGroupName, String accountName, String filter)

Retrieves the metrics determined by the given filter for the given database account.

abstract PagedIterable<MetricInner> listMetrics(String resourceGroupName, String accountName, String filter, Context context)

Retrieves the metrics determined by the given filter for the given database account.

abstract PagedFlux<MetricInner> listMetricsAsync(String resourceGroupName, String accountName, String filter)

Retrieves the metrics determined by the given filter for the given database account.

abstract DatabaseAccountListReadOnlyKeysResultInner listReadOnlyKeys(String resourceGroupName, String accountName)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

abstract Mono<DatabaseAccountListReadOnlyKeysResultInner> listReadOnlyKeysAsync(String resourceGroupName, String accountName)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

abstract Response<DatabaseAccountListReadOnlyKeysResultInner> listReadOnlyKeysWithResponse(String resourceGroupName, String accountName, Context context)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

abstract Mono<Response<DatabaseAccountListReadOnlyKeysResultInner>> listReadOnlyKeysWithResponseAsync(String resourceGroupName, String accountName)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

abstract PagedIterable<UsageInner> listUsages(String resourceGroupName, String accountName)

Retrieves the usages (most recent data) for the given database account.

abstract PagedIterable<UsageInner> listUsages(String resourceGroupName, String accountName, String filter, Context context)

Retrieves the usages (most recent data) for the given database account.

abstract PagedFlux<UsageInner> listUsagesAsync(String resourceGroupName, String accountName)

Retrieves the usages (most recent data) for the given database account.

abstract PagedFlux<UsageInner> listUsagesAsync(String resourceGroupName, String accountName, String filter)

Retrieves the usages (most recent data) for the given database account.

abstract void offlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)

Offline the specified region for the specified Azure Cosmos DB database account.

abstract void offlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline, Context context)

Offline the specified region for the specified Azure Cosmos DB database account.

abstract Mono<Void> offlineRegionAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)

Offline the specified region for the specified Azure Cosmos DB database account.

abstract Mono<Response<Flux<ByteBuffer>>> offlineRegionWithResponseAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)

Offline the specified region for the specified Azure Cosmos DB database account.

abstract void onlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)

Online the specified region for the specified Azure Cosmos DB database account.

abstract void onlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline, Context context)

Online the specified region for the specified Azure Cosmos DB database account.

abstract Mono<Void> onlineRegionAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)

Online the specified region for the specified Azure Cosmos DB database account.

abstract Mono<Response<Flux<ByteBuffer>>> onlineRegionWithResponseAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)

Online the specified region for the specified Azure Cosmos DB database account.

abstract void regenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)

Regenerates an access key for the specified Azure Cosmos DB database account.

abstract void regenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate, Context context)

Regenerates an access key for the specified Azure Cosmos DB database account.

abstract Mono<Void> regenerateKeyAsync(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)

Regenerates an access key for the specified Azure Cosmos DB database account.

abstract Mono<Response<Flux<ByteBuffer>>> regenerateKeyWithResponseAsync(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)

Regenerates an access key for the specified Azure Cosmos DB database account.

abstract DatabaseAccountGetResultsInner update(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)

Updates the properties of an existing Azure Cosmos DB database account.

abstract DatabaseAccountGetResultsInner update(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters, Context context)

Updates the properties of an existing Azure Cosmos DB database account.

abstract Mono<DatabaseAccountGetResultsInner> updateAsync(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)

Updates the properties of an existing Azure Cosmos DB database account.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)

Updates the properties of an existing Azure Cosmos DB database account.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<>,DatabaseAccountGetResultsInner> beginCreateOrUpdate(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)

Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
createUpdateParameters - The parameters to provide for the current database account.

Returns:

the SyncPoller<T,U> for polling of an Azure Cosmos DB database account.

beginCreateOrUpdate

public abstract SyncPoller<>,DatabaseAccountGetResultsInner> beginCreateOrUpdate(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters, Context context)

Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
createUpdateParameters - The parameters to provide for the current database account.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an Azure Cosmos DB database account.

beginCreateOrUpdateAsync

public abstract PollerFlux<>,DatabaseAccountGetResultsInner> beginCreateOrUpdateAsync(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)

Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
createUpdateParameters - The parameters to provide for the current database account.

Returns:

the PollerFlux<T,U> for polling of an Azure Cosmos DB database account.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String accountName)

Deletes an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String accountName, Context context)

Deletes an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux<>,Void> beginDeleteAsync(String resourceGroupName, String accountName)

Deletes an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginFailoverPriorityChange

public abstract SyncPoller<>,Void> beginFailoverPriorityChange(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)

Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
failoverParameters - The new failover policies for the database account.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginFailoverPriorityChange

public abstract SyncPoller<>,Void> beginFailoverPriorityChange(String resourceGroupName, String accountName, FailoverPolicies failoverParameters, Context context)

Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
failoverParameters - The new failover policies for the database account.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginFailoverPriorityChangeAsync

public abstract PollerFlux<>,Void> beginFailoverPriorityChangeAsync(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)

Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
failoverParameters - The new failover policies for the database account.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginOfflineRegion

public abstract SyncPoller<>,Void> beginOfflineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)

Offline the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOffline - Cosmos DB region to offline for the database account.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginOfflineRegion

public abstract SyncPoller<>,Void> beginOfflineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline, Context context)

Offline the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOffline - Cosmos DB region to offline for the database account.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginOfflineRegionAsync

public abstract PollerFlux<>,Void> beginOfflineRegionAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)

Offline the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOffline - Cosmos DB region to offline for the database account.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginOnlineRegion

public abstract SyncPoller<>,Void> beginOnlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)

Online the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOnline - Cosmos DB region to online for the database account.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginOnlineRegion

public abstract SyncPoller<>,Void> beginOnlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline, Context context)

Online the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOnline - Cosmos DB region to online for the database account.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginOnlineRegionAsync

public abstract PollerFlux<>,Void> beginOnlineRegionAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)

Online the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOnline - Cosmos DB region to online for the database account.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginRegenerateKey

public abstract SyncPoller<>,Void> beginRegenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)

Regenerates an access key for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
keyToRegenerate - The name of the key to regenerate.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRegenerateKey

public abstract SyncPoller<>,Void> beginRegenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate, Context context)

Regenerates an access key for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
keyToRegenerate - The name of the key to regenerate.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRegenerateKeyAsync

public abstract PollerFlux<>,Void> beginRegenerateKeyAsync(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)

Regenerates an access key for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
keyToRegenerate - The name of the key to regenerate.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<>,DatabaseAccountGetResultsInner> beginUpdate(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)

Updates the properties of an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
updateParameters - The parameters to provide for the current database account.

Returns:

the SyncPoller<T,U> for polling of an Azure Cosmos DB database account.

beginUpdate

public abstract SyncPoller<>,DatabaseAccountGetResultsInner> beginUpdate(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters, Context context)

Updates the properties of an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
updateParameters - The parameters to provide for the current database account.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an Azure Cosmos DB database account.

beginUpdateAsync

public abstract PollerFlux<>,DatabaseAccountGetResultsInner> beginUpdateAsync(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)

Updates the properties of an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
updateParameters - The parameters to provide for the current database account.

Returns:

the PollerFlux<T,U> for polling of an Azure Cosmos DB database account.

checkNameExists

public abstract boolean checkNameExists(String accountName)

Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50 characters.

Parameters:

accountName - Cosmos DB database account name.

Returns:

whether resource exists.

checkNameExistsAsync

public abstract Mono checkNameExistsAsync(String accountName)

Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50 characters.

Parameters:

accountName - Cosmos DB database account name.

Returns:

whether resource exists on successful completion of Mono.

checkNameExistsWithResponse

public abstract Response checkNameExistsWithResponse(String accountName, Context context)

Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50 characters.

Parameters:

accountName - Cosmos DB database account name.
context - The context to associate with this operation.

Returns:

whether resource exists along with Response<T>.

checkNameExistsWithResponseAsync

public abstract Mono<>> checkNameExistsWithResponseAsync(String accountName)

Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50 characters.

Parameters:

accountName - Cosmos DB database account name.

Returns:

whether resource exists along with Response<T> on successful completion of Mono.

createOrUpdate

public abstract DatabaseAccountGetResultsInner createOrUpdate(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)

Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
createUpdateParameters - The parameters to provide for the current database account.

Returns:

an Azure Cosmos DB database account.

createOrUpdate

public abstract DatabaseAccountGetResultsInner createOrUpdate(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters, Context context)

Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
createUpdateParameters - The parameters to provide for the current database account.
context - The context to associate with this operation.

Returns:

an Azure Cosmos DB database account.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)

Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
createUpdateParameters - The parameters to provide for the current database account.

Returns:

an Azure Cosmos DB database account on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono<><>>> createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, DatabaseAccountCreateUpdateParameters createUpdateParameters)

Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
createUpdateParameters - The parameters to provide for the current database account.

Returns:

an Azure Cosmos DB database account along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String accountName)

Deletes an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

delete

public abstract void delete(String resourceGroupName, String accountName, Context context)

Deletes an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String accountName)

Deletes an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono<><>>> deleteWithResponseAsync(String resourceGroupName, String accountName)

Deletes an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the Response<T> on successful completion of Mono.

failoverPriorityChange

public abstract void failoverPriorityChange(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)

Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
failoverParameters - The new failover policies for the database account.

failoverPriorityChange

public abstract void failoverPriorityChange(String resourceGroupName, String accountName, FailoverPolicies failoverParameters, Context context)

Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
failoverParameters - The new failover policies for the database account.
context - The context to associate with this operation.

failoverPriorityChangeAsync

public abstract Mono failoverPriorityChangeAsync(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)

Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
failoverParameters - The new failover policies for the database account.

Returns:

A Mono that completes when a successful response is received.

failoverPriorityChangeWithResponseAsync

public abstract Mono<><>>> failoverPriorityChangeWithResponseAsync(String resourceGroupName, String accountName, FailoverPolicies failoverParameters)

Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
failoverParameters - The new failover policies for the database account.

Returns:

the Response<T> on successful completion of Mono.

getByResourceGroup

public abstract DatabaseAccountGetResultsInner getByResourceGroup(String resourceGroupName, String accountName)

Retrieves the properties of an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

an Azure Cosmos DB database account.

getByResourceGroupAsync

public abstract Mono getByResourceGroupAsync(String resourceGroupName, String accountName)

Retrieves the properties of an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

an Azure Cosmos DB database account on successful completion of Mono.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String accountName, Context context)

Retrieves the properties of an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
context - The context to associate with this operation.

Returns:

an Azure Cosmos DB database account along with Response<T>.

getByResourceGroupWithResponseAsync

public abstract Mono<>> getByResourceGroupWithResponseAsync(String resourceGroupName, String accountName)

Retrieves the properties of an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

an Azure Cosmos DB database account along with Response<T> on successful completion of Mono.

getReadOnlyKeys

public abstract DatabaseAccountListReadOnlyKeysResultInner getReadOnlyKeys(String resourceGroupName, String accountName)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the read-only access keys for the given database account.

getReadOnlyKeysAsync

public abstract Mono getReadOnlyKeysAsync(String resourceGroupName, String accountName)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the read-only access keys for the given database account on successful completion of Mono.

getReadOnlyKeysWithResponse

public abstract Response getReadOnlyKeysWithResponse(String resourceGroupName, String accountName, Context context)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
context - The context to associate with this operation.

Returns:

the read-only access keys for the given database account along with Response<T>.

getReadOnlyKeysWithResponseAsync

public abstract Mono<>> getReadOnlyKeysWithResponseAsync(String resourceGroupName, String accountName)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the read-only access keys for the given database account along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list()

Lists all the Azure Cosmos DB database accounts available under the subscription.

Returns:

the List operation response, that contains the database accounts and their properties as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(Context context)

Lists all the Azure Cosmos DB database accounts available under the subscription.

Parameters:

context - The context to associate with this operation.

Returns:

the List operation response, that contains the database accounts and their properties as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync()

Lists all the Azure Cosmos DB database accounts available under the subscription.

Returns:

the List operation response, that contains the database accounts and their properties as paginated response with PagedFlux<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName)

Lists all the Azure Cosmos DB database accounts available under the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

the List operation response, that contains the database accounts and their properties as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, Context context)

Lists all the Azure Cosmos DB database accounts available under the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

the List operation response, that contains the database accounts and their properties as paginated response with PagedIterable<T>.

listByResourceGroupAsync

public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)

Lists all the Azure Cosmos DB database accounts available under the given resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

the List operation response, that contains the database accounts and their properties as paginated response with PagedFlux<T>.

listConnectionStrings

public abstract DatabaseAccountListConnectionStringsResultInner listConnectionStrings(String resourceGroupName, String accountName)

Lists the connection strings for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the connection strings for the given database account.

listConnectionStringsAsync

public abstract Mono listConnectionStringsAsync(String resourceGroupName, String accountName)

Lists the connection strings for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the connection strings for the given database account on successful completion of Mono.

listConnectionStringsWithResponse

public abstract Response listConnectionStringsWithResponse(String resourceGroupName, String accountName, Context context)

Lists the connection strings for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
context - The context to associate with this operation.

Returns:

the connection strings for the given database account along with Response<T>.

listConnectionStringsWithResponseAsync

public abstract Mono<>> listConnectionStringsWithResponseAsync(String resourceGroupName, String accountName)

Lists the connection strings for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the connection strings for the given database account along with Response<T> on successful completion of Mono.

listKeys

public abstract DatabaseAccountListKeysResultInner listKeys(String resourceGroupName, String accountName)

Lists the access keys for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the access keys for the given database account.

listKeysAsync

public abstract Mono listKeysAsync(String resourceGroupName, String accountName)

Lists the access keys for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the access keys for the given database account on successful completion of Mono.

listKeysWithResponse

public abstract Response listKeysWithResponse(String resourceGroupName, String accountName, Context context)

Lists the access keys for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
context - The context to associate with this operation.

Returns:

the access keys for the given database account along with Response<T>.

listKeysWithResponseAsync

public abstract Mono<>> listKeysWithResponseAsync(String resourceGroupName, String accountName)

Lists the access keys for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the access keys for the given database account along with Response<T> on successful completion of Mono.

listMetricDefinitions

public abstract PagedIterable listMetricDefinitions(String resourceGroupName, String accountName)

Retrieves metric definitions for the given database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the response to a list metric definitions request as paginated response with PagedIterable<T>.

listMetricDefinitions

public abstract PagedIterable listMetricDefinitions(String resourceGroupName, String accountName, Context context)

Retrieves metric definitions for the given database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
context - The context to associate with this operation.

Returns:

the response to a list metric definitions request as paginated response with PagedIterable<T>.

listMetricDefinitionsAsync

public abstract PagedFlux listMetricDefinitionsAsync(String resourceGroupName, String accountName)

Retrieves metric definitions for the given database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the response to a list metric definitions request as paginated response with PagedFlux<T>.

listMetrics

public abstract PagedIterable listMetrics(String resourceGroupName, String accountName, String filter)

Retrieves the metrics determined by the given filter for the given database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
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.

Returns:

the response to a list metrics request as paginated response with PagedIterable<T>.

listMetrics

public abstract PagedIterable listMetrics(String resourceGroupName, String accountName, String filter, Context context)

Retrieves the metrics determined by the given filter for the given database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
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.

Returns:

the response to a list metrics request as paginated response with PagedIterable<T>.

listMetricsAsync

public abstract PagedFlux listMetricsAsync(String resourceGroupName, String accountName, String filter)

Retrieves the metrics determined by the given filter for the given database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
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.

Returns:

the response to a list metrics request as paginated response with PagedFlux<T>.

listReadOnlyKeys

public abstract DatabaseAccountListReadOnlyKeysResultInner listReadOnlyKeys(String resourceGroupName, String accountName)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the read-only access keys for the given database account.

listReadOnlyKeysAsync

public abstract Mono listReadOnlyKeysAsync(String resourceGroupName, String accountName)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the read-only access keys for the given database account on successful completion of Mono.

listReadOnlyKeysWithResponse

public abstract Response listReadOnlyKeysWithResponse(String resourceGroupName, String accountName, Context context)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
context - The context to associate with this operation.

Returns:

the read-only access keys for the given database account along with Response<T>.

listReadOnlyKeysWithResponseAsync

public abstract Mono<>> listReadOnlyKeysWithResponseAsync(String resourceGroupName, String accountName)

Lists the read-only access keys for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the read-only access keys for the given database account along with Response<T> on successful completion of Mono.

listUsages

public abstract PagedIterable listUsages(String resourceGroupName, String accountName)

Retrieves the usages (most recent data) for the given database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the response to a list usage request as paginated response with PagedIterable<T>.

listUsages

public abstract PagedIterable listUsages(String resourceGroupName, String accountName, String filter, Context context)

Retrieves the usages (most recent data) for the given database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
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.

Returns:

the response to a list usage request as paginated response with PagedIterable<T>.

listUsagesAsync

public abstract PagedFlux listUsagesAsync(String resourceGroupName, String accountName)

Retrieves the usages (most recent data) for the given database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.

Returns:

the response to a list usage request as paginated response with PagedFlux<T>.

listUsagesAsync

public abstract PagedFlux listUsagesAsync(String resourceGroupName, String accountName, String filter)

Retrieves the usages (most recent data) for the given database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
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).

Returns:

the response to a list usage request as paginated response with PagedFlux<T>.

offlineRegion

public abstract void offlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)

Offline the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOffline - Cosmos DB region to offline for the database account.

offlineRegion

public abstract void offlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline, Context context)

Offline the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOffline - Cosmos DB region to offline for the database account.
context - The context to associate with this operation.

offlineRegionAsync

public abstract Mono offlineRegionAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)

Offline the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOffline - Cosmos DB region to offline for the database account.

Returns:

A Mono that completes when a successful response is received.

offlineRegionWithResponseAsync

public abstract Mono<><>>> offlineRegionWithResponseAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)

Offline the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOffline - Cosmos DB region to offline for the database account.

Returns:

the Response<T> on successful completion of Mono.

onlineRegion

public abstract void onlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)

Online the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOnline - Cosmos DB region to online for the database account.

onlineRegion

public abstract void onlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline, Context context)

Online the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOnline - Cosmos DB region to online for the database account.
context - The context to associate with this operation.

onlineRegionAsync

public abstract Mono onlineRegionAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)

Online the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOnline - Cosmos DB region to online for the database account.

Returns:

A Mono that completes when a successful response is received.

onlineRegionWithResponseAsync

public abstract Mono<><>>> onlineRegionWithResponseAsync(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)

Online the specified region for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
regionParameterForOnline - Cosmos DB region to online for the database account.

Returns:

the Response<T> on successful completion of Mono.

regenerateKey

public abstract void regenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)

Regenerates an access key for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
keyToRegenerate - The name of the key to regenerate.

regenerateKey

public abstract void regenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate, Context context)

Regenerates an access key for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
keyToRegenerate - The name of the key to regenerate.
context - The context to associate with this operation.

regenerateKeyAsync

public abstract Mono regenerateKeyAsync(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)

Regenerates an access key for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
keyToRegenerate - The name of the key to regenerate.

Returns:

A Mono that completes when a successful response is received.

regenerateKeyWithResponseAsync

public abstract Mono<><>>> regenerateKeyWithResponseAsync(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)

Regenerates an access key for the specified Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
keyToRegenerate - The name of the key to regenerate.

Returns:

the Response<T> on successful completion of Mono.

update

public abstract DatabaseAccountGetResultsInner update(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)

Updates the properties of an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
updateParameters - The parameters to provide for the current database account.

Returns:

an Azure Cosmos DB database account.

update

public abstract DatabaseAccountGetResultsInner update(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters, Context context)

Updates the properties of an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
updateParameters - The parameters to provide for the current database account.
context - The context to associate with this operation.

Returns:

an Azure Cosmos DB database account.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)

Updates the properties of an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
updateParameters - The parameters to provide for the current database account.

Returns:

an Azure Cosmos DB database account on successful completion of Mono.

updateWithResponseAsync

public abstract Mono<><>>> updateWithResponseAsync(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)

Updates the properties of an existing Azure Cosmos DB database account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - Cosmos DB database account name.
updateParameters - The parameters to provide for the current database account.

Returns:

an Azure Cosmos DB database account along with Response<T> on successful completion of Mono.

Applies to