Skip to content

Upgrade API version to 2026-01-01#29167

Draft
2003LK wants to merge 5 commits intoAzure:mainfrom
2003LK:api-update-1-2026
Draft

Upgrade API version to 2026-01-01#29167
2003LK wants to merge 5 commits intoAzure:mainfrom
2003LK:api-update-1-2026

Conversation

@2003LK
Copy link

@2003LK 2003LK commented Feb 12, 2026

Description

Mandatory Checklist

  • SHOULD update ChangeLog.md file(s) appropriately
    • Update src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.
      • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header in the past tense.
    • Should not change ChangeLog.md if no new release is required, such as fixing test case only.
  • SHOULD regenerate markdown help files if there is cmdlet API change. Instruction
  • SHOULD have proper test coverage for changes in pull request.
  • SHOULD NOT adjust version of module manually in pull request

Copilot AI review requested due to automatic review settings February 12, 2026 04:18
@azure-client-tools-bot-prd
Copy link

Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request upgrades the Azure Databricks PowerShell module from API version 2024-05-01 to 2026-01-01. The primary functional change is the addition of a new ComputeMode parameter to the New-AzDatabricksWorkspace cmdlet, which allows users to specify 'Hybrid' or 'Serverless' compute modes when creating workspaces.

Changes:

  • API version upgraded from 2024-05-01 to 2026-01-01 across all module components
  • Added ComputeMode parameter (Hybrid/Serverless) to workspace creation
  • Updated all API model references from Api20240501 to Api202601
  • Enhanced test coverage with new scenarios for Serverless and Enhanced Security Compliance (ESC) workspaces
  • Updated test infrastructure with second resource group and cleanup logic

Reviewed changes

Copilot reviewed 30 out of 32 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/Databricks/Databricks/ChangeLog.md Added entry for ComputeMode parameter support
src/Databricks/Databricks/help/New-AzDatabricksWorkspace.md Added documentation for ComputeMode parameter
src/Databricks/Databricks.Autorest/README.md Updated API version commit hash and module version
src/Databricks/Databricks.Autorest/custom/New-AzDatabricksWorkspace.ps1 Implemented ComputeMode logic with default to 'Hybrid'
src/Databricks/Databricks.Autorest/custom/Update-AzDatabricksWorkspace.ps1 Updated API model references and breaking change attributes
src/Databricks/Databricks.Autorest/custom/Update-AzDatabricksVNetPeering.ps1 Updated API model references
src/Databricks/Databricks.Autorest/custom/New-AzDatabricksWorkspaceProviderAuthorizationObject.ps1 Updated API model references
src/Databricks/Databricks.Autorest/test/AzDatabricksWorkspace.Tests.ps1 Added Serverless and ESC test scenarios, commented out OutboundNetworkDependencies test
src/Databricks/Databricks.Autorest/test/AzDatabricksVNetPeering.Tests.ps1 Added -NoWait to cleanup operation
src/Databricks/Databricks.Autorest/test/utils.ps1 Added second resource group setup and enabled cleanup
src/Databricks/Databricks.Autorest/test/env.json, localEnv.json Added test environment variables
src/Databricks/Databricks.Autorest/test/AzDatabricksVNetPeering.Recording.json Updated test recordings with new API version
src/Databricks/Databricks.Autorest/Properties/AssemblyInfo.cs Updated assembly version (though inconsistent with README)
src/Databricks/Databricks.Autorest/docs/*.md Updated all help documentation with new API model references
src/Databricks/Databricks.Autorest/UX/*.json Updated API versions in UX configuration
src/Databricks/Databricks.Autorest/generate-info.json Deleted (normal for regeneration)

Comment on lines 23 to 24
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.10.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.10.1")]
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

Version mismatch detected: The README.md specifies module-version as "1.11.0", but AssemblyInfo.cs shows version "1.10.1". These version numbers should be consistent. Based on the ChangeLog.md entry for Version 1.11.0, the AssemblyInfo.cs should be updated to match "1.11.0".

Suggested change
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.10.1")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.10.1")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.11.0")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.11.0")]

Copilot uses AI. Check for mistakes.
Copy link
Author

Choose a reason for hiding this comment

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

I'm confused if this is supposed to be updated to 1.11.0 if I'm also supposed to remove 1.11.0 Header in the ChangeLog, could I get confirmation on which is correct? As this module-version seems to be set automatically.

@isra-fel
Copy link
Member

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@isra-fel
Copy link
Member

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants