Delen via


ConfigurationClient.GetConfigurationSettingsForSnapshotAsync Method

Definition

Overloads

GetConfigurationSettingsForSnapshotAsync(String, CancellationToken)

Retrieves one or more ConfigurationSetting entities for snapshots based on name.

GetConfigurationSettingsForSnapshotAsync(String, SettingFields, CancellationToken)

Retrieves one or more ConfigurationSetting entities for snapshots based on name.

GetConfigurationSettingsForSnapshotAsync(String, CancellationToken)

Source:
ConfigurationClient.cs
Source:
ConfigurationClient.cs

Retrieves one or more ConfigurationSetting entities for snapshots based on name.

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

Parameters

snapshotName
String

A filter used to get key-values for a snapshot. The value should be the name of the snapshot.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

An enumerable collection containing the retrieved ConfigurationSetting entities.

Applies to

GetConfigurationSettingsForSnapshotAsync(String, SettingFields, CancellationToken)

Source:
ConfigurationClient.cs
Source:
ConfigurationClient.cs

Retrieves one or more ConfigurationSetting entities for snapshots based on name.

public virtual Azure.AsyncPageable<Azure.Data.AppConfiguration.ConfigurationSetting> GetConfigurationSettingsForSnapshotAsync (string snapshotName, Azure.Data.AppConfiguration.SettingFields fields, System.Threading.CancellationToken cancellationToken = default);
abstract member GetConfigurationSettingsForSnapshotAsync : string * Azure.Data.AppConfiguration.SettingFields * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Data.AppConfiguration.ConfigurationSetting>
override this.GetConfigurationSettingsForSnapshotAsync : string * Azure.Data.AppConfiguration.SettingFields * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Data.AppConfiguration.ConfigurationSetting>
Public Overridable Function GetConfigurationSettingsForSnapshotAsync (snapshotName As String, fields As SettingFields, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ConfigurationSetting)

Parameters

snapshotName
String

A filter used to get key-values for a snapshot. The value should be the name of the snapshot.

fields
SettingFields

The fields of the ConfigurationSetting to retrieve for each setting in the retrieved group.

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

An enumerable collection containing the retrieved ConfigurationSetting entities.

Applies to