Update TrafficManager ChangeLog.md for RecordType support (Upcoming Release) - #29998
Merged
Yabo Hu (VeryEarly) merged 1 commit intoAug 13, 2026
Conversation
Contributor
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Az.TrafficManager module to support the new RecordType capability on Traffic Manager profiles (aligned with the 2024-04-01-preview API), refreshes scenario test recordings, and adds/updates release notes.
Changes:
- Added
RecordTypesupport end-to-end (cmdlet parameter, client wiring, model mapping). - Regenerated the TrafficManager management SDK for API version
2024-04-01-preview. - Updated/added scenario tests and refreshed recorded HTTP session files; added an Upcoming Release entry.
Reviewed changes
Copilot reviewed 54 out of 78 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/TrafficManager/TrafficManager/Utilities/TrafficManagerClient.cs | Adds recordType plumbing into profile create and maps RecordType from SDK to PowerShell model. |
| src/TrafficManager/TrafficManager/Utilities/Constants.cs | Adds constants for record type validate-set values. |
| src/TrafficManager/TrafficManager/Profile/NewAzureTrafficManagerProfile.cs | Exposes -RecordType parameter and passes it into profile creation. |
| src/TrafficManager/TrafficManager/Models/TrafficManagerProfile.cs | Adds RecordType property and includes it in SDK conversion logic. |
| src/TrafficManager/TrafficManager/ChangeLog.md | Adds an Upcoming Release note for the TrafficManager changes. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileRemoveNonExisting.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileNewAlreadyExists.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileMonitorProtocol.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileMonitorParameterAliases.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileMonitorDefault.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileMonitorCustom.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileEnablePipeline.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileEnableNonExisting.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileEnable.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileDisablePipeline.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileDisableNonExisting.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileDisable.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileCrudWithPiping.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestProfileCrud.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestListProfilesWhereObject.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestListProfilesInSubscription.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestListProfilesInResourceGroup.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestCrudWithEndpointGeo.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestCrudWithEndpoint.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestCreateDeleteUsingProfile.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestAddAndRemoveExpectedStatusCodeRanges.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.ProfileTests/TestAddAndRemoveCustomHeadersFromProfile.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.EndpointTests/TestRemoveNonExistingEndpointFromProfile.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.EndpointTests/TestGetExistingEndpointFromNonExistingProfile.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.EndpointTests/TestEnableNonExistingEndpoint.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.EndpointTests/TestDisableNonExistingEndpoint.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.EndpointTests/TestDeleteEndpoint.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.EndpointTests/TestCreateExistingEndpointFromNonExistingProfile.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.EndpointTests/TestCreateExistingEndpoint.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/SessionRecords/Microsoft.Azure.Commands.TrafficManager.Test.ScenarioTests.EndpointTests/TestAddEndpoint.json | Updates recorded request URIs to 2024-04-01-preview. |
| src/TrafficManager/TrafficManager.Test/ScenarioTests/ProfileTests.ps1 | Adds scenario test functions for RecordType CRUD and immutability behavior. |
| src/TrafficManager/TrafficManager.Test/ScenarioTests/ProfileTests.cs | Registers new scenario tests in the xUnit test suite. |
| src/TrafficManager/TrafficManager.Management.Sdk/README.md | Updates AutoRest configuration to point at the 2024-04-01-preview swagger and adjusts directives. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/TrafficManagerUserMetricsKeysOperationsExtensions.cs | SDK regeneration formatting changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/TrafficManagerUserMetricsKeysOperations.cs | SDK regeneration changes (subscriptionId formatting/serialization and validation adjustments). |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/TrafficManagerManagementClient.cs | SDK regeneration for API version and subscriptionId type changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/ProfilesOperationsExtensions.cs | SDK regeneration: paging + extension method signatures for list/update/delete. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/Models/RecordType.cs | Adds generated constants for RecordType values. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/Models/ProfileProperties.cs | Adds RecordType to the generated profile properties model. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/Models/Profile.cs | Adds RecordType to the generated profile model. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/Models/Page.cs | Fixes nextLink JSON property mapping in paging model. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/Models/MonitorConfig.cs | SDK regeneration formatting changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/Models/EndpointProperties.cs | SDK regeneration formatting changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/Models/Endpoint.cs | SDK regeneration formatting changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/ITrafficManagerUserMetricsKeysOperations.cs | SDK regeneration formatting changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/ITrafficManagerManagementClient.cs | SDK regeneration: subscriptionId type changes and interface ordering updates. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/IProfilesOperations.cs | SDK regeneration: list paging + update/delete signature changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/IHeatMapOperations.cs | SDK regeneration formatting changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/IGeographicHierarchiesOperations.cs | SDK regeneration formatting changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/IEndpointsOperations.cs | SDK regeneration: operation signature ordering and doc updates. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/HeatMapOperationsExtensions.cs | SDK regeneration formatting changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/HeatMapOperations.cs | SDK regeneration: subscriptionId serialization and query parameter ordering changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/GeographicHierarchiesOperationsExtensions.cs | SDK regeneration formatting changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/GeographicHierarchiesOperations.cs | SDK regeneration formatting changes. |
| src/TrafficManager/TrafficManager.Management.Sdk/Generated/EndpointsOperationsExtensions.cs | SDK regeneration: extension method signature ordering updates. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
68
to
72
| var profile = new Profile( | ||
| this.Id, | ||
| this.Name, | ||
| Constants.ProfileType, | ||
| tags, |
Comment on lines
+21
to
+23
| * Upgraded TrafficManager SDK to API version 2024-04-01-preview | ||
| - Added `RecordType` property to `TrafficManagerProfile` | ||
| - Updated corresponding test cases |
ransinha1989
force-pushed
the
TrafficManager-Preview-Powershell-Sdk
branch
2 times, most recently
from
August 12, 2026 14:49
efd5be8 to
e27ab87
Compare
Member
|
/azp run |
Contributor
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: ae8f44e6-74e1-4954-aaf9-1d8294ff6d10
ransinha1989
force-pushed
the
TrafficManager-Preview-Powershell-Sdk
branch
from
August 12, 2026 14:51
e27ab87 to
be82382
Compare
Collaborator
|
/azp run |
Contributor
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Yabo Hu (VeryEarly)
approved these changes
Aug 13, 2026
Yabo Hu (VeryEarly)
merged commit Aug 13, 2026
16ebecc
into
Azure:Az.TrafficManager-preview
12 checks passed
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.
Follow-up to #29711. Adds release notes under 'Upcoming Release' in ChangeLog.md as requested by the release team:
RecordTypeproperty toTrafficManagerProfile