[AutoPR azure-resourcemanager-terraform]-generated-from-SDK Generation - Java-6751151 - #50261
Open
azure-sdk-automation[bot] wants to merge 1 commit into
Open
Conversation
…zureTerraform/AzureTerraform/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: 'fd120e0fcfaa15303cf56fb1987fa805d76cc467' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6751151 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
azure-sdk-automation
Bot
requested review from
a team,
Arthur Ma (ArthurMa1978),
Xiaofei Cao (XiaofeiCao),
Haoling Dong (haolingdong-msft) and
Weidong Xu (weidongxu-microsoft)
as code owners
August 27, 2026 01:59
|
Azure Pipelines: Successfully started running 1 pipeline(s). 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. |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the azure-resourcemanager-terraform management library from a newer TypeSpec source in azure-rest-api-specs, bumping the generated API version and expanding the export model surface to support exporting “extension” resource types.
Changes:
- Updated TypeSpec source location/commit and bumped the generated API version to
2026-09-01-preview. - Added
AzureExtensionResourceTypeand introducedincludeExtensionssupport across export-related models (plus JSON (de)serialization and fluent overrides). - Refreshed generated metadata, samples, tests, README, and changelog to align with the new API surface.
Reviewed changes
Copilot reviewed 12 out of 18 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| sdk/terraform/azure-resourcemanager-terraform/tsp-location.yaml | Points generation to the updated spec directory/commit. |
| sdk/terraform/azure-resourcemanager-terraform/src/test/java/com/azure/resourcemanager/terraform/generated/OperationsListMockTests.java | Updates generated mock test payload. |
| sdk/terraform/azure-resourcemanager-terraform/src/test/java/com/azure/resourcemanager/terraform/generated/ExportResourceTests.java | Updates model serialization tests for new fields/values. |
| sdk/terraform/azure-resourcemanager-terraform/src/test/java/com/azure/resourcemanager/terraform/generated/ExportResourceGroupTests.java | Updates model serialization tests for new fields/values. |
| sdk/terraform/azure-resourcemanager-terraform/src/test/java/com/azure/resourcemanager/terraform/generated/BaseExportModelTests.java | Adds coverage for includeExtensions on the base model. |
| sdk/terraform/azure-resourcemanager-terraform/src/samples/java/com/azure/resourcemanager/terraform/generated/TerraformExportTerraformSamples.java | Updates sample provenance to the new api-version folder. |
| sdk/terraform/azure-resourcemanager-terraform/src/samples/java/com/azure/resourcemanager/terraform/generated/OperationsListSamples.java | Updates sample provenance to the new api-version folder. |
| sdk/terraform/azure-resourcemanager-terraform/src/main/resources/META-INF/azure-resourcemanager-terraform_metadata.json | Updates api-version and adds new model cross-language mapping. |
| sdk/terraform/azure-resourcemanager-terraform/src/main/java/com/azure/resourcemanager/terraform/models/ExportResourceGroup.java | Adds includeExtensions handling in fluent model JSON (de)serialization. |
| sdk/terraform/azure-resourcemanager-terraform/src/main/java/com/azure/resourcemanager/terraform/models/ExportResource.java | Adds includeExtensions handling in fluent model JSON (de)serialization. |
| sdk/terraform/azure-resourcemanager-terraform/src/main/java/com/azure/resourcemanager/terraform/models/ExportQuery.java | Adds includeExtensions handling in fluent model JSON (de)serialization. |
| sdk/terraform/azure-resourcemanager-terraform/src/main/java/com/azure/resourcemanager/terraform/models/BaseExportModel.java | Introduces includeExtensions property and updates role-assignment docs. |
| sdk/terraform/azure-resourcemanager-terraform/src/main/java/com/azure/resourcemanager/terraform/models/AzureExtensionResourceType.java | New generated expandable enum for extension resource types. |
| sdk/terraform/azure-resourcemanager-terraform/src/main/java/com/azure/resourcemanager/terraform/implementation/AzureTerraformManagementClientImpl.java | Bumps default apiVersion constant. |
| sdk/terraform/azure-resourcemanager-terraform/SAMPLE.md | Updates embedded sample provenance api-version paths. |
| sdk/terraform/azure-resourcemanager-terraform/README.md | Updates api-version text and modernizes auth snippet cloud constant. |
| sdk/terraform/azure-resourcemanager-terraform/pom.xml | Updates package description and minor POM formatting/property changes. |
| sdk/terraform/azure-resourcemanager-terraform/CHANGELOG.md | Records breaking changes/features for 1.0.0-beta.2. |
Suppressed comments (1)
sdk/terraform/azure-resourcemanager-terraform/src/main/java/com/azure/resourcemanager/terraform/models/BaseExportModel.java:161
- The JavaDoc states this setter is deprecated, but it isn’t marked with
@Deprecated/@deprecated. Adding those will surface the deprecation in IDEs and generated docs.
/**
* Set the includeRoleAssignment property: Whether to include role assignments assigned to the resources exported.
* Defaults to `false`. This is deprecated in favor of `includeExtensions` (with `role-assignments` specified).
*
* @param includeRoleAssignment the includeRoleAssignment value to set.
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
147
to
151
| /** | ||
| * Get the includeRoleAssignment property: Whether to include RBAC role assignments assigned to the resources | ||
| * exported. Only resource-scoped role assignments are supported. Defaults to `false`. | ||
| * Get the includeRoleAssignment property: Whether to include role assignments assigned to the resources exported. | ||
| * Defaults to `false`. This is deprecated in favor of `includeExtensions` (with `role-assignments` specified). | ||
| * | ||
| * @return the includeRoleAssignment value. |
Contributor
Automated management AutoPR review
Informational
|
Weidong Xu (weidongxu-microsoft)
approved these changes
Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Configurations: 'specification/terraform/resource-manager/Microsoft.AzureTerraform/AzureTerraform/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: 'fd120e0fcfaa15303cf56fb1987fa805d76cc467' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6751151 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. Release plan link: https://azsdk-releaseplan-dashboard-hveph5aqhhcfhtgu.westus-01.azurewebsites.net/?releaseplan=36289 Submitted by: Zhaoting.Weng@microsoft.com