Show / Hide Table of Contents

Class AssignmentArgs

Inheritance
System.Object
InputArgs
ResourceArgs
AssignmentArgs
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 AssignmentArgs : ResourceArgs

Constructors

View Source

AssignmentArgs()

Declaration
public AssignmentArgs()

Properties

View Source

Description

A description to use for this Policy Assignment. Changing this forces a new resource to be created.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DisplayName

A friendly display name to use for this Policy Assignment. Changing this forces a new resource to be created.

Declaration
public Input<string> DisplayName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Identity

An identity block.

Declaration
public Input<AssignmentIdentityArgs> Identity { get; set; }
Property Value
Type Description
Input<AssignmentIdentityArgs>
View Source

Location

The Azure location where this policy assignment should exist. This is required when an Identity is assigned. Changing this forces a new resource to be created.

Declaration
public Input<string> Location { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Name

The name of the Policy Assignment. 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

NotScopes

A list of the Policy Assignment's excluded scopes. The list must contain Resource IDs (such as Subscriptions e.g. /subscriptions/00000000-0000-0000-000000000000 or Resource Groups e.g./subscriptions/00000000-0000-0000-000000000000/resourceGroups/myResourceGroup).

Declaration
public InputList<string> NotScopes { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

Parameters

Parameters for the policy definition. This field is a JSON object that maps to the Parameters field from the Policy Definition. Changing this forces a new resource to be created.

Declaration
public Input<string> Parameters { get; set; }
Property Value
Type Description
Input<System.String>
View Source

PolicyDefinitionId

The ID of the Policy Definition to be applied at the specified Scope.

Declaration
public Input<string> PolicyDefinitionId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Scope

The Scope at which the Policy Assignment should be applied, which must be a Resource ID (such as Subscription e.g. /subscriptions/00000000-0000-0000-000000000000 or a Resource Group e.g./subscriptions/00000000-0000-0000-000000000000/resourceGroups/myResourceGroup). Changing this forces a new resource to be created.

Declaration
public Input<string> Scope { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.