Freigeben über


WebSiteResource.GetHostKeysAsync(CancellationToken) Methode

Definition

Beschreibung für Abrufen von Hostgeheimnissen für eine Funktions-App.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listkeys
  • Vorgang IdWebApps_ListHostKeys
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.FunctionAppHostKeys>> GetHostKeysAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetHostKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.FunctionAppHostKeys>>
override this.GetHostKeysAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.FunctionAppHostKeys>>
Public Overridable Function GetHostKeysAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of FunctionAppHostKeys))

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: