Udostępnij za pośrednictwem


ConfigurationClient.GetSnapshotsAsync Method

Definition

Gets a list of configuration snapshots.

public virtual Azure.AsyncPageable<Azure.Data.AppConfiguration.ConfigurationSnapshot> GetSnapshotsAsync (Azure.Data.AppConfiguration.SnapshotSelector selector, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSnapshotsAsync : Azure.Data.AppConfiguration.SnapshotSelector * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Data.AppConfiguration.ConfigurationSnapshot>
override this.GetSnapshotsAsync : Azure.Data.AppConfiguration.SnapshotSelector * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Data.AppConfiguration.ConfigurationSnapshot>
Public Overridable Function GetSnapshotsAsync (selector As SnapshotSelector, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ConfigurationSnapshot)

Parameters

selector
SnapshotSelector

Set of options for selecting ConfigurationSnapshot.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to