共用方式為


ConfigurationClient.GetSnapshot Method

Definition

Gets a single configuration snapshot.

public virtual Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot> GetSnapshot (string snapshotName, System.Collections.Generic.IEnumerable<Azure.Data.AppConfiguration.SnapshotFields> fields = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSnapshot : string * seq<Azure.Data.AppConfiguration.SnapshotFields> * System.Threading.CancellationToken -> Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>
override this.GetSnapshot : string * seq<Azure.Data.AppConfiguration.SnapshotFields> * System.Threading.CancellationToken -> Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>
Public Overridable Function GetSnapshot (snapshotName As String, Optional fields As IEnumerable(Of SnapshotFields) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConfigurationSnapshot)

Parameters

snapshotName
String

The name of the configuration snapshot to retrieve.

fields
IEnumerable<SnapshotFields>

Used to select what fields are present in the returned resource(s).

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to