IDefinition Interface

Definition

The entirety of the PolicyDefinition definition.

public interface IDefinition : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyDefinition>, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Definition.IBlank, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Definition.IWithCreate
type IDefinition = interface
    interface IBlank
    interface IWithPolicyRule
    interface IWithCreate
    interface ICreatable<IPolicyDefinition>
    interface IIndexable
    interface IWithDescription
    interface IWithDisplayName
    interface IWithMode
    interface IWithPolicyType
Public Interface IDefinition
Implements IBlank, ICreatable(Of IPolicyDefinition), IWithCreate
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)
WithPolicyRule(Object)

Specifies the policy rule of PolicyDefinition.

(Inherited from IWithPolicyRule)
WithPolicyRuleJson(String)

Specifies the policy rule of PolicyDefinition.

(Inherited from IWithPolicyRule)

Applies to