PolicyAssignment Class

Definition

The policy assignment.

[Microsoft.Rest.Serialization.JsonTransformation]
public class PolicyAssignment : Microsoft.Rest.Azure.IResource
type PolicyAssignment = class
    interface IResource
Public Class PolicyAssignment
Implements IResource
Inheritance
System.Object
PolicyAssignment
Attributes
Implements
Microsoft.Rest.Azure.IResource

Constructors

PolicyAssignment()

Initializes a new instance of the PolicyAssignment class.

Properties

Description

Gets or sets this message will be part of response in case of policy violation.

DisplayName

Gets or sets the display name of the policy assignment.

Id

Gets the ID of the policy assignment.

Metadata

Gets or sets the policy assignment metadata.

Name

Gets the name of the policy assignment.

NotScopes

Gets or sets the policy's excluded scopes.

Parameters

Gets or sets required if a parameter is used in policy rule.

PolicyDefinitionId

Gets or sets the ID of the policy definition.

Scope

Gets or sets the scope for the policy assignment.

Type

Gets the type of the policy assignment.

Applies to