共用方式為


WebSiteResource.GetSnapshotsFromDRSecondaryAsync(CancellationToken) Method

Definition

Description for Returns all Snapshots to the user from DRSecondary endpoint.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr
  • Operation Id: WebApps_ListSnapshotsFromDRSecondary
  • Default Api Version: 2023-12-01
  • Resource: WebSiteResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppSnapshot> GetSnapshotsFromDRSecondaryAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSnapshotsFromDRSecondaryAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppSnapshot>
override this.GetSnapshotsFromDRSecondaryAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppSnapshot>
Public Overridable Function GetSnapshotsFromDRSecondaryAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppSnapshot)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of AppSnapshot that may take multiple service requests to iterate over.

Applies to