Dela via


WebAppsOperationsExtensions.GetFunctionAsync Metod

Definition

Hämta funktionsinformation efter dess ID för webbplatsen eller ett distributionsfack.

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)

Parametrar

operations
IWebAppsOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på resursgruppen som resursen tillhör.

name
String

Webbplatsnamn.

functionName
String

Funktionsnamn.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Kommentarer

Beskrivning för Hämta funktionsinformation efter dess ID för webbplatsen eller ett distributionsfack.

Gäller för