Aracılığıyla paylaş


PolicyDefinition Constructors

Definition

Overloads

PolicyDefinition()

Initializes a new instance of the PolicyDefinition class.

PolicyDefinition(String, String, String, String, Object, Object, IDictionary<String,ParameterDefinitionsValue>, String, String, String, SystemData)

Initializes a new instance of the PolicyDefinition class.

PolicyDefinition()

Initializes a new instance of the PolicyDefinition class.

public PolicyDefinition ();
Public Sub New ()

Applies to

PolicyDefinition(String, String, String, String, Object, Object, IDictionary<String,ParameterDefinitionsValue>, String, String, String, SystemData)

Initializes a new instance of the PolicyDefinition class.

public PolicyDefinition (string policyType = default, string mode = default, string displayName = default, string description = default, object policyRule = default, object metadata = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.ResourceManager.Models.ParameterDefinitionsValue> parameters = default, string id = default, string name = default, string type = default, Microsoft.Azure.Management.ResourceManager.Models.SystemData systemData = default);
new Microsoft.Azure.Management.ResourceManager.Models.PolicyDefinition : string * string * string * string * obj * obj * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.ResourceManager.Models.ParameterDefinitionsValue> * string * string * string * Microsoft.Azure.Management.ResourceManager.Models.SystemData -> Microsoft.Azure.Management.ResourceManager.Models.PolicyDefinition
Public Sub New (Optional policyType As String = Nothing, Optional mode As String = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional policyRule As Object = Nothing, Optional metadata As Object = Nothing, Optional parameters As IDictionary(Of String, ParameterDefinitionsValue) = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional systemData As SystemData = Nothing)

Parameters

policyType
String

The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. Possible values include: 'NotSpecified', 'BuiltIn', 'Custom', 'Static'

mode
String

The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.

displayName
String

The display name of the policy definition.

description
String

The policy definition description.

policyRule
Object

The policy rule.

metadata
Object

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

parameters
IDictionary<String,ParameterDefinitionsValue>

The parameter definitions for parameters used in the policy rule. The keys are the parameter names.

id
String

The ID of the policy definition.

name
String

The name of the policy definition.

type
String

The type of the resource (Microsoft.Authorization/policyDefinitions).

systemData
SystemData

The system metadata relating to this resource.

Applies to