Skip to content

[AutoPR azure-resourcemanager-terraform]-generated-from-SDK Generation - Java-6751151 - #50261

Open
azure-sdk-automation[bot] wants to merge 1 commit into
mainfrom
sdkauto/azure-resourcemanager-terraform-6751151
Open

[AutoPR azure-resourcemanager-terraform]-generated-from-SDK Generation - Java-6751151#50261
azure-sdk-automation[bot] wants to merge 1 commit into
mainfrom
sdkauto/azure-resourcemanager-terraform-6751151

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

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

…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.
Copilot AI lite review requested due to automatic review settings August 27, 2026 01:59
@azure-sdk-automation azure-sdk-automation Bot added the auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. label Aug 27, 2026
@github-actions github-actions Bot added the Mgmt This issue is related to a management-plane library. label Aug 27, 2026
@azure-pipelines

Copy link
Copy Markdown
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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 AzureExtensionResourceType and introduced includeExtensions support 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.
@github-actions

Copy link
Copy Markdown
Contributor

Automated management AutoPR review

  • Head SHA: 0548a4976c3e4a9b7231f20a6dae33d9e004e9ed
  • Package: azure-resourcemanager-terraform
  • Release type: beta
  • API version: 2026-09-01-preview
  • CHANGELOG: 1.0.0-beta.2 (2026-08-27)
  • Java changes reviewed: 5 non-generated Java source files; generated-path samples and tests excluded
  • Breaking changes: none (beta release)
  • Decision: no high-confidence concerns

Informational

  • [MGMT-API-VERSION] New — sdk/terraform/azure-resourcemanager-terraform/CHANGELOG.md, release 1.0.0-beta.2 (2026-08-27), declares generated API version 2026-09-01-preview.

Automated management AutoPR review by Management AutoPR Review: https://github.com/Azure/azure-sdk-for-java/actions/runs/33031830846. Advisory only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants