Share via


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

IWithCreate 接口

定义

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

public interface IWithCreate : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyDefinition>, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Definition.IWithDescription, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Definition.IWithDisplayName, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Definition.IWithMode, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Definition.IWithPolicyType
type IWithCreate = interface
    interface ICreatable<IPolicyDefinition>
    interface IIndexable
    interface IWithDescription
    interface IWithDisplayName
    interface IWithMode
    interface IWithPolicyType
Public Interface IWithCreate
Implements ICreatable(Of IPolicyDefinition), IWithDescription, IWithDisplayName, IWithMode, IWithPolicyType
派生
实现

属性

Key

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

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

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

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

(继承自 ICreatable<T>)
WithBuiltInPolicyType()

将 PolicyDefinition 的策略类型指定为“BuiltIn”。

(继承自 IWithPolicyType)
WithCustomPolicyType()

将 PolicyDefinition 的策略类型指定为“Custom”。

(继承自 IWithPolicyType)
WithDescription(String)

指定 PolicyDefinition 的说明。

(继承自 IWithDescription)
WithDisplayName(String)

指定 PolicyDefinition 的显示名称。

(继承自 IWithDisplayName)
WithMode(String)

指定 PolicyDefinition 的模式。

(继承自 IWithMode)
WithNotSpecifiedPolicyType()

将 PolicyDefinition 的策略类型指定为“NotSpecified”。

(继承自 IWithPolicyType)

适用于