RoleAssignmentResource.Get(String, CancellationToken) メソッド

定義

スコープと名前でロールの割り当てを取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • 操作IdRoleAssignments_Get
public virtual Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentResource> Get (string tenantId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Authorization.RoleAssignmentResource>
Public Overridable Function Get (Optional tenantId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RoleAssignmentResource)

パラメーター

tenantId
String

テナント間要求のテナント ID。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

適用対象