App Configuration - 2026-05-01-preview - #50193
Conversation
|
Azure Pipelines: 35 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Pull request overview
Updates App Configuration generation to 2026-05-01-preview and introduces generated feature-flag clients and models.
Changes:
- Updates TypeSpec and generation metadata.
- Adds synchronous/asynchronous feature-flag APIs and models.
- Wires feature-flag operations and updates the changelog.
Reviewed changes
Copilot reviewed 18 out of 19 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
tsp-location.yaml |
Updates the specification commit. |
azure-data-appconfiguration_metadata.json |
Records the preview API generation. |
UserAllocation.java |
Adds user-based allocation model. |
StatusOverride.java |
Adds status override values. |
RequirementType.java |
Adds filter requirement values. |
PercentileAllocation.java |
Adds percentile allocation model. |
GroupAllocation.java |
Adds group-based allocation model. |
FeatureFlagVariantDefinition.java |
Adds variant definitions. |
FeatureFlagTelemetryConfiguration.java |
Adds telemetry configuration. |
FeatureFlagFilter.java |
Adds feature-flag filters. |
FeatureFlagFields.java |
Adds selectable feature-flag fields. |
FeatureFlagConditions.java |
Adds feature-flag conditions. |
FeatureFlagAllocation.java |
Adds variant allocation settings. |
FeatureFlag.java |
Adds the generated feature-flag model. |
ConfigurationClientImpl.java |
Wires the feature-flag implementation. |
FeatureFlagClient.java |
Adds the synchronous feature-flag client. |
FeatureFlagAsyncClient.java |
Adds the asynchronous feature-flag client. |
CHANGELOG.md |
Announces preview-version support. |
Suppressed comments (3)
sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/FeatureFlagClient.java:42
- There is no public construction path for this client: its only constructor is package-private and
ConfigurationClientBuilderexposes onlybuildClient()/buildAsyncClient()for the existing configuration clients. Consequently, consumers cannot invoke any of the new feature-flag operations.
FeatureFlagClient(FeatureFlagClientsImpl serviceClient) {
sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/FeatureFlagAsyncClient.java:47
- The async client has no public construction path either: this constructor is package-private and the customized builder has no method returning
FeatureFlagAsyncClient, making all asynchronous feature-flag operations unreachable.
FeatureFlagAsyncClient(FeatureFlagClientsImpl serviceClient) {
sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/FeatureFlagClient.java:1308
- This overload has the same HTTP 204 path: a successful body-less delete is dereferenced and deserialized, causing the convenience method to fail after the service has already deleted the flag.
return deleteFeatureFlagWithResponse(name, requestOptions).getValue().toObject(FeatureFlag.class);
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
| /** | ||
| * Initializes a new instance of the synchronous AzureAppConfiguration type. | ||
| */ | ||
| @ServiceClient(builder = AzureAppConfigurationBuilder.class) |
| /** | ||
| * Initializes a new instance of the asynchronous AzureAppConfiguration type. | ||
| */ | ||
| @ServiceClient(builder = AzureAppConfigurationBuilder.class, isAsync = true) |
| this.serializerAdapter = serializerAdapter; | ||
| this.endpoint = endpoint; | ||
| this.serviceVersion = serviceVersion; | ||
| this.featureFlagClients = new FeatureFlagClientsImpl(this); |
| import com.azure.data.appconfiguration.implementation.models.FeatureFlag; | ||
| import com.azure.data.appconfiguration.implementation.models.FeatureFlagFields; |
| * Initializes a new instance of the synchronous AzureAppConfiguration type. | ||
| */ | ||
| @ServiceClient(builder = AzureAppConfigurationBuilder.class) | ||
| public final class FeatureFlagClient { |
|
|
||
| ### Other Changes | ||
|
|
||
| - Updated to support `2026-05-01-preview` |
| if (ifMatch != null) { | ||
| requestOptions.setHeader(HttpHeaderName.IF_MATCH, ifMatch); | ||
| } | ||
| return deleteFeatureFlagWithResponse(name, requestOptions).getValue().toObject(FeatureFlag.class); |
|
/azp run |
|
You have several pipelines (over 10) configured to build pull requests in this repository. Specify which pipelines you would like to run by using /azp run [pipelines] command. You can specify multiple pipelines using a comma separated list. |
|
/azp run appconfiguraiton |
|
No pipelines are associated with this pull request. |
|
/azp run java appconfiguration |
|
No pipelines are associated with this pull request. |
Description
This PR is just updating the api spec to
2026-05-01-previewand adding the auto generated code for the new api version. It isn't making any public api changes.