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

IWithCreate 接口

定义

定义的阶段,它包含要创建的资源所需的所有最小输入,但也允许指定任何其他可选设置。

public interface IWithCreate : Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithAutomaticFailover, Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithChildResource, Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithConnector, Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithConsistencyPolicy, Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithIpRangeFilter, Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithKeyBasedMetadataWriteAccess, Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithKeyVault, Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithMultipleLocations, Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithPrivateEndpointConnection, Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithReadReplication, Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithVirtualNetworkRule, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.Resource.Definition.IDefinitionWithTags<Microsoft.Azure.Management.CosmosDB.Fluent.CosmosDBAccount.Definition.IWithCreate>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.CosmosDB.Fluent.ICosmosDBAccount>
type IWithCreate = interface
    interface ICreatable<ICosmosDBAccount>
    interface IIndexable
    interface IWithConsistencyPolicy
    interface IWithReadReplication
    interface IWithIpRangeFilter
    interface IWithVirtualNetworkRule
    interface IBeta
    interface IWithMultipleLocations
    interface IWithConnector
    interface IWithKeyBasedMetadataWriteAccess
    interface IWithPrivateEndpointConnection
    interface IWithAutomaticFailover
    interface IWithKeyVault
    interface IWithChildResource
    interface IDefinitionWithTags<IWithCreate>
Public Interface IWithCreate
Implements IBeta, ICreatable(Of ICosmosDBAccount), IDefinitionWithTags(Of IWithCreate), IWithAutomaticFailover, IWithChildResource, IWithConnector, IWithConsistencyPolicy, IWithIpRangeFilter, IWithKeyBasedMetadataWriteAccess, IWithKeyVault, IWithMultipleLocations, IWithPrivateEndpointConnection, IWithReadReplication, IWithVirtualNetworkRule
派生
实现

属性

Key

定义的阶段,它包含要创建的资源所需的所有最小输入,但也允许指定任何其他可选设置。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

(继承自 ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行它。

(继承自 ICreatable<T>)
DefineNewCassandraKeyspace(String)

定义新的 Cassandra 密钥空间。

(继承自 IWithChildResource)
DefineNewGremlinDatabase(String)

定义新的 Gremlin 数据库。

(继承自 IWithChildResource)
DefineNewMongoDB(String)

定义新的 Mongo 数据库。

(继承自 IWithChildResource)
DefineNewPrivateEndpointConnection(String)

启动要附加到 cosmos db 帐户的专用终结点连接的定义。

(继承自 IWithPrivateEndpointConnection)
DefineNewSqlDatabase(String)

定义新的 SQL 数据库。

(继承自 IWithChildResource)
DefineNewTable(String)

定义新的表数据库。

(继承自 IWithChildResource)
WithAutomaticFailoverEnabled(Boolean)

指定是否为此 cosmos db 帐户启用自动故障转移。

(继承自 IWithAutomaticFailover)
WithBoundedStalenessConsistency(Int64, Int32)

CosmosDB 帐户的有限过期一致性策略。

(继承自 IWithConsistencyPolicy)
WithCassandraConnector(ConnectorOffer)

指定 cassandra 连接器的连接器产品/服务。

(继承自 IWithConnector)
WithDisableKeyBaseMetadataWriteAccess(Boolean)

指定是否应禁用元数据写入访问。

(继承自 IWithKeyBasedMetadataWriteAccess)
WithEventualConsistency()

CosmosDB 帐户的最终一致性策略。

(继承自 IWithConsistencyPolicy)
WithIpRangeFilter(String)

CosmosDB 防火墙支持:此值以 CIDR 形式指定要作为给定数据库帐户的客户端 IP 允许列表包含的一组 IP 地址或 IP 地址范围。 IP 地址/范围必须以逗号分隔,且不能包含空格。

(继承自 IWithIpRangeFilter)
WithKeyVault(String)

指定此 cosmos db 帐户的密钥保管库 URI。

(继承自 IWithKeyVault)
WithMultipleWriteLocationsEnabled(Boolean)

指定是否为此 cosmos db 帐户启用多个写入位置。

(继承自 IWithMultipleLocations)
WithReadReplication(Region, Nullable<Boolean>)

设置 CosmosDB 帐户的读取位置。

(继承自 IWithReadReplication)
WithSessionConsistency()

CosmosDB 帐户的会话一致性策略。

(继承自 IWithConsistencyPolicy)
WithStrongConsistency()

CosmosDB 帐户的强一致性策略。

(继承自 IWithConsistencyPolicy)
WithTag(String, String)

将标记添加到资源。

(继承自 IDefinitionWithTags<T>)
WithTags(IDictionary<String,String>)

将资源的标记指定为 {@link Map}。

(继承自 IDefinitionWithTags<T>)
WithVirtualNetworkFilterEnabled(Boolean)

手动指定 虚拟网络 Fileter。

(继承自 IWithVirtualNetworkRule)
WithVirtualNetworkRule(String, String, Nullable<Boolean>)

为 CosmosDB 帐户指定虚拟网络 ACL 规则。

(继承自 IWithVirtualNetworkRule)
WithVirtualNetworkRules(IList<VirtualNetworkRule>)

指定 CosmosDB 帐户虚拟网络 ACL 规则的列表。

(继承自 IWithVirtualNetworkRule)

适用于