Partager via


OrdersOperationsExtensions.ListDCAccessCodeAsync Méthode

Définition

Obtient le code DCAccess

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

Paramètres

operations
IOrdersOperations

Groupe d’opérations pour cette méthode d’extension.

deviceName
String

Le nom de l’appareil

resourceGroupName
String

Nom du groupe de ressources.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à