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
Method Details
beginCreateOrUpdate
public abstract SyncPoller
Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
Parameters:
Returns:
beginCreateOrUpdate
public abstract SyncPoller
Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
Parameters:
Returns:
beginCreateOrUpdateAsync
public abstract PollerFlux
Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
Parameters:
Returns:
beginDelete
public abstract SyncPoller
Deletes an existing Azure Cosmos DB database account.
Parameters:
Returns:
beginDelete
public abstract SyncPoller
Deletes an existing Azure Cosmos DB database account.
Parameters:
Returns:
beginDeleteAsync
public abstract PollerFlux
Deletes an existing Azure Cosmos DB database account.
Parameters:
Returns:
beginFailoverPriorityChange
public abstract SyncPoller
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:
Returns:
beginFailoverPriorityChange
public abstract SyncPoller
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:
Returns:
beginFailoverPriorityChangeAsync
public abstract PollerFlux
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:
Returns:
beginOfflineRegion
public abstract SyncPoller
Offline the specified region for the specified Azure Cosmos DB database account.
Parameters:
Returns:
beginOfflineRegion
public abstract SyncPoller
Offline the specified region for the specified Azure Cosmos DB database account.
Parameters:
Returns:
beginOfflineRegionAsync
public abstract PollerFlux
Offline the specified region for the specified Azure Cosmos DB database account.
Parameters:
Returns:
beginOnlineRegion
public abstract SyncPoller
Online the specified region for the specified Azure Cosmos DB database account.
Parameters:
Returns:
beginOnlineRegion
public abstract SyncPoller
Online the specified region for the specified Azure Cosmos DB database account.
Parameters:
Returns:
beginOnlineRegionAsync
public abstract PollerFlux
Online the specified region for the specified Azure Cosmos DB database account.
Parameters:
Returns:
beginRegenerateKey
public abstract SyncPoller
Regenerates an access key for the specified Azure Cosmos DB database account.
Parameters:
Returns:
beginRegenerateKey
public abstract SyncPoller
Regenerates an access key for the specified Azure Cosmos DB database account.
Parameters:
Returns:
beginRegenerateKeyAsync
public abstract PollerFlux
Regenerates an access key for the specified Azure Cosmos DB database account.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller
Updates the properties of an existing Azure Cosmos DB database account.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller
Updates the properties of an existing Azure Cosmos DB database account.
Parameters:
Returns:
beginUpdateAsync
public abstract PollerFlux
Updates the properties of an existing Azure Cosmos DB database account.
Parameters:
Returns:
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:
Returns:
checkNameExistsAsync
public abstract Mono
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:
Returns:
checkNameExistsWithResponse
public abstract Response
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:
Returns:
checkNameExistsWithResponseAsync
public abstract Mono
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:
Returns:
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:
Returns:
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:
Returns:
createOrUpdateAsync
public abstract Mono
Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
Parameters:
Returns:
createOrUpdateWithResponseAsync
public abstract Mono
Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String accountName)
Deletes an existing Azure Cosmos DB database account.
Parameters:
delete
public abstract void delete(String resourceGroupName, String accountName, Context context)
Deletes an existing Azure Cosmos DB database account.
Parameters:
deleteAsync
public abstract Mono
Deletes an existing Azure Cosmos DB database account.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono
Deletes an existing Azure Cosmos DB database account.
Parameters:
Returns:
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:
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:
failoverPriorityChangeAsync
public abstract Mono
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:
Returns:
failoverPriorityChangeWithResponseAsync
public abstract Mono
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:
Returns:
getByResourceGroup
public abstract DatabaseAccountGetResultsInner getByResourceGroup(String resourceGroupName, String accountName)
Retrieves the properties of an existing Azure Cosmos DB database account.
Parameters:
Returns:
getByResourceGroupAsync
public abstract Mono
Retrieves the properties of an existing Azure Cosmos DB database account.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response
Retrieves the properties of an existing Azure Cosmos DB database account.
Parameters:
Returns:
getByResourceGroupWithResponseAsync
public abstract Mono
Retrieves the properties of an existing Azure Cosmos DB database account.
Parameters:
Returns:
getReadOnlyKeys
public abstract DatabaseAccountListReadOnlyKeysResultInner getReadOnlyKeys(String resourceGroupName, String accountName)
Lists the read-only access keys for the specified Azure Cosmos DB database account.
Parameters:
Returns:
getReadOnlyKeysAsync
public abstract Mono
Lists the read-only access keys for the specified Azure Cosmos DB database account.
Parameters:
Returns:
getReadOnlyKeysWithResponse
public abstract Response
Lists the read-only access keys for the specified Azure Cosmos DB database account.
Parameters:
Returns:
getReadOnlyKeysWithResponseAsync
public abstract Mono
Lists the read-only access keys for the specified Azure Cosmos DB database account.
Parameters:
Returns:
list
public abstract PagedIterable
Lists all the Azure Cosmos DB database accounts available under the subscription.
Returns:
list
public abstract PagedIterable
Lists all the Azure Cosmos DB database accounts available under the subscription.
Parameters:
Returns:
listAsync
public abstract PagedFlux
Lists all the Azure Cosmos DB database accounts available under the subscription.
Returns:
listByResourceGroup
public abstract PagedIterable
Lists all the Azure Cosmos DB database accounts available under the given resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Lists all the Azure Cosmos DB database accounts available under the given resource group.
Parameters:
Returns:
listByResourceGroupAsync
public abstract PagedFlux
Lists all the Azure Cosmos DB database accounts available under the given resource group.
Parameters:
Returns:
listConnectionStrings
public abstract DatabaseAccountListConnectionStringsResultInner listConnectionStrings(String resourceGroupName, String accountName)
Lists the connection strings for the specified Azure Cosmos DB database account.
Parameters:
Returns:
listConnectionStringsAsync
public abstract Mono
Lists the connection strings for the specified Azure Cosmos DB database account.
Parameters:
Returns:
listConnectionStringsWithResponse
public abstract Response
Lists the connection strings for the specified Azure Cosmos DB database account.
Parameters:
Returns:
listConnectionStringsWithResponseAsync
public abstract Mono
Lists the connection strings for the specified Azure Cosmos DB database account.
Parameters:
Returns:
listKeys
public abstract DatabaseAccountListKeysResultInner listKeys(String resourceGroupName, String accountName)
Lists the access keys for the specified Azure Cosmos DB database account.
Parameters:
Returns:
listKeysAsync
public abstract Mono
Lists the access keys for the specified Azure Cosmos DB database account.
Parameters:
Returns:
listKeysWithResponse
public abstract Response
Lists the access keys for the specified Azure Cosmos DB database account.
Parameters:
Returns:
listKeysWithResponseAsync
public abstract Mono
Lists the access keys for the specified Azure Cosmos DB database account.
Parameters:
Returns:
listMetricDefinitions
public abstract PagedIterable
Retrieves metric definitions for the given database account.
Parameters:
Returns:
listMetricDefinitions
public abstract PagedIterable
Retrieves metric definitions for the given database account.
Parameters:
Returns:
listMetricDefinitionsAsync
public abstract PagedFlux
Retrieves metric definitions for the given database account.
Parameters:
Returns:
listMetrics
public abstract PagedIterable
Retrieves the metrics determined by the given filter for the given database account.
Parameters:
Returns:
listMetrics
public abstract PagedIterable
Retrieves the metrics determined by the given filter for the given database account.
Parameters:
Returns:
listMetricsAsync
public abstract PagedFlux
Retrieves the metrics determined by the given filter for the given database account.
Parameters:
Returns:
listReadOnlyKeys
public abstract DatabaseAccountListReadOnlyKeysResultInner listReadOnlyKeys(String resourceGroupName, String accountName)
Lists the read-only access keys for the specified Azure Cosmos DB database account.
Parameters:
Returns:
listReadOnlyKeysAsync
public abstract Mono
Lists the read-only access keys for the specified Azure Cosmos DB database account.
Parameters:
Returns:
listReadOnlyKeysWithResponse
public abstract Response
Lists the read-only access keys for the specified Azure Cosmos DB database account.
Parameters:
Returns:
listReadOnlyKeysWithResponseAsync
public abstract Mono
Lists the read-only access keys for the specified Azure Cosmos DB database account.
Parameters:
Returns:
listUsages
public abstract PagedIterable
Retrieves the usages (most recent data) for the given database account.
Parameters:
Returns:
listUsages
public abstract PagedIterable
Retrieves the usages (most recent data) for the given database account.
Parameters:
Returns:
listUsagesAsync
public abstract PagedFlux
Retrieves the usages (most recent data) for the given database account.
Parameters:
Returns:
listUsagesAsync
public abstract PagedFlux
Retrieves the usages (most recent data) for the given database account.
Parameters:
Returns:
offlineRegion
public abstract void offlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOffline)
Offline the specified region for the specified Azure Cosmos DB database account.
Parameters:
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:
offlineRegionAsync
public abstract Mono
Offline the specified region for the specified Azure Cosmos DB database account.
Parameters:
Returns:
offlineRegionWithResponseAsync
public abstract Mono
Offline the specified region for the specified Azure Cosmos DB database account.
Parameters:
Returns:
onlineRegion
public abstract void onlineRegion(String resourceGroupName, String accountName, RegionForOnlineOffline regionParameterForOnline)
Online the specified region for the specified Azure Cosmos DB database account.
Parameters:
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:
onlineRegionAsync
public abstract Mono
Online the specified region for the specified Azure Cosmos DB database account.
Parameters:
Returns:
onlineRegionWithResponseAsync
public abstract Mono
Online the specified region for the specified Azure Cosmos DB database account.
Parameters:
Returns:
regenerateKey
public abstract void regenerateKey(String resourceGroupName, String accountName, DatabaseAccountRegenerateKeyParameters keyToRegenerate)
Regenerates an access key for the specified Azure Cosmos DB database account.
Parameters:
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:
regenerateKeyAsync
public abstract Mono
Regenerates an access key for the specified Azure Cosmos DB database account.
Parameters:
Returns:
regenerateKeyWithResponseAsync
public abstract Mono
Regenerates an access key for the specified Azure Cosmos DB database account.
Parameters:
Returns:
update
public abstract DatabaseAccountGetResultsInner update(String resourceGroupName, String accountName, DatabaseAccountUpdateParameters updateParameters)
Updates the properties of an existing Azure Cosmos DB database account.
Parameters:
Returns:
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:
Returns:
updateAsync
public abstract Mono
Updates the properties of an existing Azure Cosmos DB database account.
Parameters:
Returns:
updateWithResponseAsync
public abstract Mono
Updates the properties of an existing Azure Cosmos DB database account.
Parameters:
Returns:
Applies to
Azure SDK for Java