Dela via


DataBoxEdgeOrderResource.GetDataCenterAccessCodeAsync Method

Definition

Gets the DCAccess Code

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataBoxEdge/dataBoxEdgeDevices/{deviceName}/orders/default/listDCAccessCode
  • Operation Id: Orders_ListDCAccessCode
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataCenterAccessCode>> GetDataCenterAccessCodeAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDataCenterAccessCodeAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataCenterAccessCode>>
override this.GetDataCenterAccessCodeAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataBoxEdge.Models.DataBoxEdgeDataCenterAccessCode>>
Public Overridable Function GetDataCenterAccessCodeAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataBoxEdgeDataCenterAccessCode))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to