From 3f09b97e731b0172316d82a17d2a1836e2dcea57 Mon Sep 17 00:00:00 2001 From: "Lingling Ye (from Dev Box)" Date: Tue, 23 Dec 2025 15:22:41 +0800 Subject: [PATCH 01/12] l:wqHead request support --- .../Azure.Data.AppConfiguration/assets.json | 2 +- .../src/ConfigurationClient.cs | 74 +++++ .../tests/ConfigurationLiveTests.cs | 262 ++++++++++++++++++ 3 files changed, 337 insertions(+), 1 deletion(-) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json index 5c1ba589ed34..c416075e59ca 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "net", "TagPrefix": "net/appconfiguration/Azure.Data.AppConfiguration", - "Tag": "net/appconfiguration/Azure.Data.AppConfiguration_0ef5fd0bc3" + "Tag": "net/appconfiguration/Azure.Data.AppConfiguration_5c66a712c2" } diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs index ea6c3218b5f7..e7a4df5dcb10 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs @@ -751,6 +751,60 @@ HttpMessage NextPageRequest(MatchConditions conditions, int? pageSizeHint, strin return new ConditionalPageableImplementation(FirstPageRequest, NextPageRequest, ParseGetConfigurationSettingsResponse, Pipeline, ClientDiagnostics, "ConfigurationClient.GetConfigurationSettings", context); } + /// + /// Check if one or more entities that match the options specified in the passed-in have changed. + /// + /// Options used to select a set of entities from the configuration store. + /// A controlling the request lifetime. + public virtual AsyncPageable CheckConfigurationSettingsAsync(SettingSelector selector, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(selector, nameof(selector)); + + var pageableImplementation = CheckConfigurationSettingsPageableImplementation(selector, cancellationToken); + + return new AsyncConditionalPageable(pageableImplementation); + } + + /// + /// Check if one or more entities that match the options specified in the passed-in have changed. + /// + /// Set of options for selecting from the configuration store. + /// A controlling the request lifetime. + public virtual Pageable CheckConfigurationSettings(SettingSelector selector, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(selector, nameof(selector)); + + var pageableImplementation = CheckConfigurationSettingsPageableImplementation(selector, cancellationToken); + + return new ConditionalPageable(pageableImplementation); + } + + private ConditionalPageableImplementation CheckConfigurationSettingsPageableImplementation(SettingSelector selector, CancellationToken cancellationToken) + { + var key = selector.KeyFilter; + var label = selector.LabelFilter; + var dateTime = selector.AcceptDateTime?.UtcDateTime.ToString(AcceptDateTimeFormat, CultureInfo.InvariantCulture); + var tags = selector.TagsFilter; + + RequestContext context = CreateRequestContext(ErrorOptions.Default, cancellationToken); + IEnumerable fieldsString = selector.Fields.Split(); + + context.AddClassifier(304, false); + + HttpMessage FirstPageRequest(MatchConditions conditions, int? pageSizeHint) + { + return CreateCheckKeyValuesRequest(key, label, _syncToken, null, dateTime, fieldsString, null, conditions, tags, context); + } + ; + + HttpMessage NextPageRequest(MatchConditions conditions, int? pageSizeHint, string after) + { + return CreateCheckKeyValuesRequest(key, label, _syncToken, after, dateTime, fieldsString, null, conditions, tags, context); + } + + return new ConditionalPageableImplementation(FirstPageRequest, NextPageRequest, ParseCheckConfigurationSettingsResponse, Pipeline, ClientDiagnostics, "ConfigurationClient.CheckConfigurationSettings", context); + } + /// /// Retrieves one or more entities for snapshots based on name. /// @@ -1518,6 +1572,26 @@ public virtual void UpdateSyncToken(string token) return (values, nextLink); } + private (List Values, string After) ParseCheckConfigurationSettingsResponse(Response response) + { + string after = null; + string nextLink = null; + + // The "Link" header is formatted as: + // ; rel="next" + if (response.Headers.TryGetValue("Link", out string linkHeader)) + { + int nextLinkEndIndex = linkHeader.IndexOf('>'); + nextLink = linkHeader.Substring(1, nextLinkEndIndex - 1); + + var uriBuilder = new UriBuilder("https://dummy.com" + nextLink); + var query = System.Web.HttpUtility.ParseQueryString(uriBuilder.Query); + after = query["after"]; + } + + return (null, after); + } + private static RequestContext CreateRequestContext(ErrorOptions errorOptions, CancellationToken cancellationToken) { return new RequestContext() diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationLiveTests.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationLiveTests.cs index ef9a7ba55c8d..3c3ae6ad4ea8 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationLiveTests.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/tests/ConfigurationLiveTests.cs @@ -1360,6 +1360,268 @@ public async Task GetBatchSettingIfChangedWithModifiedPageSync() Assert.AreEqual(2, pagesCount); } + [RecordedTest] + [AsyncOnly] + [ServiceVersion(Min = ConfigurationClientOptions.ServiceVersion.V2023_10_01)] + public async Task CheckBatchSettingIfChangedWithUnmodifiedPage() + { + ConfigurationClient service = GetClient(skipClientInstrumentation: true); + + const int expectedEvents = 105; + var key = await SetMultipleKeys(service, expectedEvents); + + SettingSelector selector = new SettingSelector { KeyFilter = key }; + var matchConditionsList = new List(); + + await foreach (Page page in service.CheckConfigurationSettingsAsync(selector).AsPages()) + { + Response response = page.GetRawResponse(); + var matchConditions = new MatchConditions() + { + IfNoneMatch = response.Headers.ETag + }; + + matchConditionsList.Add(matchConditions); + } + + int pagesCount = 0; + + await foreach (Page page in service.CheckConfigurationSettingsAsync(selector).AsPages(matchConditionsList)) + { + Response response = page.GetRawResponse(); + + Assert.AreEqual(304, response.Status); + Assert.IsEmpty(page.Values); + + pagesCount++; + } + + Assert.AreEqual(2, pagesCount); + } + + [RecordedTest] + [SyncOnly] + [ServiceVersion(Min = ConfigurationClientOptions.ServiceVersion.V2023_10_01)] + public async Task CheckBatchSettingIfChangedWithUnmodifiedPageSync() + { + ConfigurationClient service = GetClient(skipClientInstrumentation: true); + + const int expectedEvents = 105; + var key = await SetMultipleKeys(service, expectedEvents); + + SettingSelector selector = new SettingSelector { KeyFilter = key }; + var matchConditionsList = new List(); + + foreach (Page page in service.CheckConfigurationSettings(selector).AsPages()) + { + Response response = page.GetRawResponse(); + var matchConditions = new MatchConditions() + { + IfNoneMatch = response.Headers.ETag + }; + + matchConditionsList.Add(matchConditions); + } + + int pagesCount = 0; + + foreach (Page page in service.CheckConfigurationSettings(selector).AsPages(matchConditionsList)) + { + Response response = page.GetRawResponse(); + + Assert.AreEqual(304, response.Status); + Assert.IsEmpty(page.Values); + + pagesCount++; + } + + Assert.AreEqual(2, pagesCount); + } + + [RecordedTest] + [AsyncOnly] + [ServiceVersion(Min = ConfigurationClientOptions.ServiceVersion.V2023_10_01)] + public async Task CheckBatchSettingIfChangedWithUnmodifiedPageDoesNotLogWarningAsync() + { + ConfigurationClient service = GetClient(skipClientInstrumentation: true); + + const int expectedEvents = 105; + var key = await SetMultipleKeys(service, expectedEvents); + + SettingSelector selector = new SettingSelector { KeyFilter = key }; + var matchConditionsList = new List(); + + var pagesEnumerator = service.CheckConfigurationSettingsAsync(selector).AsPages().GetAsyncEnumerator(); + await pagesEnumerator.MoveNextAsync(); + + Page firstPage = pagesEnumerator.Current; + + var matchConditions = new MatchConditions() + { + IfNoneMatch = firstPage.GetRawResponse().Headers.ETag + }; + matchConditionsList.Add(matchConditions); + + string logMessage = null; + Action warningLog = (_, text) => + { + logMessage = text; + }; + + pagesEnumerator = service.CheckConfigurationSettingsAsync(selector).AsPages(matchConditionsList).GetAsyncEnumerator(); + + using (var listener = new AzureEventSourceListener(warningLog, EventLevel.Warning)) + { + await pagesEnumerator.MoveNextAsync(); + firstPage = pagesEnumerator.Current; + Assert.AreEqual(304, firstPage.GetRawResponse().Status); + } + + Assert.Null(logMessage); + } + + [RecordedTest] + [SyncOnly] + [ServiceVersion(Min = ConfigurationClientOptions.ServiceVersion.V2023_10_01)] + public async Task CheckBatchSettingIfChangedWithUnmodifiedPageDoesNotLogWarningSync() + { + ConfigurationClient service = GetClient(skipClientInstrumentation: true); + + const int expectedEvents = 105; + var key = await SetMultipleKeys(service, expectedEvents); + + SettingSelector selector = new SettingSelector { KeyFilter = key }; + var matchConditionsList = new List(); + + var pagesEnumerator = service.CheckConfigurationSettings(selector).AsPages().GetEnumerator(); + pagesEnumerator.MoveNext(); + + Page firstPage = pagesEnumerator.Current; + + var matchConditions = new MatchConditions() + { + IfNoneMatch = firstPage.GetRawResponse().Headers.ETag + }; + matchConditionsList.Add(matchConditions); + + string logMessage = null; + Action warningLog = (_, text) => + { + logMessage = text; + }; + + pagesEnumerator = service.CheckConfigurationSettings(selector).AsPages(matchConditionsList).GetEnumerator(); + + using (var listener = new AzureEventSourceListener(warningLog, EventLevel.Warning)) + { + pagesEnumerator.MoveNext(); + firstPage = pagesEnumerator.Current; + Assert.AreEqual(304, firstPage.GetRawResponse().Status); + } + + Assert.Null(logMessage); + } + + [RecordedTest] + [AsyncOnly] + [ServiceVersion(Min = ConfigurationClientOptions.ServiceVersion.V2023_10_01)] + public async Task CheckBatchSettingIfChangedWithModifiedPage() + { + ConfigurationClient service = GetClient(skipClientInstrumentation: true); + + const int expectedEvents = 105; + var key = await SetMultipleKeys(service, expectedEvents); + + SettingSelector selector = new SettingSelector { KeyFilter = key }; + var matchConditionsList = new List(); + ConfigurationSetting lastSetting = null; + + await foreach (Page page in service.GetConfigurationSettingsAsync(selector).AsPages()) + { + Response response = page.GetRawResponse(); + var matchConditions = new MatchConditions() + { + IfNoneMatch = response.Headers.ETag + }; + + matchConditionsList.Add(matchConditions); + lastSetting = page.Values.Last(); + } + + lastSetting.Value += "1"; + await service.SetConfigurationSettingAsync(lastSetting); + + int pagesCount = 0; + + await foreach (Page page in service.CheckConfigurationSettingsAsync(selector).AsPages(matchConditionsList)) + { + Response response = page.GetRawResponse(); + + if (pagesCount == 0) + { + Assert.AreEqual(304, response.Status); + } + else + { + Assert.AreEqual(200, response.Status); + } + + pagesCount++; + } + + Assert.AreEqual(2, pagesCount); + } + + [RecordedTest] + [SyncOnly] + [ServiceVersion(Min = ConfigurationClientOptions.ServiceVersion.V2023_10_01)] + public async Task CheckBatchSettingIfChangedWithModifiedPageSync() + { + ConfigurationClient service = GetClient(skipClientInstrumentation: true); + + const int expectedEvents = 105; + var key = await SetMultipleKeys(service, expectedEvents); + + SettingSelector selector = new SettingSelector { KeyFilter = key }; + var matchConditionsList = new List(); + ConfigurationSetting lastSetting = null; + + foreach (Page page in service.GetConfigurationSettings(selector).AsPages()) + { + Response response = page.GetRawResponse(); + var matchConditions = new MatchConditions() + { + IfNoneMatch = response.Headers.ETag + }; + + matchConditionsList.Add(matchConditions); + lastSetting = page.Values.Last(); + } + + lastSetting.Value += "1"; + await service.SetConfigurationSettingAsync(lastSetting); + + int pagesCount = 0; + + foreach (Page page in service.CheckConfigurationSettings(selector).AsPages(matchConditionsList)) + { + Response response = page.GetRawResponse(); + + if (pagesCount == 0) + { + Assert.AreEqual(304, response.Status); + } + else + { + Assert.AreEqual(200, response.Status); + } + + pagesCount++; + } + + Assert.AreEqual(2, pagesCount); + } + [RecordedTest] public async Task GetBatchSettingAny() { From 2e4a3f4fd985cbdd995cc530ef9f9edda0791f18 Mon Sep 17 00:00:00 2001 From: "Lingling Ye (from Dev Box)" Date: Tue, 23 Dec 2025 16:21:35 +0800 Subject: [PATCH 02/12] update --- .../Azure.Data.AppConfiguration/src/ConfigurationClient.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs index e7a4df5dcb10..c8d7a57dc58e 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs @@ -756,6 +756,7 @@ HttpMessage NextPageRequest(MatchConditions conditions, int? pageSizeHint, strin /// /// Options used to select a set of entities from the configuration store. /// A controlling the request lifetime. + /// A pageable collection of pages with empty values collections. public virtual AsyncPageable CheckConfigurationSettingsAsync(SettingSelector selector, CancellationToken cancellationToken = default) { Argument.AssertNotNull(selector, nameof(selector)); @@ -770,6 +771,7 @@ public virtual AsyncPageable CheckConfigurationSettingsAsy /// /// Set of options for selecting from the configuration store. /// A controlling the request lifetime. + /// A pageable collection of pages with empty values collections. public virtual Pageable CheckConfigurationSettings(SettingSelector selector, CancellationToken cancellationToken = default) { Argument.AssertNotNull(selector, nameof(selector)); From 53f0b1c19a979dad7c2b1c26757bd438de1274b1 Mon Sep 17 00:00:00 2001 From: "Lingling Ye (from Dev Box)" Date: Tue, 23 Dec 2025 16:42:42 +0800 Subject: [PATCH 03/12] update generated code --- .../api/Azure.Data.AppConfiguration.net8.0.cs | 2 ++ .../api/Azure.Data.AppConfiguration.netstandard2.0.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.net8.0.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.net8.0.cs index a5c19e147021..9e3b19cb707b 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.net8.0.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.net8.0.cs @@ -39,6 +39,8 @@ public ConfigurationClient(System.Uri endpoint, Azure.Core.TokenCredential crede public virtual Azure.Response ArchiveSnapshot(string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ArchiveSnapshotAsync(string snapshotName, Azure.MatchConditions matchConditions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ArchiveSnapshotAsync(string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable CheckConfigurationSettings(Azure.Data.AppConfiguration.SettingSelector selector, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable CheckConfigurationSettingsAsync(Azure.Data.AppConfiguration.SettingSelector selector, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Data.AppConfiguration.CreateSnapshotOperation CreateSnapshot(Azure.WaitUntil wait, string snapshotName, Azure.Data.AppConfiguration.ConfigurationSnapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateSnapshotAsync(Azure.WaitUntil wait, string snapshotName, Azure.Data.AppConfiguration.ConfigurationSnapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response DeleteConfigurationSetting(Azure.Data.AppConfiguration.ConfigurationSetting setting, bool onlyIfUnchanged = false, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.netstandard2.0.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.netstandard2.0.cs index 00c574d418dd..4a6ece9fff15 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.netstandard2.0.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.netstandard2.0.cs @@ -39,6 +39,8 @@ public ConfigurationClient(System.Uri endpoint, Azure.Core.TokenCredential crede public virtual Azure.Response ArchiveSnapshot(string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ArchiveSnapshotAsync(string snapshotName, Azure.MatchConditions matchConditions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ArchiveSnapshotAsync(string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable CheckConfigurationSettings(Azure.Data.AppConfiguration.SettingSelector selector, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable CheckConfigurationSettingsAsync(Azure.Data.AppConfiguration.SettingSelector selector, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Data.AppConfiguration.CreateSnapshotOperation CreateSnapshot(Azure.WaitUntil wait, string snapshotName, Azure.Data.AppConfiguration.ConfigurationSnapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateSnapshotAsync(Azure.WaitUntil wait, string snapshotName, Azure.Data.AppConfiguration.ConfigurationSnapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response DeleteConfigurationSetting(Azure.Data.AppConfiguration.ConfigurationSetting setting, bool onlyIfUnchanged = false, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } From 2a2e538b73c71fa726fa5e1bf1c844c48c7f38e6 Mon Sep 17 00:00:00 2001 From: "Lingling Ye (from Dev Box)" Date: Tue, 6 Jan 2026 09:48:15 +0800 Subject: [PATCH 04/12] update test record --- sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json index c416075e59ca..22d534eb266b 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "net", "TagPrefix": "net/appconfiguration/Azure.Data.AppConfiguration", - "Tag": "net/appconfiguration/Azure.Data.AppConfiguration_5c66a712c2" + "Tag": "net/appconfiguration/Azure.Data.AppConfiguration_6dd6fed18f" } From f1de92a8b434cc286e9ffb42681462312be6151e Mon Sep 17 00:00:00 2001 From: "Lingling Ye (from Dev Box)" Date: Tue, 6 Jan 2026 14:44:37 +0800 Subject: [PATCH 05/12] update --- sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json index 22d534eb266b..04d40fcbbfc3 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "net", "TagPrefix": "net/appconfiguration/Azure.Data.AppConfiguration", - "Tag": "net/appconfiguration/Azure.Data.AppConfiguration_6dd6fed18f" + "Tag": "net/appconfiguration/Azure.Data.AppConfiguration_35617f7a4a" } From 72d57e2017a8fd9f1429e676c5f61a6d3d784cf7 Mon Sep 17 00:00:00 2001 From: "Lingling Ye (from Dev Box)" Date: Tue, 13 Jan 2026 17:28:40 +0800 Subject: [PATCH 06/12] update --- .../Azure.Data.AppConfiguration/src/ConfigurationClient.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs index c8d7a57dc58e..1e422c5d6033 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs @@ -752,7 +752,7 @@ HttpMessage NextPageRequest(MatchConditions conditions, int? pageSizeHint, strin } /// - /// Check if one or more entities that match the options specified in the passed-in have changed. + /// Checks if one or more entities that match the options specified in the passed-in have changed. /// /// Options used to select a set of entities from the configuration store. /// A controlling the request lifetime. @@ -767,7 +767,7 @@ public virtual AsyncPageable CheckConfigurationSettingsAsy } /// - /// Check if one or more entities that match the options specified in the passed-in have changed. + /// Checks if one or more entities that match the options specified in the passed-in have changed. /// /// Set of options for selecting from the configuration store. /// A controlling the request lifetime. @@ -1586,7 +1586,7 @@ public virtual void UpdateSyncToken(string token) int nextLinkEndIndex = linkHeader.IndexOf('>'); nextLink = linkHeader.Substring(1, nextLinkEndIndex - 1); - var uriBuilder = new UriBuilder("https://dummy.com" + nextLink); + var uriBuilder = new UriBuilder("https://example.com" + nextLink); var query = System.Web.HttpUtility.ParseQueryString(uriBuilder.Query); after = query["after"]; } From 9cf9faf5b99f713942b520e80fb2342e755d1df8 Mon Sep 17 00:00:00 2001 From: "Lingling Ye (from Dev Box)" Date: Tue, 13 Jan 2026 17:58:58 +0800 Subject: [PATCH 07/12] update --- .../Azure.Data.AppConfiguration.net10.0.cs | 22 ++++++++++++++ ...esourceManager.AppConfiguration.net10.0.cs | 29 +++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.net10.0.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.net10.0.cs index a5c19e147021..28bf24c0435b 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.net10.0.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.net10.0.cs @@ -10,13 +10,16 @@ namespace Azure.Data.AppConfiguration public static Azure.Data.AppConfiguration.AppConfigurationAudience AzureGovernment { get { throw null; } } public static Azure.Data.AppConfiguration.AppConfigurationAudience AzurePublicCloud { get { throw null; } } public bool Equals(Azure.Data.AppConfiguration.AppConfigurationAudience other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.Data.AppConfiguration.AppConfigurationAudience left, Azure.Data.AppConfiguration.AppConfigurationAudience right) { throw null; } public static implicit operator Azure.Data.AppConfiguration.AppConfigurationAudience (string value) { throw null; } public static bool operator !=(Azure.Data.AppConfiguration.AppConfigurationAudience left, Azure.Data.AppConfiguration.AppConfigurationAudience right) { throw null; } public override string ToString() { throw null; } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public partial class AzureDataAppConfigurationContext : System.ClientModel.Primitives.ModelReaderWriterContext { internal AzureDataAppConfigurationContext() { } @@ -39,12 +42,15 @@ public ConfigurationClient(System.Uri endpoint, Azure.Core.TokenCredential crede public virtual Azure.Response ArchiveSnapshot(string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ArchiveSnapshotAsync(string snapshotName, Azure.MatchConditions matchConditions, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ArchiveSnapshotAsync(string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable CheckConfigurationSettings(Azure.Data.AppConfiguration.SettingSelector selector, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable CheckConfigurationSettingsAsync(Azure.Data.AppConfiguration.SettingSelector selector, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Data.AppConfiguration.CreateSnapshotOperation CreateSnapshot(Azure.WaitUntil wait, string snapshotName, Azure.Data.AppConfiguration.ConfigurationSnapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task CreateSnapshotAsync(Azure.WaitUntil wait, string snapshotName, Azure.Data.AppConfiguration.ConfigurationSnapshot snapshot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response DeleteConfigurationSetting(Azure.Data.AppConfiguration.ConfigurationSetting setting, bool onlyIfUnchanged = false, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response DeleteConfigurationSetting(string key, string label = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteConfigurationSettingAsync(Azure.Data.AppConfiguration.ConfigurationSetting setting, bool onlyIfUnchanged = false, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteConfigurationSettingAsync(string key, string label = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } public virtual Azure.Response GetConfigurationSetting(Azure.Data.AppConfiguration.ConfigurationSetting setting, bool onlyIfChanged = false, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetConfigurationSetting(Azure.Data.AppConfiguration.ConfigurationSetting setting, System.DateTimeOffset acceptDateTime, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -58,6 +64,7 @@ public ConfigurationClient(System.Uri endpoint, Azure.Core.TokenCredential crede public virtual Azure.Pageable GetConfigurationSettingsForSnapshot(string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetConfigurationSettingsForSnapshotAsync(string snapshotName, Azure.Data.AppConfiguration.SettingFields fields, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetConfigurationSettingsForSnapshotAsync(string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public virtual Azure.Pageable GetLabels(Azure.Data.AppConfiguration.SettingLabelSelector selector, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetLabelsAsync(Azure.Data.AppConfiguration.SettingLabelSelector selector, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -83,6 +90,7 @@ public ConfigurationClient(System.Uri endpoint, Azure.Core.TokenCredential crede public virtual System.Threading.Tasks.Task> SetReadOnlyAsync(Azure.Data.AppConfiguration.ConfigurationSetting setting, bool isReadOnly, bool onlyIfUnchanged = false, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetReadOnlyAsync(string key, bool isReadOnly, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetReadOnlyAsync(string key, string label, bool isReadOnly, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override string ToString() { throw null; } public virtual void UpdateSyncToken(string token) { } } @@ -123,7 +131,9 @@ public ConfigurationSetting(string key, string value, string label, Azure.ETag e public System.DateTimeOffset? LastModified { get { throw null; } } public System.Collections.Generic.IDictionary Tags { get { throw null; } } public string Value { get { throw null; } set { } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } protected virtual Azure.Data.AppConfiguration.ConfigurationSetting JsonModelCreateCore(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -136,6 +146,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer Azure.Data.AppConfiguration.ConfigurationSetting System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override string ToString() { throw null; } } public partial class ConfigurationSettingsFilter : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel @@ -191,7 +202,9 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static Azure.Data.AppConfiguration.ConfigurationSnapshotStatus Provisioning { get { throw null; } } public static Azure.Data.AppConfiguration.ConfigurationSnapshotStatus Ready { get { throw null; } } public bool Equals(Azure.Data.AppConfiguration.ConfigurationSnapshotStatus other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.Data.AppConfiguration.ConfigurationSnapshotStatus left, Azure.Data.AppConfiguration.ConfigurationSnapshotStatus right) { throw null; } public static implicit operator Azure.Data.AppConfiguration.ConfigurationSnapshotStatus (string value) { throw null; } @@ -271,7 +284,9 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public SettingLabelFields(string value) { throw null; } public static Azure.Data.AppConfiguration.SettingLabelFields Name { get { throw null; } } public bool Equals(Azure.Data.AppConfiguration.SettingLabelFields other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.Data.AppConfiguration.SettingLabelFields left, Azure.Data.AppConfiguration.SettingLabelFields right) { throw null; } public static implicit operator Azure.Data.AppConfiguration.SettingLabelFields (string value) { throw null; } @@ -295,8 +310,11 @@ public SettingSelector() { } public string KeyFilter { get { throw null; } set { } } public string LabelFilter { get { throw null; } set { } } public System.Collections.Generic.IList TagsFilter { get { throw null; } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override string ToString() { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -308,7 +326,9 @@ public SettingSelector() { } public static Azure.Data.AppConfiguration.SnapshotComposition Key { get { throw null; } } public static Azure.Data.AppConfiguration.SnapshotComposition KeyLabel { get { throw null; } } public bool Equals(Azure.Data.AppConfiguration.SnapshotComposition other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.Data.AppConfiguration.SnapshotComposition left, Azure.Data.AppConfiguration.SnapshotComposition right) { throw null; } public static implicit operator Azure.Data.AppConfiguration.SnapshotComposition (string value) { throw null; } @@ -334,7 +354,9 @@ public SettingSelector() { } public static Azure.Data.AppConfiguration.SnapshotFields Status { get { throw null; } } public static Azure.Data.AppConfiguration.SnapshotFields Tags { get { throw null; } } public bool Equals(Azure.Data.AppConfiguration.SnapshotFields other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.Data.AppConfiguration.SnapshotFields left, Azure.Data.AppConfiguration.SnapshotFields right) { throw null; } public static implicit operator Azure.Data.AppConfiguration.SnapshotFields (string value) { throw null; } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.net10.0.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.net10.0.cs index df8731e65835..749dde683217 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.net10.0.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.net10.0.cs @@ -28,8 +28,10 @@ protected AppConfigurationKeyValueCollection() { } public virtual Azure.Response Exists(string keyValueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ExistsAsync(string keyValueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string keyValueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete as it never works, it will be removed in a future release", false)] public virtual Azure.Pageable GetAll(string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete as it never works, it will be removed in a future release", false)] public virtual Azure.AsyncPageable GetAllAsync(string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string keyValueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -402,8 +404,10 @@ public partial class DeletedAppConfigurationStoreResource : Azure.ResourceManage protected DeletedAppConfigurationStoreResource() { } public virtual Azure.ResourceManager.AppConfiguration.DeletedAppConfigurationStoreData Data { get { throw null; } } public virtual bool HasData { get { throw null; } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] public virtual Azure.Response AddTag(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] public virtual System.Threading.Tasks.Task> AddTagAsync(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static Azure.Core.ResourceIdentifier CreateResourceIdentifier(string subscriptionId, Azure.Core.AzureLocation location, string configStoreName) { throw null; } @@ -411,12 +415,16 @@ protected DeletedAppConfigurationStoreResource() { } public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation PurgeDeleted(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task PurgeDeletedAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] public virtual Azure.Response RemoveTag(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] public virtual System.Threading.Tasks.Task> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] public virtual Azure.Response SetTags(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] public virtual System.Threading.Tasks.Task> SetTagsAsync(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } Azure.ResourceManager.AppConfiguration.DeletedAppConfigurationStoreData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -469,7 +477,9 @@ namespace Azure.ResourceManager.AppConfiguration.Models public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationActionsRequired None { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationActionsRequired Recreate { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationActionsRequired other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationActionsRequired left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationActionsRequired right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationActionsRequired (string value) { throw null; } @@ -567,7 +577,9 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPrivateLinkServiceConnectionStatus Pending { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPrivateLinkServiceConnectionStatus Rejected { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPrivateLinkServiceConnectionStatus other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPrivateLinkServiceConnectionStatus left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPrivateLinkServiceConnectionStatus right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPrivateLinkServiceConnectionStatus (string value) { throw null; } @@ -587,7 +599,9 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState Succeeded { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState Updating { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState (string value) { throw null; } @@ -603,7 +617,9 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess Disabled { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess Enabled { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess (string value) { throw null; } @@ -633,7 +649,9 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState Failed { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState Succeeded { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState (string value) { throw null; } @@ -648,7 +666,9 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public AppConfigurationResourceType(string value) { throw null; } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationResourceType MicrosoftAppConfigurationConfigurationStores { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationResourceType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationResourceType left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationResourceType right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationResourceType (string value) { throw null; } @@ -677,7 +697,9 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus Provisioning { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus Ready { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus (string value) { throw null; } @@ -730,6 +752,7 @@ public static partial class ArmAppConfigurationModelFactory public static Azure.ResourceManager.AppConfiguration.AppConfigurationSnapshotData AppConfigurationSnapshotData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string snapshotType = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState?), Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus? status = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus?), System.Collections.Generic.IEnumerable filters = null, Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType? compositionType = default(Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? expireOn = default(System.DateTimeOffset?), long? retentionPeriod = default(long?), long? size = default(long?), long? itemsCount = default(long?), System.Collections.Generic.IDictionary tags = null, Azure.ETag? eTag = default(Azure.ETag?)) { throw null; } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStoreApiKey AppConfigurationStoreApiKey(string id = null, string name = null, string value = null, string connectionString = null, System.DateTimeOffset? lastModifiedOn = default(System.DateTimeOffset?), bool? isReadOnly = default(bool?)) { throw null; } public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData AppConfigurationStoreData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, string skuName = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), string endpoint = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties encryptionKeyVaultProperties = null, System.Collections.Generic.IEnumerable privateEndpointConnections = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess?), bool? disableLocalAuth = default(bool?), int? softDeleteRetentionInDays = default(int?), bool? enablePurgeProtection = default(bool?), Azure.ResourceManager.AppConfiguration.Models.AppConfigurationDataPlaneProxyProperties dataPlaneProxy = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? createMode = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode?)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData AppConfigurationStoreData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.Models.ManagedServiceIdentity identity, string skuName, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState, System.DateTimeOffset? createdOn, string endpoint, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties encryptionKeyVaultProperties, System.Collections.Generic.IEnumerable privateEndpointConnections, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? publicNetworkAccess, bool? disableLocalAuth, int? softDeleteRetentionInDays, bool? enablePurgeProtection, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? createMode) { throw null; } public static Azure.ResourceManager.AppConfiguration.DeletedAppConfigurationStoreData DeletedAppConfigurationStoreData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.Core.ResourceIdentifier configurationStoreId = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?), System.DateTimeOffset? deletedOn = default(System.DateTimeOffset?), System.DateTimeOffset? scheduledPurgeOn = default(System.DateTimeOffset?), System.Collections.Generic.IReadOnlyDictionary tags = null, bool? isPurgeProtectionEnabled = default(bool?)) { throw null; } } @@ -742,7 +765,9 @@ public static partial class ArmAppConfigurationModelFactory public static Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyAuthenticationMode Local { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyAuthenticationMode PassThrough { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyAuthenticationMode other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyAuthenticationMode left, Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyAuthenticationMode right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyAuthenticationMode (string value) { throw null; } @@ -758,7 +783,9 @@ public static partial class ArmAppConfigurationModelFactory public static Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyPrivateLinkDelegation Disabled { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyPrivateLinkDelegation Enabled { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyPrivateLinkDelegation other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyPrivateLinkDelegation left, Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyPrivateLinkDelegation right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyPrivateLinkDelegation (string value) { throw null; } @@ -774,7 +801,9 @@ public static partial class ArmAppConfigurationModelFactory public static Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType Key { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType KeyLabel { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType other) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType left, Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType (string value) { throw null; } From 75be925861580f527b69e0be5814c7eacf00faac Mon Sep 17 00:00:00 2001 From: "Lingling Ye (from Dev Box)" Date: Tue, 13 Jan 2026 18:13:35 +0800 Subject: [PATCH 08/12] update api --- .../Azure.Data.AppConfiguration.net10.0.cs | 20 ------------- ...esourceManager.AppConfiguration.net10.0.cs | 29 ------------------- 2 files changed, 49 deletions(-) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.net10.0.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.net10.0.cs index 28bf24c0435b..9e3b19cb707b 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.net10.0.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/api/Azure.Data.AppConfiguration.net10.0.cs @@ -10,16 +10,13 @@ namespace Azure.Data.AppConfiguration public static Azure.Data.AppConfiguration.AppConfigurationAudience AzureGovernment { get { throw null; } } public static Azure.Data.AppConfiguration.AppConfigurationAudience AzurePublicCloud { get { throw null; } } public bool Equals(Azure.Data.AppConfiguration.AppConfigurationAudience other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.Data.AppConfiguration.AppConfigurationAudience left, Azure.Data.AppConfiguration.AppConfigurationAudience right) { throw null; } public static implicit operator Azure.Data.AppConfiguration.AppConfigurationAudience (string value) { throw null; } public static bool operator !=(Azure.Data.AppConfiguration.AppConfigurationAudience left, Azure.Data.AppConfiguration.AppConfigurationAudience right) { throw null; } public override string ToString() { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public partial class AzureDataAppConfigurationContext : System.ClientModel.Primitives.ModelReaderWriterContext { internal AzureDataAppConfigurationContext() { } @@ -50,7 +47,6 @@ public ConfigurationClient(System.Uri endpoint, Azure.Core.TokenCredential crede public virtual Azure.Response DeleteConfigurationSetting(string key, string label = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteConfigurationSettingAsync(Azure.Data.AppConfiguration.ConfigurationSetting setting, bool onlyIfUnchanged = false, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task DeleteConfigurationSettingAsync(string key, string label = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } public virtual Azure.Response GetConfigurationSetting(Azure.Data.AppConfiguration.ConfigurationSetting setting, bool onlyIfChanged = false, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response GetConfigurationSetting(Azure.Data.AppConfiguration.ConfigurationSetting setting, System.DateTimeOffset acceptDateTime, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -64,7 +60,6 @@ public ConfigurationClient(System.Uri endpoint, Azure.Core.TokenCredential crede public virtual Azure.Pageable GetConfigurationSettingsForSnapshot(string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetConfigurationSettingsForSnapshotAsync(string snapshotName, Azure.Data.AppConfiguration.SettingFields fields, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetConfigurationSettingsForSnapshotAsync(string snapshotName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public virtual Azure.Pageable GetLabels(Azure.Data.AppConfiguration.SettingLabelSelector selector, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetLabelsAsync(Azure.Data.AppConfiguration.SettingLabelSelector selector, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -90,7 +85,6 @@ public ConfigurationClient(System.Uri endpoint, Azure.Core.TokenCredential crede public virtual System.Threading.Tasks.Task> SetReadOnlyAsync(Azure.Data.AppConfiguration.ConfigurationSetting setting, bool isReadOnly, bool onlyIfUnchanged = false, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetReadOnlyAsync(string key, bool isReadOnly, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetReadOnlyAsync(string key, string label, bool isReadOnly, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override string ToString() { throw null; } public virtual void UpdateSyncToken(string token) { } } @@ -131,9 +125,7 @@ public ConfigurationSetting(string key, string value, string label, Azure.ETag e public System.DateTimeOffset? LastModified { get { throw null; } } public System.Collections.Generic.IDictionary Tags { get { throw null; } } public string Value { get { throw null; } set { } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } protected virtual Azure.Data.AppConfiguration.ConfigurationSetting JsonModelCreateCore(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { } @@ -146,7 +138,6 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer Azure.Data.AppConfiguration.ConfigurationSetting System.ClientModel.Primitives.IPersistableModel.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } string System.ClientModel.Primitives.IPersistableModel.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } System.BinaryData System.ClientModel.Primitives.IPersistableModel.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override string ToString() { throw null; } } public partial class ConfigurationSettingsFilter : System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel @@ -202,9 +193,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static Azure.Data.AppConfiguration.ConfigurationSnapshotStatus Provisioning { get { throw null; } } public static Azure.Data.AppConfiguration.ConfigurationSnapshotStatus Ready { get { throw null; } } public bool Equals(Azure.Data.AppConfiguration.ConfigurationSnapshotStatus other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.Data.AppConfiguration.ConfigurationSnapshotStatus left, Azure.Data.AppConfiguration.ConfigurationSnapshotStatus right) { throw null; } public static implicit operator Azure.Data.AppConfiguration.ConfigurationSnapshotStatus (string value) { throw null; } @@ -284,9 +273,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public SettingLabelFields(string value) { throw null; } public static Azure.Data.AppConfiguration.SettingLabelFields Name { get { throw null; } } public bool Equals(Azure.Data.AppConfiguration.SettingLabelFields other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.Data.AppConfiguration.SettingLabelFields left, Azure.Data.AppConfiguration.SettingLabelFields right) { throw null; } public static implicit operator Azure.Data.AppConfiguration.SettingLabelFields (string value) { throw null; } @@ -310,11 +297,8 @@ public SettingSelector() { } public string KeyFilter { get { throw null; } set { } } public string LabelFilter { get { throw null; } set { } } public System.Collections.Generic.IList TagsFilter { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override string ToString() { throw null; } } [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)] @@ -326,9 +310,7 @@ public SettingSelector() { } public static Azure.Data.AppConfiguration.SnapshotComposition Key { get { throw null; } } public static Azure.Data.AppConfiguration.SnapshotComposition KeyLabel { get { throw null; } } public bool Equals(Azure.Data.AppConfiguration.SnapshotComposition other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.Data.AppConfiguration.SnapshotComposition left, Azure.Data.AppConfiguration.SnapshotComposition right) { throw null; } public static implicit operator Azure.Data.AppConfiguration.SnapshotComposition (string value) { throw null; } @@ -354,9 +336,7 @@ public SettingSelector() { } public static Azure.Data.AppConfiguration.SnapshotFields Status { get { throw null; } } public static Azure.Data.AppConfiguration.SnapshotFields Tags { get { throw null; } } public bool Equals(Azure.Data.AppConfiguration.SnapshotFields other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.Data.AppConfiguration.SnapshotFields left, Azure.Data.AppConfiguration.SnapshotFields right) { throw null; } public static implicit operator Azure.Data.AppConfiguration.SnapshotFields (string value) { throw null; } diff --git a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.net10.0.cs b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.net10.0.cs index 749dde683217..df8731e65835 100644 --- a/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.net10.0.cs +++ b/sdk/appconfiguration/Azure.ResourceManager.AppConfiguration/api/Azure.ResourceManager.AppConfiguration.net10.0.cs @@ -28,10 +28,8 @@ protected AppConfigurationKeyValueCollection() { } public virtual Azure.Response Exists(string keyValueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> ExistsAsync(string keyValueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Get(string keyValueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete as it never works, it will be removed in a future release", false)] public virtual Azure.Pageable GetAll(string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete as it never works, it will be removed in a future release", false)] public virtual Azure.AsyncPageable GetAllAsync(string skipToken = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetAsync(string keyValueName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -404,10 +402,8 @@ public partial class DeletedAppConfigurationStoreResource : Azure.ResourceManage protected DeletedAppConfigurationStoreResource() { } public virtual Azure.ResourceManager.AppConfiguration.DeletedAppConfigurationStoreData Data { get { throw null; } } public virtual bool HasData { get { throw null; } } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] public virtual Azure.Response AddTag(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] public virtual System.Threading.Tasks.Task> AddTagAsync(string key, string value, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static Azure.Core.ResourceIdentifier CreateResourceIdentifier(string subscriptionId, Azure.Core.AzureLocation location, string configStoreName) { throw null; } @@ -415,16 +411,12 @@ protected DeletedAppConfigurationStoreResource() { } public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation PurgeDeleted(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task PurgeDeletedAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] public virtual Azure.Response RemoveTag(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] public virtual System.Threading.Tasks.Task> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] public virtual Azure.Response SetTags(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] [System.ObsoleteAttribute("This method is obsolete and will be removed in a future release", false)] public virtual System.Threading.Tasks.Task> SetTagsAsync(System.Collections.Generic.IDictionary tags, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } Azure.ResourceManager.AppConfiguration.DeletedAppConfigurationStoreData System.ClientModel.Primitives.IJsonModel.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; } @@ -477,9 +469,7 @@ namespace Azure.ResourceManager.AppConfiguration.Models public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationActionsRequired None { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationActionsRequired Recreate { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationActionsRequired other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationActionsRequired left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationActionsRequired right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationActionsRequired (string value) { throw null; } @@ -577,9 +567,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPrivateLinkServiceConnectionStatus Pending { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPrivateLinkServiceConnectionStatus Rejected { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPrivateLinkServiceConnectionStatus other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPrivateLinkServiceConnectionStatus left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPrivateLinkServiceConnectionStatus right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPrivateLinkServiceConnectionStatus (string value) { throw null; } @@ -599,9 +587,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState Succeeded { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState Updating { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState (string value) { throw null; } @@ -617,9 +603,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess Disabled { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess Enabled { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess (string value) { throw null; } @@ -649,9 +633,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState Failed { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState Succeeded { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationReplicaProvisioningState (string value) { throw null; } @@ -666,9 +648,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public AppConfigurationResourceType(string value) { throw null; } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationResourceType MicrosoftAppConfigurationConfigurationStores { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationResourceType other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationResourceType left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationResourceType right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationResourceType (string value) { throw null; } @@ -697,9 +677,7 @@ protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus Provisioning { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus Ready { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus left, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus (string value) { throw null; } @@ -752,7 +730,6 @@ public static partial class ArmAppConfigurationModelFactory public static Azure.ResourceManager.AppConfiguration.AppConfigurationSnapshotData AppConfigurationSnapshotData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, string snapshotType = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState?), Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus? status = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationSnapshotStatus?), System.Collections.Generic.IEnumerable filters = null, Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType? compositionType = default(Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), System.DateTimeOffset? expireOn = default(System.DateTimeOffset?), long? retentionPeriod = default(long?), long? size = default(long?), long? itemsCount = default(long?), System.Collections.Generic.IDictionary tags = null, Azure.ETag? eTag = default(Azure.ETag?)) { throw null; } public static Azure.ResourceManager.AppConfiguration.Models.AppConfigurationStoreApiKey AppConfigurationStoreApiKey(string id = null, string name = null, string value = null, string connectionString = null, System.DateTimeOffset? lastModifiedOn = default(System.DateTimeOffset?), bool? isReadOnly = default(bool?)) { throw null; } public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData AppConfigurationStoreData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, System.Collections.Generic.IDictionary tags = null, Azure.Core.AzureLocation location = default(Azure.Core.AzureLocation), Azure.ResourceManager.Models.ManagedServiceIdentity identity = null, string skuName = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState?), System.DateTimeOffset? createdOn = default(System.DateTimeOffset?), string endpoint = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties encryptionKeyVaultProperties = null, System.Collections.Generic.IEnumerable privateEndpointConnections = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? publicNetworkAccess = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess?), bool? disableLocalAuth = default(bool?), int? softDeleteRetentionInDays = default(int?), bool? enablePurgeProtection = default(bool?), Azure.ResourceManager.AppConfiguration.Models.AppConfigurationDataPlaneProxyProperties dataPlaneProxy = null, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? createMode = default(Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode?)) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.ResourceManager.AppConfiguration.AppConfigurationStoreData AppConfigurationStoreData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary tags, Azure.Core.AzureLocation location, Azure.ResourceManager.Models.ManagedServiceIdentity identity, string skuName, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationProvisioningState? provisioningState, System.DateTimeOffset? createdOn, string endpoint, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationKeyVaultProperties encryptionKeyVaultProperties, System.Collections.Generic.IEnumerable privateEndpointConnections, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationPublicNetworkAccess? publicNetworkAccess, bool? disableLocalAuth, int? softDeleteRetentionInDays, bool? enablePurgeProtection, Azure.ResourceManager.AppConfiguration.Models.AppConfigurationCreateMode? createMode) { throw null; } public static Azure.ResourceManager.AppConfiguration.DeletedAppConfigurationStoreData DeletedAppConfigurationStoreData(Azure.Core.ResourceIdentifier id = null, string name = null, Azure.Core.ResourceType resourceType = default(Azure.Core.ResourceType), Azure.ResourceManager.Models.SystemData systemData = null, Azure.Core.ResourceIdentifier configurationStoreId = null, Azure.Core.AzureLocation? location = default(Azure.Core.AzureLocation?), System.DateTimeOffset? deletedOn = default(System.DateTimeOffset?), System.DateTimeOffset? scheduledPurgeOn = default(System.DateTimeOffset?), System.Collections.Generic.IReadOnlyDictionary tags = null, bool? isPurgeProtectionEnabled = default(bool?)) { throw null; } } @@ -765,9 +742,7 @@ public static partial class ArmAppConfigurationModelFactory public static Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyAuthenticationMode Local { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyAuthenticationMode PassThrough { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyAuthenticationMode other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyAuthenticationMode left, Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyAuthenticationMode right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyAuthenticationMode (string value) { throw null; } @@ -783,9 +758,7 @@ public static partial class ArmAppConfigurationModelFactory public static Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyPrivateLinkDelegation Disabled { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyPrivateLinkDelegation Enabled { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyPrivateLinkDelegation other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyPrivateLinkDelegation left, Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyPrivateLinkDelegation right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.DataPlaneProxyPrivateLinkDelegation (string value) { throw null; } @@ -801,9 +774,7 @@ public static partial class ArmAppConfigurationModelFactory public static Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType Key { get { throw null; } } public static Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType KeyLabel { get { throw null; } } public bool Equals(Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType other) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override bool Equals(object obj) { throw null; } - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public override int GetHashCode() { throw null; } public static bool operator ==(Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType left, Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType right) { throw null; } public static implicit operator Azure.ResourceManager.AppConfiguration.Models.SnapshotCompositionType (string value) { throw null; } From 84554a9b49ef1e536be3e21240a39e042788fba3 Mon Sep 17 00:00:00 2001 From: "Lingling Ye (from Dev Box)" Date: Wed, 14 Jan 2026 14:52:45 +0800 Subject: [PATCH 09/12] update --- .../Azure.Data.AppConfiguration/src/ConfigurationClient.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs index 1e422c5d6033..6077cc9c00ec 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs @@ -3,10 +3,12 @@ using System; using System.Collections.Generic; +using System.Collections.Specialized; using System.Globalization; using System.Text.Json; using System.Threading; using System.Threading.Tasks; +using System.Web; using Azure.Core; using Azure.Core.Pipeline; using Microsoft.TypeSpec.Generator.Customizations; @@ -1586,8 +1588,7 @@ public virtual void UpdateSyncToken(string token) int nextLinkEndIndex = linkHeader.IndexOf('>'); nextLink = linkHeader.Substring(1, nextLinkEndIndex - 1); - var uriBuilder = new UriBuilder("https://example.com" + nextLink); - var query = System.Web.HttpUtility.ParseQueryString(uriBuilder.Query); + NameValueCollection query = HttpUtility.ParseQueryString(nextLink); after = query["after"]; } From b7a5aa3b6c66aa7087923fc5b814a66139a5df83 Mon Sep 17 00:00:00 2001 From: "Lingling Ye (from Dev Box)" Date: Tue, 20 Jan 2026 09:59:59 +0800 Subject: [PATCH 10/12] update --- .../Azure.Data.AppConfiguration/src/ConfigurationClient.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs index 6077cc9c00ec..bf3b366a6416 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs @@ -799,7 +799,6 @@ HttpMessage FirstPageRequest(MatchConditions conditions, int? pageSizeHint) { return CreateCheckKeyValuesRequest(key, label, _syncToken, null, dateTime, fieldsString, null, conditions, tags, context); } - ; HttpMessage NextPageRequest(MatchConditions conditions, int? pageSizeHint, string after) { From 8205e2774d6ed3e5771b23b503aff826162e374b Mon Sep 17 00:00:00 2001 From: "Lingling Ye (from Dev Box)" Date: Thu, 22 Jan 2026 10:16:32 +0800 Subject: [PATCH 11/12] update --- .../Azure.Data.AppConfiguration/assets.json | 2 +- .../src/ConfigurationClient.cs | 32 +++++-------------- 2 files changed, 9 insertions(+), 25 deletions(-) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json b/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json index 04d40fcbbfc3..729fa8b7d8be 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "net", "TagPrefix": "net/appconfiguration/Azure.Data.AppConfiguration", - "Tag": "net/appconfiguration/Azure.Data.AppConfiguration_35617f7a4a" + "Tag": "net/appconfiguration/Azure.Data.AppConfiguration_5393940842" } diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs index bf3b366a6416..4a2c7256ee8f 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs @@ -800,12 +800,14 @@ HttpMessage FirstPageRequest(MatchConditions conditions, int? pageSizeHint) return CreateCheckKeyValuesRequest(key, label, _syncToken, null, dateTime, fieldsString, null, conditions, tags, context); } - HttpMessage NextPageRequest(MatchConditions conditions, int? pageSizeHint, string after) + HttpMessage NextPageRequest(MatchConditions conditions, int? pageSizeHint, string nextLink) { - return CreateCheckKeyValuesRequest(key, label, _syncToken, after, dateTime, fieldsString, null, conditions, tags, context); + HttpMessage message = CreateNextGetConfigurationSettingsRequest(nextLink, key, label, _syncToken, null, dateTime, fieldsString, null, conditions, tags, context); + message.Request.Method = RequestMethod.Head; + return message; } - return new ConditionalPageableImplementation(FirstPageRequest, NextPageRequest, ParseCheckConfigurationSettingsResponse, Pipeline, ClientDiagnostics, "ConfigurationClient.CheckConfigurationSettings", context); + return new ConditionalPageableImplementation(FirstPageRequest, NextPageRequest, ParseGetConfigurationSettingsResponse, Pipeline, ClientDiagnostics, "ConfigurationClient.CheckConfigurationSettings", context); } /// @@ -1545,9 +1547,10 @@ public virtual void UpdateSyncToken(string token) var values = new List(); string nextLink = null; - if (response.Status == 200) + // Only parse body if status is 200 and there is content (HEAD requests return no body) + if (response.Status == 200 && response.ContentStream != null && response.ContentStream.Length > 0) { - var document = response.ContentStream != null ? JsonDocument.Parse(response.ContentStream) : JsonDocument.Parse(response.Content); + var document = JsonDocument.Parse(response.ContentStream); if (document.RootElement.TryGetProperty("items", out var itemsValue)) { @@ -1575,25 +1578,6 @@ public virtual void UpdateSyncToken(string token) return (values, nextLink); } - private (List Values, string After) ParseCheckConfigurationSettingsResponse(Response response) - { - string after = null; - string nextLink = null; - - // The "Link" header is formatted as: - // ; rel="next" - if (response.Headers.TryGetValue("Link", out string linkHeader)) - { - int nextLinkEndIndex = linkHeader.IndexOf('>'); - nextLink = linkHeader.Substring(1, nextLinkEndIndex - 1); - - NameValueCollection query = HttpUtility.ParseQueryString(nextLink); - after = query["after"]; - } - - return (null, after); - } - private static RequestContext CreateRequestContext(ErrorOptions errorOptions, CancellationToken cancellationToken) { return new RequestContext() From b478a52a6f4c74306975b75d40c1e77e596f533a Mon Sep 17 00:00:00 2001 From: "Lingling Ye (from Dev Box)" Date: Fri, 23 Jan 2026 16:16:15 +0800 Subject: [PATCH 12/12] update --- .../src/ConfigurationClient.cs | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs index 4a2c7256ee8f..67a4accd144c 100644 --- a/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs +++ b/sdk/appconfiguration/Azure.Data.AppConfiguration/src/ConfigurationClient.cs @@ -807,7 +807,7 @@ HttpMessage NextPageRequest(MatchConditions conditions, int? pageSizeHint, strin return message; } - return new ConditionalPageableImplementation(FirstPageRequest, NextPageRequest, ParseGetConfigurationSettingsResponse, Pipeline, ClientDiagnostics, "ConfigurationClient.CheckConfigurationSettings", context); + return new ConditionalPageableImplementation(FirstPageRequest, NextPageRequest, ParseCheckConfigurationSettingsResponse, Pipeline, ClientDiagnostics, "ConfigurationClient.CheckConfigurationSettings", context); } /// @@ -1547,10 +1547,9 @@ public virtual void UpdateSyncToken(string token) var values = new List(); string nextLink = null; - // Only parse body if status is 200 and there is content (HEAD requests return no body) - if (response.Status == 200 && response.ContentStream != null && response.ContentStream.Length > 0) + if (response.Status == 200) { - var document = JsonDocument.Parse(response.ContentStream); + var document = response.ContentStream != null ? JsonDocument.Parse(response.ContentStream) : JsonDocument.Parse(response.Content); if (document.RootElement.TryGetProperty("items", out var itemsValue)) { @@ -1578,6 +1577,22 @@ public virtual void UpdateSyncToken(string token) return (values, nextLink); } + private (List Values, string NextLink) ParseCheckConfigurationSettingsResponse(Response response) + { + var values = new List(); + string nextLink = null; + + // The "Link" header is formatted as: + // ; rel="next" + if (response.Headers.TryGetValue("Link", out string linkHeader)) + { + int nextLinkEndIndex = linkHeader.IndexOf('>'); + nextLink = linkHeader.Substring(1, nextLinkEndIndex - 1); + } + + return (values, nextLink); + } + private static RequestContext CreateRequestContext(ErrorOptions errorOptions, CancellationToken cancellationToken) { return new RequestContext()