共用方式為


WebSiteResource.UpdateMachineKeyAsync(CancellationToken) Method

Definition

Updates the machine key of an app.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/updatemachinekey
  • Operation Id: WebApps_UpdateMachineKey
  • Default Api Version: 2024-04-01
  • Resource: WebSiteResource
public virtual System.Threading.Tasks.Task<Azure.Response<BinaryData>> UpdateMachineKeyAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateMachineKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
override this.UpdateMachineKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
Public Overridable Function UpdateMachineKeyAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BinaryData))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to