getRoleAssignment

Get a role assignment by scope and name. Azure REST API version: 2022-04-01. Other available API versions: 2015-07-01, 2017-10-01-preview, 2020-03-01-preview, 2020-04-01-preview.

Return

Role Assignments

Parameters

argument

null


suspend fun getRoleAssignment(roleAssignmentName: String, scope: String, tenantId: String? = null): GetRoleAssignmentResult

Return

Role Assignments

See also

Parameters

roleAssignmentName

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}'

tenantId

Tenant ID for cross-tenant request


Return

Role Assignments

See also

Parameters

argument

Builder for com.pulumi.azurenative.authorization.kotlin.inputs.GetRoleAssignmentPlainArgs.