-
Notifications
You must be signed in to change notification settings - Fork 4k
[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
2258093686
wants to merge
10
commits into
Azure:main
Choose a base branch
from
2258093686:hdi-ps-sdk-2025-01-15
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
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
…ayEntraUserInfo ; New-AzHDInsightClusterGatewayEntraUserInfo modify cmd: New-AzHDInsightCluster
Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
There was a problem hiding this 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
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.
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.md
and reviewed the following information:ChangeLog.md
file(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
.## Upcoming Release
header in the past tense.ChangeLog.md
if no new release is required, such as fixing test case only.