Compartilhar via


StaticSiteResource.ResetApiKeyAsync Método

Definição

Descrição para Redefinir a chave de API para um site estático existente.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/resetapikey
  • IdStaticSites_ResetStaticSiteApiKey de operação
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

O StaticSiteResetContent a ser usado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a