Compartir a través de


RolesOperationsExtensions.ListByDataBoxEdgeDeviceAsync Método

Definición

Enumera todos los roles configurados en un dispositivo Data Box Edge/Data Box Gateway.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataBoxEdge.Models.Role>> ListByDataBoxEdgeDeviceAsync (this Microsoft.Azure.Management.DataBoxEdge.IRolesOperations operations, string deviceName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListByDataBoxEdgeDeviceAsync : Microsoft.Azure.Management.DataBoxEdge.IRolesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.DataBoxEdge.Models.Role>>
<Extension()>
Public Function ListByDataBoxEdgeDeviceAsync (operations As IRolesOperations, deviceName As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Role))

Parámetros

operations
IRolesOperations

Grupo de operaciones para este método de extensión.

deviceName
String

El nombre de dispositivo.

resourceGroupName
String

El nombre del grupo de recursos.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a