Class DefinitionState
Inheritance
System.Object
DefinitionState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.Azure.dll
Syntax
public sealed class DefinitionState : ResourceArgs
Constructors
View Source
DefinitionState()
Declaration
Properties
View Source
Description
The description of the policy definition.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
DisplayName
The display name of the policy definition.
Declaration
public Input<string> DisplayName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ManagementGroupId
Declaration
public Input<string> ManagementGroupId { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
ManagementGroupName
The name of the Management Group where this policy should be defined. Changing this forces a new resource to be created.
Declaration
public Input<string> ManagementGroupName { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
The metadata for the policy definition. This
is a json object representing additional metadata that should be stored
with the policy definition.
Declaration
public Input<string> Metadata { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Mode
The policy mode that allows you to specify which resource
types will be evaluated. The value can be "All", "Indexed" or
"NotSpecified". Changing this resource forces a new resource to be
created.
Declaration
public Input<string> Mode { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Name
The name of the policy definition. Changing this forces a
new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
Parameters
Parameters for the policy definition. This field
is a json object that allows you to parameterize your policy definition.
Declaration
public Input<string> Parameters { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
PolicyRule
The policy rule for the policy definition. This
is a json object representing the rule that contains an if and
a then block.
Declaration
public Input<string> PolicyRule { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|
View Source
PolicyType
The policy type. Possible values are BuiltIn, Custom and NotSpecified. Changing this forces a new resource to be created.
Declaration
public Input<string> PolicyType { get; set; }
Property Value
| Type |
Description |
| Input<System.String> |
|