getRoleAssignment

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

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

See also


Return

Role Assignments

Parameters

argument

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

See also