共用方式為


IPolicyDefinition Interface

Definition

An immutable client-side representation of an Azure Policy Definition.

public interface IPolicyDefinition : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IIndexable, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.ResourceManager.Fluent.IPolicyDefinition>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.ResourceManager.Fluent.PolicyDefinition.Update.IUpdate>
type IPolicyDefinition = interface
    interface IHasName
    interface IHasId
    interface IIndexable
    interface IRefreshable<IPolicyDefinition>
    interface IUpdatable<IUpdate>
Public Interface IPolicyDefinition
Implements IHasId, IHasName, IIndexable, IRefreshable(Of IPolicyDefinition), IUpdatable(Of IUpdate)
Implements

Properties

Description

Gets the description value.

DisplayName

Gets the display name value.

Id

Gets the resource id string

(Inherited from IHasId)
Key (Inherited from IIndexable)
Mode

Gets the mode value.

Name

Gets the name of the resource

(Inherited from IHasName)
PolicyRule

Gets the policy rule value.

PolicyType

Gets the policy type value.

Methods

Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
Update() (Inherited from IUpdatable<T>)

Applies to