Class AssignmentArgs
Inherited Members
Namespace: Pulumi.Azure.Role
Assembly: Pulumi.Azure.dll
Syntax
public sealed class AssignmentArgs : ResourceArgs
Constructors
View SourceAssignmentArgs()
Declaration
public AssignmentArgs()
Properties
View SourceName
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> |
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> |
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> |
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> |
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> |
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> |