ConfigurationClient.GetSnapshotAsync 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.
Gets a single configuration snapshot.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>> GetSnapshotAsync (string snapshotName, System.Collections.Generic.IEnumerable<Azure.Data.AppConfiguration.SnapshotFields> fields = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSnapshotAsync : string * seq<Azure.Data.AppConfiguration.SnapshotFields> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>>
override this.GetSnapshotAsync : string * seq<Azure.Data.AppConfiguration.SnapshotFields> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>>
Public Overridable Function GetSnapshotAsync (snapshotName As String, Optional fields As IEnumerable(Of SnapshotFields) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET