Skip to content

[ResourceManager] Bump api-version of ManagementGroup to 2023-04-01#54479

Merged
ArthurMa1978 merged 4 commits intoAzure:mainfrom
HarveyLink:v-minghc-managementgroup
Dec 16, 2025
Merged

[ResourceManager] Bump api-version of ManagementGroup to 2023-04-01#54479
ArthurMa1978 merged 4 commits intoAzure:mainfrom
HarveyLink:v-minghc-managementgroup

Conversation

@HarveyLink
Copy link
Member

TSP PR: Azure/azure-rest-api-specs#38384

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

@github-actions github-actions bot added the Mgmt This issue is related to a management package. label Dec 12, 2025
@HarveyLink HarveyLink marked this pull request as ready for review December 15, 2025 03:03
Copilot AI review requested due to automatic review settings December 15, 2025 03:03
Copy link
Member

@ArcturusZhang ArcturusZhang left a comment

Choose a reason for hiding this comment

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

LGTM

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 PR bumps the Management Group API version from 2021-04-01 to 2023-04-01, updating all related generated code, samples, and configuration files.

Key Changes

  • Updated API version references across all ManagementGroup-related files
  • Modified autorest.md configuration with new input file URL and updated directives for parameter naming
  • Changed model classes to use Uri type for NextLink properties instead of string
  • Reordered methods in REST operations classes (internal only, not breaking)

Reviewed changes

Copilot reviewed 2 out of 25 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
sdk/resourcemanager/Azure.ResourceManager/src/autorest.md Updated input file URL and swagger hash, modified directives for SkipToken parameter naming, added new rename-mappings
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/RestOperations/ManagementGroupsRestOperations.cs Updated API version to 2023-04-01, moved CheckNameAvailability methods to top, removed trailing newlines from doc comments
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/RestOperations/ManagementGroupSubscriptionsRestOperations.cs Updated API version, reordered methods (GetSubscriptionsUnderManagementGroup now first), removed trailing newlines from doc comments
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/RestOperations/EntitiesRestOperations.cs Updated API version to 2023-04-01, removed trailing newlines from doc comments
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ListSubscriptionUnderManagementGroup.cs Changed NextLink type from string to Uri, modified constructors to require non-null value parameter
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ListSubscriptionUnderManagementGroup.Serialization.cs Updated serialization logic for Uri NextLink, changed constructor calls to pass value parameter
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/EntityListResult.cs Changed NextLink type from string to Uri, modified constructors to require non-null value parameter, reordered properties
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/EntityListResult.Serialization.cs Updated serialization logic for Uri NextLink, changed constructor calls to pass value parameter
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantListResult.cs Changed NextLink type from string to Uri, modified constructors to require non-null value parameter
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/DescendantListResult.Serialization.cs Updated serialization logic for Uri NextLink, changed constructor calls to pass value parameter
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupPatch.Serialization.cs Removed null check handling for DisplayName and ParentGroupId properties in serialization
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupInfo.Serialization.cs Removed null assignment for Path and ManagementGroupAncestorsChain collections, simplified null handling
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/Models/ManagementGroupCollectionGetEntitiesOptions.cs Removed trailing newline from doc comment
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/ResourceManagerModelFactory.cs Reordered model factory methods (ManagementGroupNameAvailabilityResult and EntityData now first)
sdk/resourcemanager/Azure.ResourceManager/src/ManagementGroup/Generated/ManagementGroup*.cs Updated API version references in doc comments from 2021-04-01 to 2023-04-01, removed trailing newlines
sdk/resourcemanager/Azure.ResourceManager/tests/ManagementGroup/Generated/Samples/*.cs Updated example definition paths to reflect new API version and directory structure
sdk/resourcemanager/Azure.ResourceManager/CHANGELOG.md Added changelog entry for API version bump

@ArthurMa1978
Copy link
Member

/check-enforcer override

@ArthurMa1978 ArthurMa1978 merged commit b3a85e2 into Azure:main Dec 16, 2025
48 of 49 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management package.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants