다음을 통해 공유


PolicyExemption Class

Definition

The policy exemption.

[Microsoft.Rest.Serialization.JsonTransformation]
public class PolicyExemption : Microsoft.Rest.Azure.IResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type PolicyExemption = class
    interface IResource
Public Class PolicyExemption
Implements IResource
Inheritance
PolicyExemption
Attributes
Implements

Constructors

PolicyExemption()

Initializes a new instance of the PolicyExemption class.

PolicyExemption(String, String, IList<String>, Nullable<DateTime>, String, String, Object, SystemData, String, String, String)

Initializes a new instance of the PolicyExemption class.

Properties

Description

Gets or sets the description of the policy exemption.

DisplayName

Gets or sets the display name of the policy exemption.

ExemptionCategory

Gets or sets the policy exemption category. Possible values are Waiver and Mitigated. Possible values include: 'Waiver', 'Mitigated'

ExpiresOn

Gets or sets the expiration date and time (in UTC ISO 8601 format yyyy-MM-ddTHH:mm:ssZ) of the policy exemption.

Id

Gets the ID of the policy exemption.

Metadata

Gets or sets the policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs.

Name

Gets the name of the policy exemption.

PolicyAssignmentId

Gets or sets the ID of the policy assignment that is being exempted.

PolicyDefinitionReferenceIds

Gets or sets the policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.

SystemData

Gets azure Resource Manager metadata containing createdBy and modifiedBy information.

Type

Gets the type of the resource (Microsoft.Authorization/policyExemptions).

Methods

Validate()

Validate the object.

Applies to