WebAppsOperationsExtensions.GetFunctionsAdminTokenSlotAsync(IWebAppsOperations, String, String, String, CancellationToken) Method

Definition

Fetch a short lived token that can be exchanged for a master key.

public static System.Threading.Tasks.Task<string> GetFunctionsAdminTokenSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string slot, System.Threading.CancellationToken cancellationToken = null);
static member GetFunctionsAdminTokenSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of web app.

slot
System.String

Name of web app slot. If not specified then will default to production slot.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<System.String>

Remarks

Fetch a short lived token that can be exchanged for a master key.

Applies to