Show / Hide Table of Contents

Class AssignmentState

Inheritance
System.Object
InputArgs
ResourceArgs
AssignmentState
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.Role
Assembly: Pulumi.Azure.dll
Syntax
public sealed class AssignmentState : ResourceArgs

Constructors

View Source

AssignmentState()

Declaration
public AssignmentState()

Properties

View Source

Name

A unique UUID/GUID for this Role Assignment - one will be generated if not specified. 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

PrincipalId

The ID of the Principal (User, Group or Service Principal) to assign the Role Definition to. Changing this forces a new resource to be created.

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

PrincipalType

The type of the principal_id, e.g. User, Group, Service Principal, Application, etc.

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

RoleDefinitionId

The Scoped-ID of the Role Definition. Changing this forces a new resource to be created. Conflicts with role_definition_name.

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

RoleDefinitionName

The name of a built-in Role. Changing this forces a new resource to be created. Conflicts with role_definition_id.

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

Scope

The scope at which the Role Assignment applies to, such as /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333, /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup, or /subscriptions/0b1f6471-1bf0-4dda-aec3-111122223333/resourceGroups/myGroup/providers/Microsoft.Compute/virtualMachines/myVM, or /providers/Microsoft.Management/managementGroups/myMG. 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

SkipServicePrincipalAadCheck

If the principal_id is a newly provisioned Service Principal set this value to true to skip the Azure Active Directory check which may fail due to replication lag. This argument is only valid if the principal_id is a Service Principal identity. If it is not a Service Principal identity it will cause the role assignment to fail. Defaults to false.

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