Partilhar via


FrontendCollection.GetAsync(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}
  • IdFrontendsInterface_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>> GetAsync (string frontendName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ServiceNetworking.FrontendResource>>
Public Overridable Function GetAsync (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 era esperado que não estivesse vazio.

frontendName é nulo.

Aplica-se a