次の方法で共有


HubResource.GetRoleAssignmentResourceFormat(String, CancellationToken) メソッド

定義

ハブ内のロールの割り当てを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/roleAssignments/{assignmentName}
  • 操作IdRoleAssignments_Get
public virtual Azure.Response<Azure.ResourceManager.CustomerInsights.RoleAssignmentResourceFormatResource> GetRoleAssignmentResourceFormat (string assignmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoleAssignmentResourceFormat : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.RoleAssignmentResourceFormatResource>
override this.GetRoleAssignmentResourceFormat : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CustomerInsights.RoleAssignmentResourceFormatResource>
Public Overridable Function GetRoleAssignmentResourceFormat (assignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of RoleAssignmentResourceFormatResource)

パラメーター

assignmentName
String

ロールの割り当ての名前。

cancellationToken
CancellationToken

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

戻り値

例外

assignmentName は空の文字列であり、空でないと予想されていました。

assignmentName が null です。

適用対象