你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

EdgeOrderCollection.GetAsync(AzureLocation, String, CancellationToken) 方法

定义

获取订单。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/locations/{location}/orders/{orderName}
  • Operation IdGetOrderByName
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EdgeOrder.EdgeOrderResource>> GetAsync (Azure.Core.AzureLocation location, string orderName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EdgeOrder.EdgeOrderResource>>
override this.GetAsync : Azure.Core.AzureLocation * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EdgeOrder.EdgeOrderResource>>
Public Overridable Function GetAsync (location As AzureLocation, orderName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EdgeOrderResource))

参数

location
AzureLocation

Azure 区域的名称。

orderName
String

订单名称。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

orderName 是一个空字符串,预期为非空。

orderName 为 null。

适用于