Show / Hide Table of Contents

Class DefinitionState

Inheritance
System.Object
InputArgs
ResourceArgs
DefinitionState
Inherited Members
ResourceArgs.Empty
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()
Namespace: Pulumi.Azure.Policy
Assembly: Pulumi.Azure.dll
Syntax
public sealed class DefinitionState : ResourceArgs

Constructors

View Source

DefinitionState()

Declaration
public DefinitionState()

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

Metadata

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.