Compartir a través de


StaticSiteResource.ResetApiKeyAsync Método

Definición

Descripción para Restablecer la clave de API de un sitio estático existente.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/resetapikey
  • IdStaticSites_ResetStaticSiteApiKey de operaciones
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)

Parámetros

content
StaticSiteResetContent

StaticSiteResetContent que se va a usar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a