Compartir a través de


AppServicePlanCollection.GetAsync(String, CancellationToken) Método

Definición

Descripción para Obtener un plan de App Service.

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

Parámetros

name
String

Nombre del plan de App Service.

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