Compartilhar via


IPolicyExemption Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyExemptionTypeConverter))]
public interface IPolicyExemption : Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyExemptionTypeConverter))>]
type IPolicyExemption = interface
    interface IJsonSerializable
Public Interface IPolicyExemption
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

AssignmentScopeValidation

The option whether validate the exemption is at or under the assignment scope.

Description

The description of the policy exemption.

DisplayName

The display name of the policy exemption.

ExemptionCategory

The policy exemption category. Possible values are Waiver and Mitigated.

ExpiresOn

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

Id

The ID of the policy exemption.

Metadata

The policy exemption metadata. Metadata is an open ended object and is typically a collection of key value pairs.

Name

The name of the policy exemption.

PolicyAssignmentId

The ID of the policy assignment that is being exempted.

PolicyDefinitionReferenceId

The policy definition reference ID list when the associated policy assignment is an assignment of a policy set definition.

ResourceSelector

The resource selector list to filter policies by resource properties.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

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

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to