ConfigurationClient.ArchiveSnapshot 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.
Overloads
ArchiveSnapshot(String, CancellationToken) |
Updates the state of a configuration snapshot to archive. |
ArchiveSnapshot(String, MatchConditions, CancellationToken) |
Updates the state of a configuration snapshot to archive. |
ArchiveSnapshot(String, CancellationToken)
- Source:
- ConfigurationClient.cs
- Source:
- ConfigurationClient.cs
Updates the state of a configuration snapshot to archive.
public virtual Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot> ArchiveSnapshot (string snapshotName, System.Threading.CancellationToken cancellationToken = default);
abstract member ArchiveSnapshot : string * System.Threading.CancellationToken -> Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>
override this.ArchiveSnapshot : string * System.Threading.CancellationToken -> Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>
Public Overridable Function ArchiveSnapshot (snapshotName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ConfigurationSnapshot)
Parameters
- snapshotName
- String
The name of the configuration snapshot to archive.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Applies to
ArchiveSnapshot(String, MatchConditions, CancellationToken)
- Source:
- ConfigurationClient.cs
- Source:
- ConfigurationClient.cs
Updates the state of a configuration snapshot to archive.
public virtual Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot> ArchiveSnapshot (string snapshotName, Azure.MatchConditions matchConditions, System.Threading.CancellationToken cancellationToken = default);
abstract member ArchiveSnapshot : string * Azure.MatchConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>
override this.ArchiveSnapshot : string * Azure.MatchConditions * System.Threading.CancellationToken -> Azure.Response<Azure.Data.AppConfiguration.ConfigurationSnapshot>
Public Overridable Function ArchiveSnapshot (snapshotName As String, matchConditions As MatchConditions, Optional cancellationToken As CancellationToken = Nothing) As 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
Azure SDK for .NET