Compartir a través de


EventGridDomainResource.RegenerateKeyAsync Método

Definición

Regenera una clave de acceso compartido para un dominio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/domains/{domainName}/regenerateKey
  • IdDomains_RegenerateKey de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.Models.EventGridDomainSharedAccessKeys>> RegenerateKeyAsync (Azure.ResourceManager.EventGrid.Models.EventGridDomainRegenerateKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeyAsync : Azure.ResourceManager.EventGrid.Models.EventGridDomainRegenerateKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.Models.EventGridDomainSharedAccessKeys>>
override this.RegenerateKeyAsync : Azure.ResourceManager.EventGrid.Models.EventGridDomainRegenerateKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.EventGrid.Models.EventGridDomainSharedAccessKeys>>
Public Overridable Function RegenerateKeyAsync (content As EventGridDomainRegenerateKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EventGridDomainSharedAccessKeys))

Parámetros

content
EventGridDomainRegenerateKeyContent

Cuerpo de la solicitud para regenerar la clave.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a