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:

Name string
RoleDefinitionId string
Scope string
Name string
RoleDefinitionId string
Scope string
name string
roleDefinitionId string
scope string
name str
role_definition_id str
scope str

GetRoleDefinition Result

The following output properties are available:

AssignableScopes List<string>
Description string
Id string

The provider-assigned unique ID for this managed resource.

Name string
Permissions List<GetRoleDefinitionPermission>
RoleDefinitionId string
Type string
Scope string
AssignableScopes []string
Description string
Id string

The provider-assigned unique ID for this managed resource.

Name string
Permissions []GetRoleDefinitionPermission
RoleDefinitionId string
Type string
Scope string
assignableScopes string[]
description string
id string

The provider-assigned unique ID for this managed resource.

name string
permissions GetRoleDefinitionPermission[]
roleDefinitionId string
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[GetRoleDefinitionPermission]
role_definition_id str
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.

Actions List<string>
NotActions List<string>
DataActions List<string>
NotDataActions List<string>
Actions []string
NotActions []string
DataActions []string
NotDataActions []string
actions string[]
notActions string[]
dataActions string[]
notDataActions string[]
actions List[str]
notActions List[str]
dataActions List[str]
notDataActions List[str]

Package Details

Repository
https://github.com/pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.