Udostępnij za pośrednictwem


PolicyDefinitionInner Class

Definition

The policy definition.

[Microsoft.Rest.Serialization.JsonTransformation]
public class PolicyDefinitionInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type PolicyDefinitionInner = class
    inherit Resource
Public Class PolicyDefinitionInner
Inherits Resource
Inheritance
PolicyDefinitionInner
Attributes

Constructors

PolicyDefinitionInner()

Initializes a new instance of the PolicyDefinitionInner class.

PolicyDefinitionInner(String, String, String, PolicyType, String, String, String, Object, Object, Object)

Initializes a new instance of the PolicyDefinitionInner class.

Properties

Description

Gets or sets the policy definition description.

DisplayName

Gets or sets the display name of the policy definition.

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
Location

Resource location

(Inherited from Resource)
Metadata

Gets or sets the policy definition metadata.

Mode

Gets or sets the policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.

Name

Resource name

(Inherited from ProxyResource)
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'

Tags

Resource tags

(Inherited from Resource)
Type

Resource type

(Inherited from ProxyResource)

Methods

Validate()

Validate the object. Throws ValidationException if validation fails.

(Inherited from Resource)

Applies to