Compartir a través de


TrafficControllerResource.GetFrontendAsync(String, CancellationToken) Método

Definición

Obtener un front-end

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}/frontends/{frontendName}
  • IdFrontendsInterface_Get de operaciones
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-end.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

frontendName es una cadena vacía y se espera que no esté vacía.

frontendName es null.

Se aplica a