Share via


WebAppsOperationsExtensions.ListHostKeysSlotAsync Method

Definition

Get host secrets for a function app.

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

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Site name.

slot
String

Name of the deployment slot.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Get host secrets for a function app.

Applies to