Delen via


PolicyDefinitionReference Constructors

Definition

Overloads

PolicyDefinitionReference()

Initializes a new instance of the PolicyDefinitionReference class.

PolicyDefinitionReference(String, IDictionary<String,ParameterValuesValue>, String, IList<String>)

Initializes a new instance of the PolicyDefinitionReference class.

PolicyDefinitionReference()

Initializes a new instance of the PolicyDefinitionReference class.

public PolicyDefinitionReference ();
Public Sub New ()

Applies to

PolicyDefinitionReference(String, IDictionary<String,ParameterValuesValue>, String, IList<String>)

Initializes a new instance of the PolicyDefinitionReference class.

public PolicyDefinitionReference (string policyDefinitionId, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ResourceManager.Models.ParameterValuesValue> parameters = default, string policyDefinitionReferenceId = default, System.Collections.Generic.IList<string> groupNames = default);
new Microsoft.Azure.Management.ResourceManager.Models.PolicyDefinitionReference : string * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ResourceManager.Models.ParameterValuesValue> * string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.ResourceManager.Models.PolicyDefinitionReference
Public Sub New (policyDefinitionId As String, Optional parameters As IDictionary(Of String, ParameterValuesValue) = Nothing, Optional policyDefinitionReferenceId As String = Nothing, Optional groupNames As IList(Of String) = Nothing)

Parameters

policyDefinitionId
String

The ID of the policy definition or policy set definition.

parameters
IDictionary<String,ParameterValuesValue>

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

policyDefinitionReferenceId
String

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

groupNames
IList<String>

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

Applies to