PolicyDefinition Class

Definition

The policy definition.

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

Constructors

PolicyDefinition()

Initializes a new instance of the PolicyDefinition class.

Properties

Description

Gets or sets the policy definition description.

DisplayName

Gets or sets the display name of the policy definition.

Id

Gets the ID of the policy definition.

Metadata

Gets or sets the policy definition metadata.

Mode

Gets or sets the policy definition mode. Possible values are NotSpecified, Indexed, and All. Possible values include: 'NotSpecified', 'Indexed', 'All'

Name

Gets the name of the policy definition.

Parameters

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

PolicyRule

Gets or sets the policy rule.

PolicyType

Gets or sets the type of policy definition. Possible values are NotSpecified, BuiltIn, and Custom. Possible values include: 'NotSpecified', 'BuiltIn', 'Custom'

Applies to