共用方式為


ConfigurationClient.RecoverSnapshotAsync Method

Definition

Overloads

RecoverSnapshotAsync(String, CancellationToken)

Updates the state of a configuration snapshot to ready.

RecoverSnapshotAsync(String, MatchConditions, CancellationToken)

Updates the state of a configuration snapshot to ready.

RecoverSnapshotAsync(String, CancellationToken)

Source:
ConfigurationClient.cs
Source:
ConfigurationClient.cs

Updates the state of a configuration snapshot to ready.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>> RecoverSnapshotAsync (string snapshotName, System.Threading.CancellationToken cancellationToken = default);
abstract member RecoverSnapshotAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>>
override this.RecoverSnapshotAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>>
Public Overridable Function RecoverSnapshotAsync (snapshotName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConfigurationSnapshot))

Parameters

snapshotName
String

The name of the configuration snapshot to recover.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

RecoverSnapshotAsync(String, MatchConditions, CancellationToken)

Source:
ConfigurationClient.cs
Source:
ConfigurationClient.cs

Updates the state of a configuration snapshot to ready.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>> RecoverSnapshotAsync (string snapshotName, Azure.MatchConditions matchConditions, System.Threading.CancellationToken cancellationToken = default);
abstract member RecoverSnapshotAsync : string * Azure.MatchConditions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>>
override this.RecoverSnapshotAsync : string * Azure.MatchConditions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>>
Public Overridable Function RecoverSnapshotAsync (snapshotName As String, matchConditions As MatchConditions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ConfigurationSnapshot))

Parameters

snapshotName
String

The name of the configuration snapshot to recover.

matchConditions
MatchConditions

The content to send as the request conditions of the request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to