Udostępnij za pośrednictwem


IPolicyAssignment Interface

Definition

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

public interface IPolicyAssignment : Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.ResourceManager.Fluent.Models.PolicyAssignmentInner>, 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.IPolicyAssignment>
type IPolicyAssignment = interface
    interface IHasName
    interface IHasId
    interface IIndexable
    interface IRefreshable<IPolicyAssignment>
    interface IHasInner<PolicyAssignmentInner>
Public Interface IPolicyAssignment
Implements IHasId, IHasInner(Of PolicyAssignmentInner), IHasName, IIndexable, IRefreshable(Of IPolicyAssignment)
Implements

Properties

Description

Gets the description value.

DisplayName

Gets the display name value.

EnforcementMode

Gets the enforcement mode value.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
Key (Inherited from IIndexable)
Name

Gets the name of the resource

(Inherited from IHasName)
PolicyDefinitionId

Gets the policy definition ID value.

Scope

Gets the scope 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>)

Applies to