Freigeben über


AppServiceEnvironmentCollection.Get(String, CancellationToken) Methode

Definition

Beschreibung für Abrufen der Eigenschaften eines App Service-Umgebung.

  • Anforderungspfad/Abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
  • Vorgangs-IdAppServiceEnvironments_Get
public virtual Azure.Response<Azure.ResourceManager.AppService.AppServiceEnvironmentResource> Get (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.AppServiceEnvironmentResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.AppServiceEnvironmentResource>
Public Overridable Function Get (name As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AppServiceEnvironmentResource)

Parameter

name
String

Name des App Service-Umgebung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

name ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

name ist NULL.

Gilt für: