你当前正在访问 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.IPolicyAssignment>, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyAssignment.Definition.IWithDescription, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyAssignment.Definition.IWithDisplayName, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyAssignment.Definition.IWithEnforcementMode
type IWithCreate = interface
    interface ICreatable<IPolicyAssignment>
    interface IIndexable
    interface IWithDescription
    interface IWithDisplayName
    interface IWithEnforcementMode
Public Interface IWithCreate
Implements ICreatable(Of IPolicyAssignment), IWithDescription, IWithDisplayName, IWithEnforcementMode
派生
实现

属性

Key

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

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

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

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

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

指定 PolicyAssignment 的“默认”模式。

(继承自 IWithEnforcementMode)
WithDescription(String)

指定 PolicyAssignment 的说明。

(继承自 IWithDescription)
WithDisplayName(String)

指定 PolicyAssignment 的显示名称。

(继承自 IWithDisplayName)
WithDoNotEnforceMode()

指定 PolicyAssignment 的“DoNotEnforce”模式。

(继承自 IWithEnforcementMode)

适用于