Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3491,7 +3491,7 @@ interactions:
User-Agent:
- AZURECLI/2.84.0 azsdk-python-core/1.38.0 Python/3.12.10 (Windows-11-10.0.26200-SP0)
method: GET
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

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

This change fixes the immediate issue, but hardcoding an older RP api-version in a recording can make future re-records inconsistent if the CLI/SDK default api-version changes again. Prefer re-recording the test with the intended/official api-version coming from the tracked SDK/cli profile (so the recording matches real traffic), or document in the test why this specific api-version is pinned (e.g., CI playback requires an existing version).

Suggested change
method: GET
method: GET
# NOTE: The api-version in this URI is captured from live Azure traffic for this recording.
# Do not change it manually; re-record the test if the CLI/SDK default api-version changes.

Copilot uses AI. Check for mistakes.
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_rp_ia000001/providers/Microsoft.Network/publicIPAddresses/testPip1?api-version=2025-07-01
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_vm_rp_ia000001/providers/Microsoft.Network/publicIPAddresses/testPip1?api-version=2022-05-01
response:
body:
string: '{"error":{"code":"ResourceNotFound","message":"The Resource ''Microsoft.Network/publicIPAddresses/testPip1''
Expand Down
Loading