Class RoleDefinitionState
Inherited Members
Namespace: Pulumi.Azure.Authorization
Assembly: Pulumi.Azure.dll
Syntax
public sealed class RoleDefinitionState : ResourceArgs
Constructors
View SourceRoleDefinitionState()
Declaration
public RoleDefinitionState()
Properties
View SourceAssignableScopes
One or more assignable scopes for this Role Definition, 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.
Declaration
public InputList<string> AssignableScopes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Description
A description of the Role Definition.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the Role Definition. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Permissions
A permissions block as defined below.
Declaration
public InputList<RoleDefinitionPermissionGetArgs> Permissions { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<RoleDefinitionPermissionGetArgs> |
RoleDefinitionId
A unique UUID/GUID which identifies this role - one will be generated if not specified. Changing this forces a new resource to be created.
Declaration
public Input<string> RoleDefinitionId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Scope
The scope at which the Role Definition applies too, 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. It is recommended to use the first entry of the assignable_scopes. Changing this forces a new resource to be created.
Declaration
public Input<string> Scope { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |