Freigeben über


StaticSiteResource.ResetApiKeyAsync Methode

Definition

Beschreibung für Setzt den API-Schlüssel für eine vorhandene statische Website zurück.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/resetapikey
  • Vorgangs-IdStaticSites_ResetStaticSiteApiKey
public virtual System.Threading.Tasks.Task<Azure.Response> ResetApiKeyAsync (Azure.ResourceManager.AppService.Models.StaticSiteResetContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member ResetApiKeyAsync : Azure.ResourceManager.AppService.Models.StaticSiteResetContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ResetApiKeyAsync : Azure.ResourceManager.AppService.Models.StaticSiteResetContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ResetApiKeyAsync (content As StaticSiteResetContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameter

content
StaticSiteResetContent

Die zu verwendende StaticSiteResetContent.The StaticSiteResetContent to use.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: