Aracılığıyla paylaş


IDatabaseAccountsOperations Interface

Definition

DatabaseAccountsOperations operations.

public interface IDatabaseAccountsOperations
type IDatabaseAccountsOperations = interface
Public Interface IDatabaseAccountsOperations

Methods

BeginCreateOrUpdateWithHttpMessagesAsync(String, String, DatabaseAccountCreateUpdateParameters, Dictionary<String,List<String>>, CancellationToken)

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

BeginDeleteWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Deletes an existing Azure Cosmos DB database account.

BeginFailoverPriorityChangeWithHttpMessagesAsync(String, String, IList<FailoverPolicy>, Dictionary<String,List<String>>, 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.

BeginOfflineRegionWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

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

BeginOnlineRegionWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

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

BeginRegenerateKeyWithHttpMessagesAsync(String, String, KeyKind, Dictionary<String,List<String>>, CancellationToken)

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

BeginUpdateWithHttpMessagesAsync(String, String, DatabaseAccountUpdateParameters, Dictionary<String,List<String>>, CancellationToken)

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

CheckNameExistsWithHttpMessagesAsync(String, Dictionary<String,List<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.

CreateOrUpdateWithHttpMessagesAsync(String, String, DatabaseAccountCreateUpdateParameters, Dictionary<String,List<String>>, CancellationToken)

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

DeleteWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Deletes an existing Azure Cosmos DB database account.

FailoverPriorityChangeWithHttpMessagesAsync(String, String, IList<FailoverPolicy>, Dictionary<String,List<String>>, 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.

GetReadOnlyKeysWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

GetWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

ListByResourceGroupWithHttpMessagesAsync(String, Dictionary<String,List<String>>, CancellationToken)

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

ListConnectionStringsWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

ListKeysWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

ListMetricDefinitionsWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

Retrieves metric definitions for the given database account.

ListMetricsWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

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

ListReadOnlyKeysWithHttpMessagesAsync(String, String, Dictionary<String,List<String>>, CancellationToken)

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

ListUsagesWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

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

ListWithHttpMessagesAsync(Dictionary<String,List<String>>, CancellationToken)

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

OfflineRegionWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

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

OnlineRegionWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

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

RegenerateKeyWithHttpMessagesAsync(String, String, KeyKind, Dictionary<String,List<String>>, CancellationToken)

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

UpdateWithHttpMessagesAsync(String, String, DatabaseAccountUpdateParameters, Dictionary<String,List<String>>, CancellationToken)

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

Extension Methods

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.

BeginDeleteAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

Deletes an existing Azure Cosmos DB database account.

BeginFailoverPriorityChangeAsync(IDatabaseAccountsOperations, String, String, IList<FailoverPolicy>, 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.

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

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

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

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

BeginRegenerateKeyAsync(IDatabaseAccountsOperations, String, String, KeyKind, CancellationToken)

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

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

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

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.

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.

DeleteAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

Deletes an existing Azure Cosmos DB database account.

FailoverPriorityChangeAsync(IDatabaseAccountsOperations, String, String, IList<FailoverPolicy>, 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.

GetAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

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

GetReadOnlyKeysAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

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

ListAsync(IDatabaseAccountsOperations, CancellationToken)

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

ListByResourceGroupAsync(IDatabaseAccountsOperations, String, CancellationToken)

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

ListConnectionStringsAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

Lists the connection strings 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.

ListMetricDefinitionsAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

Retrieves metric definitions for the given database account.

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

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

ListReadOnlyKeysAsync(IDatabaseAccountsOperations, String, String, CancellationToken)

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

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

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

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

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

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

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

RegenerateKeyAsync(IDatabaseAccountsOperations, String, String, KeyKind, CancellationToken)

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

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

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

Applies to