Condividi tramite


CommunicationServiceResource.RegenerateKey Metodo

Definizione

Overload

RegenerateKey(RegenerateCommunicationServiceKeyContent, CancellationToken)

Rigenerare la chiave di accesso CommunicationService. PrimaryKey e SecondaryKey non possono essere rigenerati contemporaneamente.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey
  • IdCommunicationServices_RegenerateKey dell'operazione
RegenerateKey(WaitUntil, RegenerateCommunicationServiceKeyContent, CancellationToken)

Rigenerare la chiave di accesso CommunicationService. PrimaryKey e SecondaryKey non possono essere rigenerati contemporaneamente.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey
  • IdCommunicationServices_RegenerateKey dell'operazione

RegenerateKey(RegenerateCommunicationServiceKeyContent, CancellationToken)

Rigenerare la chiave di accesso CommunicationService. PrimaryKey e SecondaryKey non possono essere rigenerati contemporaneamente.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey
  • IdCommunicationServices_RegenerateKey dell'operazione
public virtual Azure.Response<Azure.ResourceManager.Communication.Models.CommunicationServiceKeys> RegenerateKey (Azure.ResourceManager.Communication.Models.RegenerateCommunicationServiceKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKey : Azure.ResourceManager.Communication.Models.RegenerateCommunicationServiceKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.Models.CommunicationServiceKeys>
override this.RegenerateKey : Azure.ResourceManager.Communication.Models.RegenerateCommunicationServiceKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Communication.Models.CommunicationServiceKeys>
Public Overridable Function RegenerateKey (content As RegenerateCommunicationServiceKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CommunicationServiceKeys)

Parametri

content
RegenerateCommunicationServiceKeyContent

Parametro che descrive l'operazione Rigenera chiave.

cancellationToken
CancellationToken

Token di annullamento da usare.

Restituisce

Eccezioni

content è null.

Si applica a

RegenerateKey(WaitUntil, RegenerateCommunicationServiceKeyContent, CancellationToken)

Rigenerare la chiave di accesso CommunicationService. PrimaryKey e SecondaryKey non possono essere rigenerati contemporaneamente.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey
  • IdCommunicationServices_RegenerateKey dell'operazione
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Communication.Models.CommunicationServiceKeys> RegenerateKey (Azure.WaitUntil waitUntil, Azure.ResourceManager.Communication.Models.RegenerateCommunicationServiceKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKey : Azure.WaitUntil * Azure.ResourceManager.Communication.Models.RegenerateCommunicationServiceKeyContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Communication.Models.CommunicationServiceKeys>
override this.RegenerateKey : Azure.WaitUntil * Azure.ResourceManager.Communication.Models.RegenerateCommunicationServiceKeyContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Communication.Models.CommunicationServiceKeys>
Public Overridable Function RegenerateKey (waitUntil As WaitUntil, content As RegenerateCommunicationServiceKeyContent, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of CommunicationServiceKeys)

Parametri

waitUntil
WaitUntil

Completed se il metodo deve attendere il completamento dell'operazione a esecuzione prolungata nel servizio; Started se deve restituire dopo l'avvio dell'operazione. Per altre informazioni sulle operazioni a esecuzione prolungata, vedere Esempi di operazioni di Azure.Core Long-Running.

content
RegenerateCommunicationServiceKeyContent

Parametro che descrive l'operazione Rigenera chiave.

cancellationToken
CancellationToken

Token di annullamento da usare.

Restituisce

Eccezioni

content è null.

Si applica a