Dela via


OrdersOperationsExtensions.ListDCAccessCodeAsync Method

Definition

Gets the DCAccess Code

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)

Parameters

operations
IOrdersOperations

The operations group for this extension method.

deviceName
String

The device name

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to