get Role Definition
Use this data source to access information about an existing Role Definition.
Return
A collection of values returned by getRoleDefinition.
Parameters
argument
A collection of arguments for invoking getRoleDefinition.
suspend fun getRoleDefinition(name: String? = null, roleDefinitionId: String? = null, scope: String? = null): GetRoleDefinitionResult
Return
A collection of values returned by getRoleDefinition.
See also
Parameters
name
Specifies the Name of either a built-in or custom Role Definition.
You can also use this for built-in roles such as
Contributor
,Owner
,Reader
andVirtual Machine Contributor
role Definition Id
Specifies the ID of the Role Definition as a UUID/GUID.
scope
Specifies the Scope at which the Custom Role Definition exists.
Note: One of
name
orrole_definition_id
must be specified.
suspend fun getRoleDefinition(argument: suspend GetRoleDefinitionPlainArgsBuilder.() -> Unit): GetRoleDefinitionResult
Return
A collection of values returned by getRoleDefinition.
See also
Parameters
argument
Builder for com.pulumi.azure.authorization.kotlin.inputs.GetRoleDefinitionPlainArgs.