Freigeben über


AppPlatformServiceResource.RegenerateTestKey Methode

Definition

Generieren Sie einen Testschlüssel für einen Dienst.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/regenerateTestKey
  • Vorgang 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)

Parameter

content
RegenerateAppPlatformServiceTestKeyContent

Parameter für den Vorgang.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: