DataBoxEdgeOrderResource.GetDataCenterAccessCodeAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.