getRoleDefinition

Deprecated

azure.role.getRoleDefinition has been deprecated in favor of azure.authorization.getRoleDefinition

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

Deprecated

azure.role.getRoleDefinition has been deprecated in favor of azure.authorization.getRoleDefinition

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 and Virtual Machine Contributor

roleDefinitionId

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 or role_definition_id must be specified.


Deprecated

azure.role.getRoleDefinition has been deprecated in favor of azure.authorization.getRoleDefinition

Return

A collection of values returned by getRoleDefinition.

See also

Parameters

argument

Builder for com.pulumi.azure.role.kotlin.inputs.GetRoleDefinitionPlainArgs.