你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AppPlatformServiceResource.RegenerateTestKey 方法

定义

为服务重新生成测试密钥。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/regenerateTestKey
  • 操作IdServices_RegenerateTestKey
public virtual Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceTestKeys> RegenerateTestKey (Azure.ResourceManager.AppPlatform.Models.RegenerateAppPlatformServiceTestKeyContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateTestKey : Azure.ResourceManager.AppPlatform.Models.RegenerateAppPlatformServiceTestKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceTestKeys>
override this.RegenerateTestKey : Azure.ResourceManager.AppPlatform.Models.RegenerateAppPlatformServiceTestKeyContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppPlatform.Models.AppPlatformServiceTestKeys>
Public Overridable Function RegenerateTestKey (content As RegenerateAppPlatformServiceTestKeyContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AppPlatformServiceTestKeys)

参数

content
RegenerateAppPlatformServiceTestKeyContent

操作的参数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

content 为 null。

适用于