get Role Assignment
Get a role assignment by scope and name. API Version: 2020-10-01-preview.
Return
Role Assignments
Parameters
argument
null
suspend fun getRoleAssignment(roleAssignmentName: String, scope: String, tenantId: String? = null): GetRoleAssignmentResult
Return
Role Assignments
Parameters
role Assignment Name
The name of the role assignment. It can be any valid GUID.
scope
The scope of the operation or resource. Valid scopes are: subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}'
tenant Id
Tenant ID for cross-tenant request
See also
suspend fun getRoleAssignment(argument: suspend GetRoleAssignmentPlainArgsBuilder.() -> Unit): GetRoleAssignmentResult
Return
Role Assignments
Parameters
argument
Builder for com.pulumi.azurenative.authorization.kotlin.inputs.GetRoleAssignmentPlainArgs.