Skip to content

[HDInsight] Update api version to 2025-01-15-preview #27837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

2258093686
Copy link
Member

@2258093686 2258093686 commented May 26, 2025

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 Copilot AI review requested due to automatic review settings May 26, 2025 06:28
Copy link

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

@2258093686 2258093686 marked this pull request as draft May 26, 2025 06:28
Copy link
Contributor

@Copilot 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 PR updates the HDInsight API version to 2025-01-15-preview and adapts the cmdlets, SDK, and tests accordingly. Key changes include:

  • Parameter updates in cmdlets to support the new RestAuthEntraUsers input and making HttpCredential optional.
  • Updates to test session records and PowerShell scripts to align with the new API version and associated behavior.
  • Modifications in the SDK and documentation to reference the updated API endpoints.

Reviewed Changes

Copilot reviewed 36 out of 36 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/HDInsight/HDInsight/ManagementCommands/SetAzureHDInsightGatewaySettingsCommand.cs Adjusted parameter handling and error conditions to support either HttpCredential or RestAuthEntraUsers.
src/HDInsight/HDInsight/ManagementCommands/NewAzureHDInsightClusterGatewayEntraUserInfoCommand.cs Added a new cmdlet to create Entra user info objects for gateway access.
src/HDInsight/HDInsight/ManagementCommands/NewAzureHDInsightClusterCommand.cs Made HttpCredential optional and added the RestAuthEntraUsers parameter when invoking the cluster creation helper.
src/HDInsight/HDInsight/ManagementCommands/GetAzureHDInsightClusterGatewayEntraUserInfoCommand.cs Updated parameter sets to correctly resolve input by name, resource ID, or input object.
src/HDInsight/HDInsight/Constants.cs Added a new constant key for EntraUsers under GatewayConfigurations.
src/HDInsight/HDInsight/ClusterCreateHelper.cs Updated the method signature to accept RestAuthEntraUsers and added related parameter validation; left some commented-out legacy code.
Various test and PSD1 files Updated API version endpoints, cmdlet exports, and test script parameters to reflect the new API version and updated command behavior.

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