Compartilhar via


PolicySetDefinition Class

Definition

The policy set definition.

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

Constructors

PolicySetDefinition()

Creates an new PolicySetDefinition instance.

Properties

Description

The policy set definition description.

DisplayName

The display name of the policy set definition.

Id

The ID of the policy set definition.

Metadata

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

Name

The name of the policy set definition.

Parameter

The policy set definition parameters that can be used in policy definition references.

PolicyDefinition

An array of policy definition references.

PolicyDefinitionGroup

The metadata describing groups of policy definition references within the policy set definition.

PolicyType

The type of policy set definition. Possible values are NotSpecified, BuiltIn, Custom, and Static.

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/policySetDefinitions).

Version

The policy set definition version in #.#.# format.

Versions

A list of available versions for this policy set definition.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PolicySetDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PolicySetDefinition.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PolicySetDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to