ConfigurationClient.CreateSnapshotAsync 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.
Creates a configuration snapshot.
public virtual System.Threading.Tasks.Task<Azure.Data.AppConfiguration.CreateSnapshotOperation> CreateSnapshotAsync (Azure.WaitUntil wait, string snapshotName, Azure.Data.AppConfiguration.ConfigurationSnapshot snapshot, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateSnapshotAsync : Azure.WaitUntil * string * Azure.Data.AppConfiguration.ConfigurationSnapshot * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Data.AppConfiguration.CreateSnapshotOperation>
override this.CreateSnapshotAsync : Azure.WaitUntil * string * Azure.Data.AppConfiguration.ConfigurationSnapshot * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Data.AppConfiguration.CreateSnapshotOperation>
Public Overridable Function CreateSnapshotAsync (wait As WaitUntil, snapshotName As String, snapshot As ConfigurationSnapshot, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CreateSnapshotOperation)
Parameters
- wait
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation
- snapshotName
- String
The name of the configuration snapshot to create.
- snapshot
- ConfigurationSnapshot
The configuration snapshot to create.
- cancellationToken
- CancellationToken
The cancellation token to use.