共用方式為


IWithCreate Interface

Definition

The stage of the definition which contains all the minimum required inputs for the resource to be created, but also allows for any other optional settings to be specified.

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
Derived
Implements

Properties

Key (Inherited from IIndexable)
Name

Gets the name of the creatable resource.

(Inherited from ICreatable<T>)

Methods

Create()

Execute the create request.

(Inherited from ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

Puts the request into the queue and allow the HTTP client to execute it when system resources are available.

(Inherited from ICreatable<T>)
WithBuiltInPolicyType()

Specifies the policy type of PolicyDefinition to be 'BuiltIn'.

(Inherited from IWithPolicyType)
WithCustomPolicyType()

Specifies the policy type of PolicyDefinition to be 'Custom'.

(Inherited from IWithPolicyType)
WithDescription(String)

Specifies the description of PolicyDefinition.

(Inherited from IWithDescription)
WithDisplayName(String)

Specifies the display name of PolicyDefinition.

(Inherited from IWithDisplayName)
WithMode(String)

Specifies the mode of PolicyDefinition.

(Inherited from IWithMode)
WithNotSpecifiedPolicyType()

Specifies the policy type of PolicyDefinition to be 'NotSpecified'.

(Inherited from IWithPolicyType)

Applies to