共用方式為


SiteConfigSnapshotResource.RecoverSiteConfigurationSnapshotAsync Method

Definition

Description for Reverts the configuration of an app to a previous snapshot.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web/snapshots/{snapshotId}/recover
  • Operation Id: WebApps_RecoverSiteConfigurationSnapshot
  • Default Api Version: 2023-12-01
  • Resource: SiteConfigSnapshotResource
public virtual System.Threading.Tasks.Task<Azure.Response> RecoverSiteConfigurationSnapshotAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member RecoverSiteConfigurationSnapshotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RecoverSiteConfigurationSnapshotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RecoverSiteConfigurationSnapshotAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to