Compartir a través de


HubResource.GetRoleAssignmentResourceFormatAsync Método

Definición

Obtiene la asignación de roles en el centro.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/roleAssignments/{assignmentName}
  • IdRoleAssignments_Get de operaciones
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))

Parámetros

assignmentName
String

Nombre de la asignación de roles.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

assignmentName es una cadena vacía y se espera que no esté vacía.

assignmentName es null.

Se aplica a