Share via


DatabaseAccountsOperationsExtensions Class

Definition

Extension methods for DatabaseAccountsOperations.

public static class DatabaseAccountsOperationsExtensions
type DatabaseAccountsOperationsExtensions = class
Public Module DatabaseAccountsOperationsExtensions
Inheritance
DatabaseAccountsOperationsExtensions

Methods

BeginCreateOrUpdate(IDatabaseAccountsOperations, String, String, DatabaseAccountCreateUpdateParameters)

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

BeginCreateOrUpdateAsync(IDatabaseAccountsOperations, String, String, DatabaseAccountCreateUpdateParameters, CancellationToken)

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

BeginDelete(IDatabaseAccountsOperations, String, String)

Deletes an existing Azure Cosmos DB database account.

BeginDeleteAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

Deletes an existing Azure Cosmos DB database account.

BeginFailoverPriorityChange(IDatabaseAccountsOperations, String, String, FailoverPolicies)

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.

BeginFailoverPriorityChangeAsync(IDatabaseAccountsOperations, String, String, FailoverPolicies, CancellationToken)

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.

BeginOfflineRegion(IDatabaseAccountsOperations, String, String, RegionForOnlineOffline)

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

BeginOfflineRegionAsync(IDatabaseAccountsOperations, String, String, RegionForOnlineOffline, CancellationToken)

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

BeginOnlineRegion(IDatabaseAccountsOperations, String, String, RegionForOnlineOffline)

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

BeginOnlineRegionAsync(IDatabaseAccountsOperations, String, String, RegionForOnlineOffline, CancellationToken)

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

BeginRegenerateKey(IDatabaseAccountsOperations, String, String, DatabaseAccountRegenerateKeyParameters)

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

BeginRegenerateKeyAsync(IDatabaseAccountsOperations, String, String, DatabaseAccountRegenerateKeyParameters, CancellationToken)

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

BeginUpdate(IDatabaseAccountsOperations, String, String, DatabaseAccountUpdateParameters)

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

BeginUpdateAsync(IDatabaseAccountsOperations, String, String, DatabaseAccountUpdateParameters, CancellationToken)

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

CheckNameExists(IDatabaseAccountsOperations, String)

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.

CheckNameExistsAsync(IDatabaseAccountsOperations, String, CancellationToken)

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.

CreateOrUpdate(IDatabaseAccountsOperations, String, String, DatabaseAccountCreateUpdateParameters)

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

CreateOrUpdateAsync(IDatabaseAccountsOperations, String, String, DatabaseAccountCreateUpdateParameters, CancellationToken)

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

Delete(IDatabaseAccountsOperations, String, String)

Deletes an existing Azure Cosmos DB database account.

DeleteAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

Deletes an existing Azure Cosmos DB database account.

FailoverPriorityChange(IDatabaseAccountsOperations, String, String, FailoverPolicies)

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.

FailoverPriorityChangeAsync(IDatabaseAccountsOperations, String, String, FailoverPolicies, CancellationToken)

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.

Get(IDatabaseAccountsOperations, String, String)

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

GetAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

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

GetReadOnlyKeys(IDatabaseAccountsOperations, String, String)

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

GetReadOnlyKeysAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

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

List(IDatabaseAccountsOperations)

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

ListAsync(IDatabaseAccountsOperations, CancellationToken)

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

ListByResourceGroup(IDatabaseAccountsOperations, String)

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

ListByResourceGroupAsync(IDatabaseAccountsOperations, String, CancellationToken)

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

ListConnectionStrings(IDatabaseAccountsOperations, String, String)

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

ListConnectionStringsAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

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

ListKeys(IDatabaseAccountsOperations, String, String)

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

ListKeysAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

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

ListMetricDefinitions(IDatabaseAccountsOperations, String, String)

Retrieves metric definitions for the given database account.

ListMetricDefinitionsAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

Retrieves metric definitions for the given database account.

ListMetrics(IDatabaseAccountsOperations, String, String, String)

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

ListMetricsAsync(IDatabaseAccountsOperations, String, String, String, CancellationToken)

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

ListReadOnlyKeys(IDatabaseAccountsOperations, String, String)

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

ListReadOnlyKeysAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

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

ListUsages(IDatabaseAccountsOperations, String, String, String)

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

ListUsagesAsync(IDatabaseAccountsOperations, String, String, String, CancellationToken)

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

OfflineRegion(IDatabaseAccountsOperations, String, String, RegionForOnlineOffline)

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

OfflineRegionAsync(IDatabaseAccountsOperations, String, String, RegionForOnlineOffline, CancellationToken)

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

OnlineRegion(IDatabaseAccountsOperations, String, String, RegionForOnlineOffline)

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

OnlineRegionAsync(IDatabaseAccountsOperations, String, String, RegionForOnlineOffline, CancellationToken)

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

RegenerateKey(IDatabaseAccountsOperations, String, String, DatabaseAccountRegenerateKeyParameters)

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

RegenerateKeyAsync(IDatabaseAccountsOperations, String, String, DatabaseAccountRegenerateKeyParameters, CancellationToken)

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

Update(IDatabaseAccountsOperations, String, String, DatabaseAccountUpdateParameters)

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

UpdateAsync(IDatabaseAccountsOperations, String, String, DatabaseAccountUpdateParameters, CancellationToken)

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

Applies to