共用方式為


ConfigurationClient.ArchiveSnapshotAsync Method

Definition

Overloads

ArchiveSnapshotAsync(String, CancellationToken)

Updates the state of a configuration snapshot to archive.

ArchiveSnapshotAsync(String, MatchConditions, CancellationToken)

Updates the state of a configuration snapshot to archive.

ArchiveSnapshotAsync(String, CancellationToken)

Source:
ConfigurationClient.cs
Source:
ConfigurationClient.cs

Updates the state of a configuration snapshot to archive.

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

Parameters

snapshotName
String

The name of the configuration snapshot to archive.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

ArchiveSnapshotAsync(String, MatchConditions, CancellationToken)

Source:
ConfigurationClient.cs
Source:
ConfigurationClient.cs

Updates the state of a configuration snapshot to archive.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>> ArchiveSnapshotAsync (string snapshotName, Azure.MatchConditions matchConditions, System.Threading.CancellationToken cancellationToken = default);
abstract member ArchiveSnapshotAsync : string * Azure.MatchConditions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>>
override this.ArchiveSnapshotAsync : string * Azure.MatchConditions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>>
Public Overridable Function ArchiveSnapshotAsync (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 archive.

matchConditions
MatchConditions

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to