EventGridDomainResource.RegenerateKey Método

Definição

Regenerar uma chave de acesso compartilhado para um domínio.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/regenerateKey
  • IdDomains_RegenerateKey de operação
public virtual Azure.Response<Azure.ResourceManager.EventGrid.Models.EventGridDomainSharedAccessKeys> RegenerateKey (Azure.ResourceManager.EventGrid.Models.EventGridDomainRegenerateKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKey : Azure.ResourceManager.EventGrid.Models.EventGridDomainRegenerateKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.Models.EventGridDomainSharedAccessKeys>
override this.RegenerateKey : Azure.ResourceManager.EventGrid.Models.EventGridDomainRegenerateKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.Models.EventGridDomainSharedAccessKeys>
Public Overridable Function RegenerateKey (content As EventGridDomainRegenerateKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EventGridDomainSharedAccessKeys)

Parâmetros

content
EventGridDomainRegenerateKeyContent

Solicitar que o corpo regenere a chave.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a