Skip to content

[Az.ServiceFabric] Added parameter AutoGeneratedDomainNameLabelScope to allow customers to initiate migration to public CA cluster certificates in cmdlet New-AzServiceFabricManagedCluster and Set-AzServiceFabricManagedCluster #28349

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

iliu816
Copy link
Member

@iliu816 iliu816 commented Aug 8, 2025

Description

Fixed Set-AzServiceFabricManagedClusterApplication to correctly overwrite existing application upgrade policy when -RecreateApplication parameter is specified and no other upgrade policy parameters are bound.

Based on instructions at https://eng.ms/docs/products/azure-service-fabric/how-to/publiccacluster/managed-tls-solution

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 August 8, 2025 00:17
Copy link

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

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 adds support for the AutoGeneratedDomainNameLabelScope parameter to enable migration to public CA cluster certificates in Service Fabric managed clusters. The changes also include alphabetical reordering of constructor parameters for consistency.

Key changes:

  • Added AutoGeneratedDomainNameLabelScope parameter to New-AzServiceFabricManagedCluster and Set-AzServiceFabricManagedCluster cmdlets
  • Updated constructor parameter ordering to alphabetical in both PSManagedCluster and PSManagedNodeType models
  • Updated help documentation to include the new parameter

Reviewed Changes

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

Show a summary per file
File Description
NewAzServiceFabricManagedCluster.cs Added AutoGeneratedDomainNameLabelScope parameter and implementation
SetAzServiceFabricManagedCluster.cs Added AutoGeneratedDomainNameLabelScope parameter and update logic
PSManagedCluster.cs Reordered constructor parameters alphabetically and added new property
PSManagedNodeType.cs Reordered constructor parameters alphabetically
New-AzServiceFabricManagedCluster.md Updated help documentation with new parameter
Set-AzServiceFabricManagedCluster.md Updated help documentation with new parameter
ChangeLog.md Added changelog entry for the new feature

@iliu816 iliu816 changed the title [Az.Service] Fixed Set-AzServiceFabricManagedClusterApplication to correctly overwrite existing application upgrade policy when -RecreateApplication parameter is specified and no other upgrade policy parameters are bound [Az.Service] dded parameter AutoGeneratedDomainNameLabelScope to allow customers to initiate migration to public CA cluster certificates in cmdlet New-AzServiceFabricManagedCluster and Set-AzServiceFabricManagedCluster Aug 8, 2025
@iliu816 iliu816 changed the title [Az.Service] dded parameter AutoGeneratedDomainNameLabelScope to allow customers to initiate migration to public CA cluster certificates in cmdlet New-AzServiceFabricManagedCluster and Set-AzServiceFabricManagedCluster [Az.Service] Added parameter AutoGeneratedDomainNameLabelScope to allow customers to initiate migration to public CA cluster certificates in cmdlet New-AzServiceFabricManagedCluster and Set-AzServiceFabricManagedCluster Aug 8, 2025
@iliu816 iliu816 changed the title [Az.Service] Added parameter AutoGeneratedDomainNameLabelScope to allow customers to initiate migration to public CA cluster certificates in cmdlet New-AzServiceFabricManagedCluster and Set-AzServiceFabricManagedCluster [Az.ServiceFabric] Added parameter AutoGeneratedDomainNameLabelScope to allow customers to initiate migration to public CA cluster certificates in cmdlet New-AzServiceFabricManagedCluster and Set-AzServiceFabricManagedCluster Aug 8, 2025
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