Compartilhar via


TrafficControllerResource.GetFrontendAsync(String, CancellationToken) Método

Definição

Obter um front-end

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

Parâmetros

frontendName
String

Front-ends.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

frontendName é nulo.

Aplica-se a