Condividi tramite


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, FailoverPolicies, 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, RegionForOnlineOffline, Dictionary<String,List<String>>, CancellationToken)

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

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

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

BeginRegenerateKeyWithHttpMessagesAsync(String, String, DatabaseAccountRegenerateKeyParameters, 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, FailoverPolicies, 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, RegionForOnlineOffline, Dictionary<String,List<String>>, CancellationToken)

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

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

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

RegenerateKeyWithHttpMessagesAsync(String, String, DatabaseAccountRegenerateKeyParameters, 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

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