Compartir a través de


AppServiceEnvironmentCollection.GetAsync(String, CancellationToken) Método

Definición

Descripción para Obtener las propiedades de un App Service Environment.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
  • IdAppServiceEnvironments_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppServiceEnvironmentResource>> GetAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppServiceEnvironmentResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppServiceEnvironmentResource>>
Public Overridable Function GetAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppServiceEnvironmentResource))

Parámetros

name
String

Nombre del App Service Environment.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

name es una cadena vacía y se esperaba que no estuviera vacía.

name es null.

Se aplica a