共用方式為


SiteSlotConfigSnapshotResource.RecoverSiteConfigurationSnapshotSlotAsync 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}/slots/{slot}/config/web/snapshots/{snapshotId}/recover
  • Operation Id: WebApps_RecoverSiteConfigurationSnapshotSlot
  • Default Api Version: 2024-04-01
  • Resource: SiteSlotConfigSnapshotResource
public virtual System.Threading.Tasks.Task<Azure.Response> RecoverSiteConfigurationSnapshotSlotAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member RecoverSiteConfigurationSnapshotSlotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RecoverSiteConfigurationSnapshotSlotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RecoverSiteConfigurationSnapshotSlotAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to