GetRoleDefinition
Use this data source to access information about an existing Role Definition.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
Using GetRoleDefinition
function getRoleDefinition(args: GetRoleDefinitionArgs, opts?: InvokeOptions): Promise<GetRoleDefinitionResult>function get_role_definition(name=None, role_definition_id=None, scope=None, opts=None)func LookupRoleDefinition(ctx *Context, args *LookupRoleDefinitionArgs, opts ...InvokeOption) (*LookupRoleDefinitionResult, error)Note: This function is named
LookupRoleDefinitionin the Go SDK.
public static class GetRoleDefinition {
public static Task<GetRoleDefinitionResult> InvokeAsync(GetRoleDefinitionArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetRoleDefinition Result
The following output properties are available:
- Assignable
Scopes List<string> 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.- Description string
the Description of the built-in Role.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
- Permissions
List<Get
Role Definition Permission> a
permissionsblock as documented below.- Role
Definition stringId - Type string
the Type of the Role.
- Scope string
- Assignable
Scopes []string 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.- Description string
the Description of the built-in Role.
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
- Permissions
[]Get
Role Definition Permission a
permissionsblock as documented below.- Role
Definition stringId - Type string
the Type of the Role.
- Scope string
- assignable
Scopes string[] 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.- description string
the Description of the built-in Role.
- id string
The provider-assigned unique ID for this managed resource.
- name string
- permissions
Get
Role Definition Permission[] a
permissionsblock as documented below.- role
Definition stringId - type string
the Type of the Role.
- scope string
- assignable_
scopes List[str] 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.- description str
the Description of the built-in Role.
- id str
The provider-assigned unique ID for this managed resource.
- name str
- permissions
List[Get
Role Definition Permission] a
permissionsblock as documented below.- role_
definition_ strid - type str
the Type of the Role.
- scope str
Supporting Types
GetRoleDefinitionPermission
See the output API doc for this type.
See the output API doc for this type.
See the output API doc for this type.
- Actions List<string>
a list of actions supported by this role
- Not
Actions List<string> a list of actions which are denied by this role
- Data
Actions List<string> - Not
Data List<string>Actions
- Actions []string
a list of actions supported by this role
- Not
Actions []string a list of actions which are denied by this role
- Data
Actions []string - Not
Data []stringActions
- actions string[]
a list of actions supported by this role
- not
Actions string[] a list of actions which are denied by this role
- data
Actions string[] - not
Data string[]Actions
- actions List[str]
a list of actions supported by this role
- not
Actions List[str] a list of actions which are denied by this role
- data
Actions List[str] - not
Data List[str]Actions
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.