Freigeben über


HubResource.GetRoleAssignmentResourceFormatAsync Methode

Definition

Ruft die Rollenzuweisung im Hub ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/roleAssignments/{assignmentName}
  • Vorgangs-IdRoleAssignments_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.RoleAssignmentResourceFormatResource>> GetRoleAssignmentResourceFormatAsync (string assignmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRoleAssignmentResourceFormatAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.RoleAssignmentResourceFormatResource>>
override this.GetRoleAssignmentResourceFormatAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CustomerInsights.RoleAssignmentResourceFormatResource>>
Public Overridable Function GetRoleAssignmentResourceFormatAsync (assignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RoleAssignmentResourceFormatResource))

Parameter

assignmentName
String

Der Name der Rollenzuweisung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

assignmentName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

assignmentName ist NULL.

Gilt für: