Language

PolicySetDefinitionVersion Class

Definition

The policy set definition version.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicySetDefinitionVersionTypeConverter))]
public class PolicySetDefinitionVersion : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicySetDefinitionVersion
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicySetDefinitionVersionTypeConverter))]
public class PolicySetDefinitionVersion : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicySetDefinitionVersion, Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicySetDefinitionVersionTypeConverter))>]
type PolicySetDefinitionVersion = class
    interface IPolicySetDefinitionVersion
    interface IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicySetDefinitionVersionTypeConverter))>]
type PolicySetDefinitionVersion = class
    interface IPolicySetDefinitionVersion
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class PolicySetDefinitionVersion
Implements IPolicySetDefinitionVersion
Public Class PolicySetDefinitionVersion
Implements IPolicySetDefinitionVersion, IValidates
Inheritance
PolicySetDefinitionVersion
Attributes
Implements

Constructors

Name Description
PolicySetDefinitionVersion()

Creates an new PolicySetDefinitionVersion instance.

Properties

Name Description
Description

The policy set definition description.

DisplayName

The display name of the policy set definition.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

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 resource

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 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. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Version

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

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of PolicySetDefinitionVersion.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of PolicySetDefinitionVersion.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of PolicySetDefinitionVersion into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to