共用方式為


IDefinition Interface

Definition

The entirety of the PolicyAssignment definition.

public interface IDefinition : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyAssignment>, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyAssignment.Definition.IBlank, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyAssignment.Definition.IWithCreate, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyAssignment.Definition.IWithPolicyDefinition
type IDefinition = interface
    interface IBlank
    interface IWithScope
    interface IWithPolicyDefinition
    interface IWithCreate
    interface ICreatable<IPolicyAssignment>
    interface IIndexable
    interface IWithDescription
    interface IWithDisplayName
    interface IWithEnforcementMode
Public Interface IDefinition
Implements IBlank, ICreatable(Of IPolicyAssignment), IWithCreate, IWithPolicyDefinition
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>)
ForResource(IGenericResource)

Specifies the scope of PolicyAssignment to be a resource.

(Inherited from IWithScope)
ForResourceGroup(IResourceGroup)

Specifies the scope of PolicyAssignment to be a resource group.

(Inherited from IWithScope)
ForScope(String)

Specifies the scope of PolicyAssignment.

(Inherited from IWithScope)
WithDefaultMode()

Specifies the 'Default' mode of PolicyAssignment.

(Inherited from IWithEnforcementMode)
WithDescription(String)

Specifies the description of PolicyAssignment.

(Inherited from IWithDescription)
WithDisplayName(String)

Specifies the display name of PolicyAssignment.

(Inherited from IWithDisplayName)
WithDoNotEnforceMode()

Specifies the 'DoNotEnforce' mode of PolicyAssignment.

(Inherited from IWithEnforcementMode)
WithPolicyDefinition(IPolicyDefinition)

Specifies the policy definition of PolicyAssignment.

(Inherited from IWithPolicyDefinition)
WithPolicyDefinitionId(String)

Specifies the policy definition ID of PolicyAssignment.

(Inherited from IWithPolicyDefinition)

Applies to