Udostępnij za pośrednictwem


ConfigurationClient.CreateSnapshot Method

Definition

Creates a configuration snapshot.

public virtual Azure.Data.AppConfiguration.CreateSnapshotOperation CreateSnapshot (Azure.WaitUntil wait, string snapshotName, Azure.Data.AppConfiguration.ConfigurationSnapshot snapshot, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateSnapshot : Azure.WaitUntil * string * Azure.Data.AppConfiguration.ConfigurationSnapshot * System.Threading.CancellationToken -> Azure.Data.AppConfiguration.CreateSnapshotOperation
override this.CreateSnapshot : Azure.WaitUntil * string * Azure.Data.AppConfiguration.ConfigurationSnapshot * System.Threading.CancellationToken -> Azure.Data.AppConfiguration.CreateSnapshotOperation
Public Overridable Function CreateSnapshot (wait As WaitUntil, snapshotName As String, snapshot As ConfigurationSnapshot, Optional cancellationToken As CancellationToken = Nothing) As 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.

Returns

Applies to