Partilhar via


EdgeOrderCollection.GetAsync(AzureLocation, String, CancellationToken) Método

Definição

Obtém um pedido.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/locations/{location}/orders/{orderName}
  • Operação 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))

Parâmetros

location
AzureLocation

O nome da região do Azure.

orderName
String

O nome do pedido.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

orderName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

orderName é nulo.

Aplica-se a