Freigeben über


WebAppsOperationsExtensions.GetFunctionAsync Methode

Definition

Rufen Sie Funktionsinformationen nach der ID für die Website oder einem Bereitstellungsslot ab.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.FunctionEnvelopeInner> GetFunctionAsync(this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, string functionName, System.Threading.CancellationToken cancellationToken = default);
static member GetFunctionAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.FunctionEnvelopeInner>
<Extension()>
Public Function GetFunctionAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, functionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FunctionEnvelopeInner)

Parameter

operations
IWebAppsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Name der Ressourcengruppe, zu der die Ressource gehört.

name
String

Websitename.

functionName
String

Funktionsname

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Hinweise

Beschreibung für Abrufen von Funktionsinformationen nach ihrer ID für website oder einem Bereitstellungsslot.

Gilt für: