Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CosmosDBAccountsImpl 类

定义

注册表的实现。

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)
继承
实现

属性

Inner

注册表的实现。

(继承自 GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
Manager

注册表的实现。

(继承自 GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)

方法

Create(ICreatable<IFluentResourceT>[])

注册表的实现。

(继承自 CreatableResources<IFluentResourceT,FluentResourceT,InnerResourceT>)
Create(IEnumerable<ICreatable<IFluentResourceT>>)

注册表的实现。

(继承自 CreatableResources<IFluentResourceT,FluentResourceT,InnerResourceT>)
CreateAsync(IEnumerable<ICreatable<IFluentResourceT>>, CancellationToken)

注册表的实现。

(继承自 CreatableResources<IFluentResourceT,FluentResourceT,InnerResourceT>)
Define(String)

注册表的实现。

DeleteById(String)

注册表的实现。

(继承自 GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByIdAsync(String, CancellationToken)

注册表的实现。

(继承自 GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByIds(IList<String>)

注册表的实现。

(继承自 TopLevelModifiableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByIds(String[])

注册表的实现。

(继承自 TopLevelModifiableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByIdsAsync(IList<String>, CancellationToken)

注册表的实现。

(继承自 TopLevelModifiableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByIdsAsync(String[], CancellationToken)

注册表的实现。

(继承自 TopLevelModifiableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByResourceGroup(String, String)

注册表的实现。

(继承自 GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteByResourceGroupAsync(String, String, CancellationToken)

注册表的实现。

(继承自 GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
DeleteInnerByGroupAsync(String, String, CancellationToken)

注册表的实现。

FailoverPriorityChange(String, String, IList<Location>)

注册表的实现。

FailoverPriorityChangeAsync(String, String, IList<Location>, CancellationToken)

注册表的实现。

GetById(String)

注册表的实现。

(继承自 GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
GetByIdAsync(String, CancellationToken)

注册表的实现。

(继承自 GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
GetByResourceGroup(String, String)

注册表的实现。

(继承自 GroupableResources<IFluentResourceT,FluentResourceT,InnerResourceT,InnerCollectionT,ManagerT>)
GetByResourceGroupAsync(String, String, CancellationToken)

注册表的实现。

(继承自 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>)

此方法返回一个分页列表,其中每个页面都包含将内部资源包装在给定内部分页列表的对应页中的实例。

(继承自 ReadableWrappers<IFluentResourceT,FluentResourceT,InnerResourceT>)
WrapModel(DatabaseAccountGetResultsInner)

注册表的实现。

WrapModel(InnerResourceT)

注册表的实现。

(继承自 ReadableWrappers<IFluentResourceT,FluentResourceT,InnerResourceT>)
WrapModel(String)

Fluent 模型帮助程序。

显式接口实现

ICosmosDBAccounts.FailoverPriorityChange(String, String, IList<Location>)

更改 Azure CosmosDB 数据库帐户的故障转移优先级。 故障转移优先级为 0 表示写入区域。 故障转移优先级的最大值 = (区域总数 - 1) 。 对于数据库帐户所在的每个区域,故障转移优先级值必须是唯一的。

ICosmosDBAccounts.FailoverPriorityChangeAsync(String, String, IList<Location>, CancellationToken)

更改 Azure CosmosDB 数据库帐户的故障转移优先级。 故障转移优先级为 0 表示写入区域。 故障转移优先级的最大值 = (区域总数 - 1) 。 对于数据库帐户所在的每个区域,故障转移优先级值必须是唯一的。

ICosmosDBAccounts.ListConnectionStrings(String, String)

列出指定 Azure CosmosDB 数据库帐户的连接字符串。

ICosmosDBAccounts.ListConnectionStringsAsync(String, String, CancellationToken)

列出指定 Azure CosmosDB 数据库帐户的连接字符串。

ICosmosDBAccounts.ListKeys(String, String)

列出指定 Azure CosmosDB 数据库帐户的访问密钥。

ICosmosDBAccounts.ListKeysAsync(String, String, CancellationToken)

列出指定 Azure CosmosDB 数据库帐户的访问密钥。

ICosmosDBAccounts.ListReadOnlyKeys(String, String)

列出指定 Azure CosmosDB 数据库帐户的只读访问密钥。

ICosmosDBAccounts.ListReadOnlyKeysAsync(String, String, CancellationToken)

列出指定 Azure CosmosDB 数据库帐户的只读访问密钥。

ICosmosDBAccounts.RegenerateKey(String, String, String)

为指定的 Azure CosmosDB 数据库帐户重新生成访问密钥。

ICosmosDBAccounts.RegenerateKeyAsync(String, String, String, CancellationToken)

为指定的 Azure CosmosDB 数据库帐户重新生成访问密钥。

ISupportsCreating<IBlank>.Define(String)

开始新资源的定义。 这是用于在 Azure 中创建顶级资源的生成器模式的开头。 在 Azure 中完成定义并启动实际资源创建过程的最后一种方法是 Creatable.create () 。 请注意,Creatable.create () 方法仅在指定了最小输入参数集的资源定义阶段可用。 如果在可用方法中看不到 Creatable.create () ,则表示尚未指定所有必需的输入设置。 输入设置通常以单词“with”开头,例如: .withNewResourceGroup() 并返回资源定义的下一阶段,作为“fluent interface”样式的接口。

ISupportsListing<ICosmosDBAccount>.List()

列出当前所选订阅中指定类型的所有资源。

ISupportsListing<ICosmosDBAccount>.ListAsync(Boolean, CancellationToken)

列出当前所选订阅中指定类型的所有资源。

ISupportsListingByResourceGroup<ICosmosDBAccount>.ListByResourceGroup(String)

列出指定资源组中指定类型的资源。

ISupportsListingByResourceGroup<ICosmosDBAccount>.ListByResourceGroupAsync(String, Boolean, CancellationToken)

列出指定资源组中指定类型的资源。

适用于