These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.authorization.getRoleDefinition
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Get role definition by name (GUID). API Version: 2018-01-01-preview.
Using getRoleDefinition
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRoleDefinition(args: GetRoleDefinitionArgs, opts?: InvokeOptions): Promise<GetRoleDefinitionResult>
function getRoleDefinitionOutput(args: GetRoleDefinitionOutputArgs, opts?: InvokeOptions): Output<GetRoleDefinitionResult>
def get_role_definition(role_definition_id: Optional[str] = None,
scope: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRoleDefinitionResult
def get_role_definition_output(role_definition_id: Optional[pulumi.Input[str]] = None,
scope: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRoleDefinitionResult]
func LookupRoleDefinition(ctx *Context, args *LookupRoleDefinitionArgs, opts ...InvokeOption) (*LookupRoleDefinitionResult, error)
func LookupRoleDefinitionOutput(ctx *Context, args *LookupRoleDefinitionOutputArgs, opts ...InvokeOption) LookupRoleDefinitionResultOutput
> Note: This function is named LookupRoleDefinition
in the Go SDK.
public static class GetRoleDefinition
{
public static Task<GetRoleDefinitionResult> InvokeAsync(GetRoleDefinitionArgs args, InvokeOptions? opts = null)
public static Output<GetRoleDefinitionResult> Invoke(GetRoleDefinitionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRoleDefinitionResult> getRoleDefinition(GetRoleDefinitionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:authorization:getRoleDefinition
arguments:
# arguments dictionary
The following arguments are supported:
- Role
Definition stringId - The ID of the role definition.
- Scope string
- The scope of the role definition.
- Role
Definition stringId - The ID of the role definition.
- Scope string
- The scope of the role definition.
- role
Definition StringId - The ID of the role definition.
- scope String
- The scope of the role definition.
- role
Definition stringId - The ID of the role definition.
- scope string
- The scope of the role definition.
- role_
definition_ strid - The ID of the role definition.
- scope str
- The scope of the role definition.
- role
Definition StringId - The ID of the role definition.
- scope String
- The scope of the role definition.
getRoleDefinition Result
The following output properties are available:
- Id string
- The role definition ID.
- Name string
- The role definition name.
- Type string
- The role definition type.
- Assignable
Scopes List<string> - Role definition assignable scopes.
- Description string
- The role definition description.
- Permissions
List<Pulumi.
Azure Native. Authorization. Outputs. Permission Response> - Role definition permissions.
- Role
Name string - The role name.
- Role
Type string - The role type.
- Id string
- The role definition ID.
- Name string
- The role definition name.
- Type string
- The role definition type.
- Assignable
Scopes []string - Role definition assignable scopes.
- Description string
- The role definition description.
- Permissions
[]Permission
Response - Role definition permissions.
- Role
Name string - The role name.
- Role
Type string - The role type.
- id String
- The role definition ID.
- name String
- The role definition name.
- type String
- The role definition type.
- assignable
Scopes List<String> - Role definition assignable scopes.
- description String
- The role definition description.
- permissions
List<Permission
Response> - Role definition permissions.
- role
Name String - The role name.
- role
Type String - The role type.
- id string
- The role definition ID.
- name string
- The role definition name.
- type string
- The role definition type.
- assignable
Scopes string[] - Role definition assignable scopes.
- description string
- The role definition description.
- permissions
Permission
Response[] - Role definition permissions.
- role
Name string - The role name.
- role
Type string - The role type.
- id str
- The role definition ID.
- name str
- The role definition name.
- type str
- The role definition type.
- assignable_
scopes Sequence[str] - Role definition assignable scopes.
- description str
- The role definition description.
- permissions
Sequence[Permission
Response] - Role definition permissions.
- role_
name str - The role name.
- role_
type str - The role type.
- id String
- The role definition ID.
- name String
- The role definition name.
- type String
- The role definition type.
- assignable
Scopes List<String> - Role definition assignable scopes.
- description String
- The role definition description.
- permissions List<Property Map>
- Role definition permissions.
- role
Name String - The role name.
- role
Type String - The role type.
Supporting Types
PermissionResponse
- Actions List<string>
- Allowed actions.
- Data
Actions List<string> - Allowed Data actions.
- Not
Actions List<string> - Denied actions.
- Not
Data List<string>Actions - Denied Data actions.
- Actions []string
- Allowed actions.
- Data
Actions []string - Allowed Data actions.
- Not
Actions []string - Denied actions.
- Not
Data []stringActions - Denied Data actions.
- actions List<String>
- Allowed actions.
- data
Actions List<String> - Allowed Data actions.
- not
Actions List<String> - Denied actions.
- not
Data List<String>Actions - Denied Data actions.
- actions string[]
- Allowed actions.
- data
Actions string[] - Allowed Data actions.
- not
Actions string[] - Denied actions.
- not
Data string[]Actions - Denied Data actions.
- actions Sequence[str]
- Allowed actions.
- data_
actions Sequence[str] - Allowed Data actions.
- not_
actions Sequence[str] - Denied actions.
- not_
data_ Sequence[str]actions - Denied Data actions.
- actions List<String>
- Allowed actions.
- data
Actions List<String> - Allowed Data actions.
- not
Actions List<String> - Denied actions.
- not
Data List<String>Actions - Denied Data actions.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi