CosmosDBAccountsImpl Class

Definition

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

Properties

Inner (Inherited from GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
Manager (Inherited from GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)

Methods

Create(ICreatable<IFluentResourceT>[]) (Inherited from CreatableResources<IFluentResourceT,FluentResourceT,InnerResourceT>)
Create(IEnumerable<ICreatable<IFluentResourceT>>) (Inherited from CreatableResources<IFluentResourceT,FluentResourceT,InnerResourceT>)
CreateAsync(IEnumerable<ICreatable<IFluentResourceT>>, CancellationToken) (Inherited from CreatableResources<IFluentResourceT,FluentResourceT,InnerResourceT>)
Define(String)
DeleteById(String) (Inherited from GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByIdAsync(String, CancellationToken) (Inherited from GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByIds(IList<String>) (Inherited from TopLevelModifiableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByIds(String[]) (Inherited from TopLevelModifiableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByIdsAsync(IList<String>, CancellationToken) (Inherited from TopLevelModifiableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByIdsAsync(String[], CancellationToken) (Inherited from TopLevelModifiableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByResourceGroup(String, String) (Inherited from GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByResourceGroupAsync(String, String, CancellationToken) (Inherited from GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteInnerByGroupAsync(String, String, CancellationToken)
FailoverPriorityChange(String, String, IList<Location>)
FailoverPriorityChangeAsync(String, String, IList<Location>, CancellationToken)
GetById(String) (Inherited from GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
GetByIdAsync(String, CancellationToken) (Inherited from GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
GetByResourceGroup(String, String) (Inherited from GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
GetByResourceGroupAsync(String, String, CancellationToken) (Inherited from GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
GetInnerByGroupAsync(String, String, CancellationToken)
List()
ListAsync(Boolean, CancellationToken)
ListByResourceGroup(String)
ListByResourceGroupAsync(String, Boolean, CancellationToken)
ListConnectionStrings(String, String)
ListConnectionStringsAsync(String, String, CancellationToken)
ListInnerAsync(CancellationToken)
ListInnerByGroupAsync(String, CancellationToken)
ListInnerByGroupNextAsync(String, CancellationToken)
ListInnerNextAsync(String, CancellationToken)
ListKeys(String, String)
ListKeysAsync(String, String, CancellationToken)
ListReadOnlyKeys(String, String)
ListReadOnlyKeysAsync(String, String, CancellationToken)
RegenerateKey(String, String, String)
RegenerateKeyAsync(String, String, String, CancellationToken)
WrapList(IEnumerable<InnerResourceT>)

This method returns a paged list where each page contains the instances that wraps inner resources in the corresponding page of given inner paged list.

(Inherited from ReadableWrappers<IFluentResourceT,FluentResourceT,InnerResourceT>)
WrapModel(DatabaseAccountGetResultsInner)
WrapModel(InnerResourceT) (Inherited from ReadableWrappers<IFluentResourceT,FluentResourceT,InnerResourceT>)
WrapModel(String)

Fluent model helpers.

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: .withNewResourceGroup() and return the next stage of the resource definition, as an interface in the "fluent interface" style.

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