WebSiteSlotResource.GetSlotSnapshotsFromDRSecondaryAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Description for Returns all Snapshots to the user from DRSecondary endpoint.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshotsdr
- Operation Id: WebApps_ListSnapshotsFromDRSecondarySlot
- Default Api Version: 2024-04-01
- Resource: WebSiteSlotResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppSnapshot> GetSlotSnapshotsFromDRSecondaryAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetSlotSnapshotsFromDRSecondaryAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppSnapshot>
override this.GetSlotSnapshotsFromDRSecondaryAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.AppSnapshot>
Public Overridable Function GetSlotSnapshotsFromDRSecondaryAsync (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.