CommunicationServiceResource.RegenerateKeyAsync Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
RegenerateKeyAsync(RegenerateCommunicationServiceKeyContent, CancellationToken) |
Genereer de CommunicationService-toegangssleutel opnieuw. PrimaryKey en SecondaryKey kunnen niet tegelijkertijd opnieuw worden gegenereerd.
|
RegenerateKeyAsync(WaitUntil, RegenerateCommunicationServiceKeyContent, CancellationToken) |
Genereer de CommunicationService-toegangssleutel opnieuw. PrimaryKey en SecondaryKey kunnen niet tegelijkertijd opnieuw worden gegenereerd.
|
RegenerateKeyAsync(RegenerateCommunicationServiceKeyContent, CancellationToken)
Genereer de CommunicationService-toegangssleutel opnieuw. PrimaryKey en SecondaryKey kunnen niet tegelijkertijd opnieuw worden gegenereerd.
- Aanvraagpad/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey
- Bewerkings IdCommunicationServices_RegenerateKey
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))
Parameters
Parameter die de bewerking Sleutel opnieuw genereren beschrijft.
- cancellationToken
- CancellationToken
Het annuleringstoken dat moet worden gebruikt.
Retouren
Uitzonderingen
content
is null.
Van toepassing op
RegenerateKeyAsync(WaitUntil, RegenerateCommunicationServiceKeyContent, CancellationToken)
Genereer de CommunicationService-toegangssleutel opnieuw. PrimaryKey en SecondaryKey kunnen niet tegelijkertijd opnieuw worden gegenereerd.
- Aanvraagpad/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey
- Bewerkings IdCommunicationServices_RegenerateKey
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Communication.Models.CommunicationServiceKeys>> RegenerateKeyAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.Communication.Models.RegenerateCommunicationServiceKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateKeyAsync : Azure.WaitUntil * Azure.ResourceManager.Communication.Models.RegenerateCommunicationServiceKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Communication.Models.CommunicationServiceKeys>>
override this.RegenerateKeyAsync : Azure.WaitUntil * Azure.ResourceManager.Communication.Models.RegenerateCommunicationServiceKeyContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Communication.Models.CommunicationServiceKeys>>
Public Overridable Function RegenerateKeyAsync (waitUntil As WaitUntil, content As RegenerateCommunicationServiceKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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 worden geretourneerd na het starten van de bewerking. Zie Voorbeelden van Azure.Core Long-Running-bewerkingen voor meer informatie over langlopende bewerkingen.
Parameter die de bewerking Sleutel opnieuw genereren beschrijft.
- cancellationToken
- CancellationToken
Het annuleringstoken dat moet worden gebruikt.
Retouren
Uitzonderingen
content
is null.