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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla