Language

IPolicyDefinitionReference Interface

Definition

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

Properties

Name Description
DefinitionVersion

The version of the policy definition to use.

EffectiveDefinitionVersion

The effective version of the policy definition in use. This is only present if requested via the $expand query parameter.

GroupName

The name of the groups that this policy definition reference belongs to.

Id

A unique id (within the policy set definition) for this policy definition reference.

LatestDefinitionVersion

The latest version of the policy definition available. This is only present if requested via the $expand query parameter.

Parameter

The policy definition reference parameter values. Restored to its pre-migration named type IParameterValues (renamed to IPolicyDefinitionReferenceParameters).

ParameterRaw

The parameter values for the referenced policy rule. The keys are the parameter names.

PolicyDefinitionId

The ID of the policy definition or policy set definition.

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to