Dela via


IUpdate Interface

Definition

The template for a PolicyDefinition update operation, containing all the settings that can be modified.

public interface IUpdate : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyDefinition>, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Update.IWithDescription, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Update.IWithDisplayName, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Update.IWithMode, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Update.IWithPolicyRule, Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Update.IWithPolicyType
type IUpdate = interface
    interface IAppliable<IPolicyDefinition>
    interface IIndexable
    interface IWithDescription
    interface IWithDisplayName
    interface IWithMode
    interface IWithPolicyRule
    interface IWithPolicyType
Public Interface IUpdate
Implements IAppliable(Of IPolicyDefinition), IWithDescription, IWithDisplayName, IWithMode, IWithPolicyRule, IWithPolicyType
Implements

Properties

Key (Inherited from IIndexable)

Methods

Apply()

Execute the update request.

(Inherited from IAppliable<T>)
ApplyAsync(CancellationToken, Boolean)

Execute the update request asynchronously.

(Inherited from IAppliable<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)
WithoutPolicyType()

Removes the policy type of PolicyDefinition.

(Inherited from IWithPolicyType)
WithPolicyRule(Object)

Specifies the policy rule of PolicyDefinition.

(Inherited from IWithPolicyRule)

Applies to