Skip to content

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

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 5 commits into
base: main
Choose a base branch
from

Conversation

2258093686
Copy link
Member

@2258093686 2258093686 commented Jul 18, 2025

Description

  • Updated api version to 2025-01-15-preview
  • Added two parameters -EntraUserIdentity and -EntraUserFullInfo to cmdlet New-AzHDInsightCluster to support create cluster with entra user as gateway credential to replace use username and password.
  • Added two parameters -EntraUserIdentity and -EntraUserFullInfo to cmdlet Set-AzHDInsightGatewayCredential to update Entra user information for an existing Entra user cluster.
  • Added support for using WASB storage with Managed Identity (MSI) in the New-AzHDInsightCluster cmdlet.

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 July 18, 2025 07:44
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 July 18, 2025 07:45
Copilot

This comment was marked as outdated.

@2258093686 2258093686 requested a review from Copilot July 18, 2025 08:38
Copilot

This comment was marked as outdated.

@2258093686 2258093686 requested a review from Copilot July 18, 2025 08:56
Copilot

This comment was marked as outdated.

@2258093686 2258093686 requested a review from Copilot July 18, 2025 09:02
Copilot

This comment was marked as outdated.

@2258093686 2258093686 requested a review from Copilot July 18, 2025 09:32
Copilot

This comment was marked as outdated.

@2258093686 2258093686 requested a review from Copilot July 18, 2025 09:41
Copilot

This comment was marked as outdated.

@2258093686 2258093686 requested a review from Copilot July 18, 2025 09:51
Copilot

This comment was marked as outdated.

@2258093686 2258093686 requested a review from Copilot July 18, 2025 09:53
Copilot

This comment was marked as outdated.

@2258093686 2258093686 requested a review from Copilot July 18, 2025 09:56
Copilot

This comment was marked as outdated.

@2258093686 2258093686 requested a review from Copilot July 24, 2025 03:09
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 module to API version 2025-01-15-preview and adds support for Entra user authentication as an alternative to username/password for gateway credentials, along with support for WASB storage with Managed Service Identity (MSI).

  • Updated API version from 2024-08-01-preview to 2025-01-15-preview
  • Added Entra user authentication support via new -EntraUserIdentity and -EntraUserFullInfo parameters
  • Added WASB storage with MSI support through new storage account managed identity parameter

Reviewed Changes

Copilot reviewed 24 out of 50 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
Set-AzHDInsightGatewayCredential.md Updated help documentation to include new Entra user parameters and examples
New-AzHDInsightCluster.md Updated help documentation with new Entra user parameters and WASB+MSI examples
AzureHDInsightGatewaySettings.cs Added RestAuthEntraUsers property to support Entra user information
AzureHDInsightEntraUserInfo.cs New model class for Entra user information with ObjectId, DisplayName, and UPN
SetAzureHDInsightGatewayCredentialCommand.cs Added logic to handle Entra user parameters with validation
NewAzureHDInsightClusterCommand.cs Added Entra user support and MSI storage account parameter
HDInsightCmdletBase.cs Added GraphClient property for Microsoft Graph API integration
ClusterCreateHelper.cs Updated to support both HTTP credentials and Entra users with MSI storage
ClusterConfigurationUtils.cs Added utility methods to process Entra user data from Graph API or manual input
Test files Updated test scripts and session recordings to reflect API version changes

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