Dela via


WebSiteResource.RegenerateAccessKeyWorkflow 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 Azure.Response RegenerateAccessKeyWorkflow (string workflowName, Azure.ResourceManager.AppService.Models.WorkflowRegenerateActionContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateAccessKeyWorkflow : string * Azure.ResourceManager.AppService.Models.WorkflowRegenerateActionContent * System.Threading.CancellationToken -> Azure.Response
override this.RegenerateAccessKeyWorkflow : string * Azure.ResourceManager.AppService.Models.WorkflowRegenerateActionContent * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function RegenerateAccessKeyWorkflow (workflowName As String, content As WorkflowRegenerateActionContent, Optional cancellationToken As CancellationToken = Nothing) As 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