Compartilhar via


TrafficControllerCollection.GetAsync(String, CancellationToken) Método

Definição

Obter um TrafficController

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}
  • Operação IdTrafficControllerInterface_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.TrafficControllerResource>> GetAsync (string trafficControllerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.TrafficControllerResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.TrafficControllerResource>>
Public Overridable Function GetAsync (trafficControllerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TrafficControllerResource))

Parâmetros

trafficControllerName
String

nome do controlador de tráfego para path.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

trafficControllerName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

trafficControllerName é nulo.

Aplica-se a