DatabaseAccountsOperationsExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods for DatabaseAccountsOperations.
public static class DatabaseAccountsOperationsExtensions
type DatabaseAccountsOperationsExtensions = class
Public Module DatabaseAccountsOperationsExtensions
- Inheritance
-
DatabaseAccountsOperationsExtensions
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor