CommunicationServiceResource.RegenerateKey メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
CommunicationService アクセス キーを再生成します。 PrimaryKey と SecondaryKey を同時に再生成することはできません。
- 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}/regenerateKey
- 操作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)
パラメーター
キーの再生成操作を記述するパラメーター。
- cancellationToken
- CancellationToken
使用する取り消しトークン。
戻り値
例外
content
が null です。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET