CosmosDBAccountsImpl 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.
Implementation for Registries.
public class CosmosDBAccountsImpl : Microsoft.Azure.Management.ResourceManager.Fluent.Core.TopLevelModifiableResources<Microsoft.Azure.Management.CosmosDB.Fluent.ICosmosDBAccount,Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccountImpl,Microsoft.Azure.Management.CosmosDB.Fluent.Models.DatabaseAccountGetResultsInner,Microsoft.Azure.Management.CosmosDB.Fluent.IDatabaseAccountsOperations,Microsoft.Azure.Management.CosmosDB.Fluent.ICosmosDBManager>, Microsoft.Azure.Management.CosmosDB.Fluent.ICosmosDBAccounts, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsBatchCreation<Microsoft.Azure.Management.CosmosDB.Fluent.ICosmosDBAccount>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsCreating<Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IBlank>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingById<Microsoft.Azure.Management.CosmosDB.Fluent.ICosmosDBAccount>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingByResourceGroup<Microsoft.Azure.Management.CosmosDB.Fluent.ICosmosDBAccount>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListing<Microsoft.Azure.Management.CosmosDB.Fluent.ICosmosDBAccount>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListingByResourceGroup<Microsoft.Azure.Management.CosmosDB.Fluent.ICosmosDBAccount>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.CosmosDB.Fluent.IDatabaseAccountsOperations>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.CosmosDB.Fluent.ICosmosDBManager>
type CosmosDBAccountsImpl = class
inherit TopLevelModifiableResources<ICosmosDBAccount, CosmosDBAccountImpl, DatabaseAccountGetResultsInner, IDatabaseAccountsOperations, ICosmosDBManager>
interface ICosmosDBAccounts
interface IBeta
interface ISupportsCreating<IBlank>
interface IHasManager<ICosmosDBManager>
interface IHasInner<IDatabaseAccountsOperations>
interface ISupportsBatchCreation<ICosmosDBAccount>
interface ISupportsGettingById<ICosmosDBAccount>
interface ISupportsDeletingById
interface ISupportsDeletingByResourceGroup
interface ISupportsListing<ICosmosDBAccount>
interface ISupportsListingByResourceGroup<ICosmosDBAccount>
interface ISupportsGettingByResourceGroup<ICosmosDBAccount>
Public Class CosmosDBAccountsImpl
Inherits TopLevelModifiableResources(Of ICosmosDBAccount, CosmosDBAccountImpl, DatabaseAccountGetResultsInner, IDatabaseAccountsOperations, ICosmosDBManager)
Implements ICosmosDBAccounts, IHasInner(Of IDatabaseAccountsOperations), IHasManager(Of ICosmosDBManager), ISupportsBatchCreation(Of ICosmosDBAccount), ISupportsCreating(Of IBlank), ISupportsGettingById(Of ICosmosDBAccount), ISupportsGettingByResourceGroup(Of ICosmosDBAccount), ISupportsListing(Of ICosmosDBAccount), ISupportsListingByResourceGroup(Of ICosmosDBAccount)
- Inheritance
- Implements
-
ICosmosDBAccounts ISupportsBatchCreation<ICosmosDBAccount> ISupportsCreating<IBlank> ISupportsDeletingById ISupportsDeletingByResourceGroup ISupportsGettingById<ICosmosDBAccount> ISupportsGettingByResourceGroup<ICosmosDBAccount> ISupportsListing<ICosmosDBAccount> ISupportsListingByResourceGroup<ICosmosDBAccount> IBeta IHasInner<IDatabaseAccountsOperations> IHasManager<ICosmosDBManager>
Properties
Methods
Explicit Interface Implementations
ICosmosDBAccounts.FailoverPriorityChange(String, String, IList<Location>) |
Changes the failover priority for the Azure CosmosDB 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. |
ICosmosDBAccounts.FailoverPriorityChangeAsync(String, String, IList<Location>, CancellationToken) |
Changes the failover priority for the Azure CosmosDB 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. |
ICosmosDBAccounts.ListConnectionStrings(String, String) |
Lists the connection strings for the specified Azure CosmosDB database account. |
ICosmosDBAccounts.ListConnectionStringsAsync(String, String, CancellationToken) |
Lists the connection strings for the specified Azure CosmosDB database account. |
ICosmosDBAccounts.ListKeys(String, String) |
Lists the access keys for the specified Azure CosmosDB database account. |
ICosmosDBAccounts.ListKeysAsync(String, String, CancellationToken) |
Lists the access keys for the specified Azure CosmosDB database account. |
ICosmosDBAccounts.ListReadOnlyKeys(String, String) |
Lists the read-only access keys for the specified Azure CosmosDB database account. |
ICosmosDBAccounts.ListReadOnlyKeysAsync(String, String, CancellationToken) |
Lists the read-only access keys for the specified Azure CosmosDB database account. |
ICosmosDBAccounts.RegenerateKey(String, String, String) |
Regenerates an access key for the specified Azure CosmosDB database account. |
ICosmosDBAccounts.RegenerateKeyAsync(String, String, String, CancellationToken) |
Regenerates an access key for the specified Azure CosmosDB database account. |
ISupportsCreating<IBlank>.Define(String) |
Begins a definition for a new resource.
This is the beginning of the builder pattern used to create top level resources
in Azure. The final method completing the definition and starting the actual resource creation
process in Azure is Creatable.create().
Note that the Creatable.create() method is
only available at the stage of the resource definition that has the minimum set of input
parameters specified. If you do not see Creatable.create() among the available methods, it
means you have not yet specified all the required input settings. Input settings generally begin
with the word "with", for example: |
ISupportsListing<ICosmosDBAccount>.List() |
Lists all the resources of the specified type in the currently selected subscription. |
ISupportsListing<ICosmosDBAccount>.ListAsync(Boolean, CancellationToken) |
Lists all the resources of the specified type in the currently selected subscription. |
ISupportsListingByResourceGroup<ICosmosDBAccount>.ListByResourceGroup(String) |
Lists resources of the specified type in the specified resource group. |
ISupportsListingByResourceGroup<ICosmosDBAccount>.ListByResourceGroupAsync(String, Boolean, CancellationToken) |
Lists resources of the specified type in the specified resource group. |
Applies to
Azure SDK for .NET