Share via


PolicyDefinitionInner Constructors

Definition

Overloads

PolicyDefinitionInner()

Initializes a new instance of the PolicyDefinitionInner class.

PolicyDefinitionInner(String, String, String, PolicyType, String, String, String, Object, Object, Object)

Initializes a new instance of the PolicyDefinitionInner class.

PolicyDefinitionInner()

Initializes a new instance of the PolicyDefinitionInner class.

public PolicyDefinitionInner ();
Public Sub New ()

Applies to

PolicyDefinitionInner(String, String, String, PolicyType, String, String, String, Object, Object, Object)

Initializes a new instance of the PolicyDefinitionInner class.

public PolicyDefinitionInner (string id = default, string name = default, string type = default, Microsoft.Azure.Management.ResourceManager.Fluent.Models.PolicyType policyType = default, string mode = default, string displayName = default, string description = default, object policyRule = default, object metadata = default, object parameters = default);
new Microsoft.Azure.Management.ResourceManager.Fluent.Models.PolicyDefinitionInner : string * string * string * Microsoft.Azure.Management.ResourceManager.Fluent.Models.PolicyType * string * string * string * obj * obj * obj -> Microsoft.Azure.Management.ResourceManager.Fluent.Models.PolicyDefinitionInner
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional policyType As PolicyType = 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 Object = Nothing)

Parameters

id
String
name
String
type
String
policyType
PolicyType

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

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.

parameters
Object

Required if a parameter is used in policy rule.

Applies to