[ResourceManager] Bump api-version of ManagementGroup to 2023-04-01#54479
Merged
ArthurMa1978 merged 4 commits intoAzure:mainfrom Dec 16, 2025
Merged
[ResourceManager] Bump api-version of ManagementGroup to 2023-04-01#54479ArthurMa1978 merged 4 commits intoAzure:mainfrom
ManagementGroup to 2023-04-01#54479ArthurMa1978 merged 4 commits intoAzure:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
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
Uritype forNextLinkproperties instead ofstring - 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 |
...r/src/ManagementGroup/Generated/Models/ListSubscriptionUnderManagementGroup.Serialization.cs
Show resolved
Hide resolved
...Azure.ResourceManager/src/ManagementGroup/Generated/Models/EntityListResult.Serialization.cs
Show resolved
Hide resolved
...e.ResourceManager/src/ManagementGroup/Generated/Models/DescendantListResult.Serialization.cs
Show resolved
Hide resolved
ArthurMa1978
approved these changes
Dec 16, 2025
Member
|
/check-enforcer override |
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
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.
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.