GetRoleDefinition
Deprecated: azure.role.getRoleDefinition has been deprecated in favor of azure.authorization.getRoleDefinition
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 GetRoleDefinition(ctx *Context, args *GetRoleDefinitionArgs, opts ...InvokeOption) (*GetRoleDefinitionResult, error)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> - Description string
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
- Permissions
List<Get
Role Definition Permission> - Role
Definition stringId - Type string
- Scope string
- Assignable
Scopes []string - Description string
- Id string
The provider-assigned unique ID for this managed resource.
- Name string
- Permissions
[]Get
Role Definition Permission - Role
Definition stringId - Type string
- Scope string
- assignable
Scopes string[] - description string
- id string
The provider-assigned unique ID for this managed resource.
- name string
- permissions
Get
Role Definition Permission[] - role
Definition stringId - type string
- scope string
- assignable_
scopes List[str] - description str
- id str
The provider-assigned unique ID for this managed resource.
- name str
- permissions
List[Get
Role Definition Permission] - role_
definition_ strid - type str
- 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.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.