Udostępnij za pośrednictwem


WebSiteResource.RegenerateAccessKeyWorkflowAsync Method

Definition

Regenerates the callback URL access key for request triggers.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostruntime/runtime/webhooks/workflow/api/management/workflows/{workflowName}/regenerateAccessKey
  • Operation Id: Workflows_RegenerateAccessKey
  • Default Api Version: 2023-12-01
public virtual System.Threading.Tasks.Task<Azure.Response> RegenerateAccessKeyWorkflowAsync (string workflowName, Azure.ResourceManager.AppService.Models.WorkflowRegenerateActionContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateAccessKeyWorkflowAsync : string * Azure.ResourceManager.AppService.Models.WorkflowRegenerateActionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RegenerateAccessKeyWorkflowAsync : string * Azure.ResourceManager.AppService.Models.WorkflowRegenerateActionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RegenerateAccessKeyWorkflowAsync (workflowName As String, content As WorkflowRegenerateActionContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

workflowName
String

The workflow name.

content
WorkflowRegenerateActionContent

The access key type.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

workflowName is an empty string, and was expected to be non-empty.

workflowName or content is null.

Applies to