Language

SelfServeExemptionSettings Class

Definition

The self-serve exemption settings for a policy assignment.

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

Constructors

Name Description
SelfServeExemptionSettings()

Creates an new SelfServeExemptionSettings instance.

Properties

Name Description
Enabled

Indicates whether self-serve exemption is enabled.

PolicyDefinitionReferenceId

The policy definition reference IDs for self-serve exemption.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SelfServeExemptionSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SelfServeExemptionSettings.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SelfServeExemptionSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to