PolicyDefinitionReference Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The policy definition reference.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyDefinitionReferenceTypeConverter))]
public class PolicyDefinitionReference : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinitionReference
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyDefinitionReferenceTypeConverter))>]
type PolicyDefinitionReference = class
interface IPolicyDefinitionReference
interface IJsonSerializable
Public Class PolicyDefinitionReference
Implements IPolicyDefinitionReference
- Inheritance
-
PolicyDefinitionReference
- Attributes
- Implements
Constructors
PolicyDefinitionReference() |
Creates an new PolicyDefinitionReference instance. |
Properties
DefinitionVersion |
The version of the policy definition to use. |
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. |
Parameter |
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
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of PolicyDefinitionReference. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of PolicyDefinitionReference. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IPolicyDefinitionReference. |
FromJsonString(String) |
Creates a new instance of PolicyDefinitionReference, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of PolicyDefinitionReference into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |