Dela via


PolicyExemptionProperties Class

Definition

The policy exemption properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyExemptionPropertiesTypeConverter))]
public class PolicyExemptionProperties : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyExemptionProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyExemptionPropertiesTypeConverter))>]
type PolicyExemptionProperties = class
    interface IPolicyExemptionProperties
    interface IJsonSerializable
Public Class PolicyExemptionProperties
Implements IPolicyExemptionProperties
Inheritance
PolicyExemptionProperties
Attributes
Implements

Constructors

PolicyExemptionProperties()

Creates an new PolicyExemptionProperties instance.

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.

Metadata

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

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PolicyExemptionProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PolicyExemptionProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyExemptionProperties.

FromJsonString(String)

Creates a new instance of PolicyExemptionProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of PolicyExemptionProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to