Delen via


CommunicationServiceResource.RegenerateKey Methode

Definitie

Overloads

RegenerateKey(RegenerateCommunicationServiceKeyContent, CancellationToken)

Genereer de CommunicationService-toegangssleutel opnieuw. PrimaryKey en SecondaryKey kunnen niet tegelijkertijd opnieuw worden gegenereerd.

  • Pad/abonnementen/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey aanvragen
  • Bewerkings IdCommunicationServices_RegenerateKey
RegenerateKey(WaitUntil, RegenerateCommunicationServiceKeyContent, CancellationToken)

Genereer de CommunicationService-toegangssleutel opnieuw. PrimaryKey en SecondaryKey kunnen niet tegelijkertijd opnieuw worden gegenereerd.

  • Pad/abonnementen/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey aanvragen
  • Bewerkings IdCommunicationServices_RegenerateKey

RegenerateKey(RegenerateCommunicationServiceKeyContent, CancellationToken)

Genereer de CommunicationService-toegangssleutel opnieuw. PrimaryKey en SecondaryKey kunnen niet tegelijkertijd opnieuw worden gegenereerd.

  • Pad/abonnementen/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey aanvragen
  • Bewerkings IdCommunicationServices_RegenerateKey
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)

Parameters

content
RegenerateCommunicationServiceKeyContent

Parameter die de bewerking Sleutel opnieuw genereren beschrijft.

cancellationToken
CancellationToken

Het annuleringstoken dat moet worden gebruikt.

Retouren

Uitzonderingen

content is null.

Van toepassing op

RegenerateKey(WaitUntil, RegenerateCommunicationServiceKeyContent, CancellationToken)

Genereer de CommunicationService-toegangssleutel opnieuw. PrimaryKey en SecondaryKey kunnen niet tegelijkertijd opnieuw worden gegenereerd.

  • Pad/abonnementen/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey aanvragen
  • Bewerkings IdCommunicationServices_RegenerateKey
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)

Parameters

waitUntil
WaitUntil

Completed als de methode moet wachten met retourneren totdat de langlopende bewerking op de service is voltooid; Started als deze moet terugkeren na het starten van de bewerking. Zie Voorbeelden van Azure.Core Long-Running-bewerkingen voor meer informatie over langdurige bewerkingen.

content
RegenerateCommunicationServiceKeyContent

Parameter die de bewerking Sleutel opnieuw genereren beschrijft.

cancellationToken
CancellationToken

Het annuleringstoken dat moet worden gebruikt.

Retouren

Uitzonderingen

content is null.

Van toepassing op