Compartir a través de


CommunicationServiceResource.RegenerateKeyAsync Método

Definición

Regenerar la clave de acceso communicationService. PrimaryKey y SecondaryKey no se pueden volver a generar al mismo tiempo.

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

Parámetros

content
RegenerateCommunicationServiceKeyContent

Parámetro que describe la operación regenerar clave.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

content es null.

Se aplica a