{ACR} Revert "{ACR} Update ACR test suite: remove unnecessary @live_only decorators and make time.sleep conditional on live mode"#33425
Conversation
…corators…" This reverts commit 7c58c81.
️✔️AzureCLI-FullTest
|
|
Hi @isra-fel, |
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
Pull request overview
This PR reverts #33135 by restoring prior behavior in the ACR test suite (notably re-adding @live_only decorators and reverting some test/recording changes).
Changes:
- Re-add
@live_only()on several ACR scenario tests. - Revert timing behavior in tests (including restoring unconditional sleeps in some places).
- Update multiple VCR recordings to match the reverted test behavior/environment.
Reviewed changes
Copilot reviewed 20 out of 39 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_task_commands.py | Restores prior test decorators/imports for ACR task tests. |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_connectedregistry_commands.py | Restores live-only behavior for a connected registry test and adjusts imports. |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_commands.py | Restores live-only decorators and reverts sleep/ordering logic in ACR command tests. |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/test_acr_agentpool_commands.py | Restores prior imports for agentpool tests. |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_check_name_availability.yaml | Recording updates (headers/dates/user-agent). |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_check_name_availability_dnl_scope.yaml | Recording updates (headers/dates/user-agent). |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_with_public_network_access.yaml | Recording updates (headers/dates/user-agent/body timestamps). |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_with_public_network_access_disabled.yaml | Recording updates (headers/dates/user-agent/body timestamps). |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_login_expose_token.yaml | Recording updates for acr login --expose-token scenario. |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_import_no_wait.yaml | Recording updates for acr import --no-wait scenario. |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_export_policy.yaml | Recording updates (headers/dates/user-agent/body timestamps). |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_create_with_metadata_search_enabled.yaml | Minor recording header value updates. |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_create_with_metadata_search_disabled.yaml | Minor recording header value updates. |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_create_with_managed_registry.yaml | Minor recording header value updates. |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_create_with_domain_name_label_scope_name_in_use.yaml | Recording updates (headers/dates/user-agent/body timestamps). |
| src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_create_with_audits.yaml | Recording updates (headers/dates/user-agent/body timestamps). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # remove identities | ||
| if self.is_live: | ||
| time.sleep(10) | ||
| import time | ||
| time.sleep(10) | ||
| self.cmd('acr identity remove --name {registry_name} --identities "{system_identity}" "{identity_id}"', self.check('identity', None)) | ||
|
|
||
| # try different combinations of adds and deletes | ||
| # system | ||
| self.cmd('acr identity assign --name {registry_name} --identities {system_identity}', self.check('identity.type', 'systemAssigned')) | ||
| if self.is_live: | ||
| time.sleep(10) | ||
| time.sleep(10) | ||
| self.cmd('acr identity remove --name {registry_name} --identities {system_identity}', self.check('identity', None)) | ||
| # user | ||
| self.cmd('acr identity assign --name {registry_name} --identities {identity_id}', self.check('identity.type', 'userAssigned')) | ||
| if self.is_live: | ||
| time.sleep(10) | ||
| time.sleep(10) | ||
| self.cmd('acr identity remove --name {registry_name} --identities {identity_id}', self.check('identity', None)) |
| # remove identities | ||
| if self.is_live: | ||
| time.sleep(10) | ||
| import time | ||
| time.sleep(10) |
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer | ||
| from azure.cli.testsdk import ScenarioTest, StorageAccountPreparer, ResourceGroupPreparer, record_only, live_only |
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer, live_only | ||
| from azure.cli.testsdk import ScenarioTest, StorageAccountPreparer, ResourceGroupPreparer, record_only, live_only |
| from azure.cli.testsdk import ScenarioTest, StorageAccountPreparer, ResourceGroupPreparer, record_only | ||
| from azure.cli.testsdk.scenario_tests import live_only |
| body: | ||
| string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubt2lx3scb6coe5efkssu","name":"sourceregistrysamesubt2lx3scb6coe5efkssu","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-01T18:31:26.3170535Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-01T18:31:26.3170535Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubceolfjo4ccyyv6kheq3","name":"sourceregistrysamesubceolfjo4ccyyv6kheq3","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-01T19:57:13.9521282Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-01T19:57:13.9521282Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubv2dyngbeyrkpvdsor74","name":"sourceregistrysamesubv2dyngbeyrkpvdsor74","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-01T21:24:52.4353512Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-01T21:24:52.4353512Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubqa5dalvt6qk2wawdbha","name":"sourceregistrysamesubqa5dalvt6qk2wawdbha","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-01T23:26:36.0360153Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-01T23:26:36.0360153Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubhouqc2hcedzh3mzroy3","name":"sourceregistrysamesubhouqc2hcedzh3mzroy3","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-02T03:17:51.6879443Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-02T03:17:51.6879443Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubhorscbk2lti4idrtyt6","name":"sourceregistrysamesubhorscbk2lti4idrtyt6","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-02T16:35:23.8829373Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-02T16:35:23.8829373Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubc275qi7b4lx4z4kmxur","name":"sourceregistrysamesubc275qi7b4lx4z4kmxur","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-02T18:52:20.5185202Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-02T18:52:20.5185202Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rglmnebg5sp7tmczmwqi6xwlktvuu5emsfbsn7lycck3q5jnkitokinsopdxydeqg6j/providers/Microsoft.ContainerRegistry/registries/clirege2745qzombc2id","name":"clirege2745qzombc2id","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"eastus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T20:45:54.7722366Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T20:45:54.7722366Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rghrl6lue4oaovpwgdq6ewpkhvijoj2z6gamkjf24q4c7pmpfblaxotgqsi2ikep4ao/providers/Microsoft.ContainerRegistry/registries/cliregpjrokqprlwsj4i","name":"cliregpjrokqprlwsj4i","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T20:46:14.7290792Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T20:46:14.7290792Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/clireg000002","name":"clireg000002","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T20:46:37.379364Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T20:46:37.379364Z"}}]}' | ||
| string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zoey_dct_rg/providers/Microsoft.ContainerRegistry/registries/zoeydct0922","name":"zoeydct0922","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"eastus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2025-09-22T16:59:00.2524234Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2025-09-22T16:59:00.2524234Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zoeytestrg/providers/Microsoft.ContainerRegistry/registries/zoeytestacr0402","name":"zoeytestacr0402","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"uksouth","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:02:13.1468128Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:09:34.6009939Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zoeycrrg/providers/Microsoft.ContainerRegistry/registries/zoeycr","name":"zoeycr","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"southcentralus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-02-27T05:09:40.3291909Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-03-09T00:23:06.7636601Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zoeycrrg/providers/Microsoft.ContainerRegistry/registries/zoeylocalcr","name":"zoeylocalcr","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"southcentralus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-03-02T20:31:39.2746934Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-03-02T20:35:02.9066397Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zoeylirg/providers/Microsoft.ContainerRegistry/registries/zoeytestkrs","name":"zoeytestkrs","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"koreasouth","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-02-03T21:53:36.2717073Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-02-03T21:53:36.2717073Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubtlooq6fpioky74bs2un","name":"sourceregistrysamesubtlooq6fpioky74bs2un","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-01T17:33:00.9939832Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-01T17:33:00.9939832Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgigxqzybakfitecm4uee5zxfl6aiqbsaev2t4w43j3wgeytmfbjhdxm4q4na5sln6p/providers/Microsoft.ContainerRegistry/registries/cliregkdfi3b3mocdi5e","name":"cliregkdfi3b3mocdi5e","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:35.4959235Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:35.4959235Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubukkys6mhexcveowosic","name":"sourceregistrysamesubukkys6mhexcveowosic","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:44.0697217Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:44.0697217Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgoorwmpas4a5cj4mgixfpcwsepkvp5lzmocg5mdxehwfwf3e7mpv47z6vpad4nlskp/providers/Microsoft.ContainerRegistry/registries/testreghbgcvpcigbbt2uic6s","name":"testreghbgcvpcigbbt2uic6s","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rgoorwmpas4a5cj4mgixfpcwsepkvp5lzmocg5mdxehwfwf3e7mpv47z6vpad4nlskp/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentityn6fndszynarctkhxxb":{"principalId":"6d0e4351-db6e-4eb3-8241-bd02e49be2d3","clientId":"16b01e2c-dacc-4704-af7e-72dcfec357a6"}}},"tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:44.2701934Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:32:35.4627489Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwx746vu7dluofxfbt3emvzfyrerrjrb3zhnryqgy2zohddhucdmhnnzhgxhkfel3a/providers/Microsoft.ContainerRegistry/registries/testregab7oinshhhxeg","name":"testregab7oinshhhxeg","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:54.0604569Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:54.0604569Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgv7velr7dqw6acbztw2z77gkrqut2daah3lc4742zv4m7dpxjrwd7r3acyac2nwg3j/providers/Microsoft.ContainerRegistry/registries/testregysc3m6e6afvlx","name":"testregysc3m6e6afvlx","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:32:20.5036465Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:32:20.5036465Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgnqd27yz3gsipcwlxo4j5hgyygdfeoy4zxemhouvfm3lm5hsahocnofxi7qcy3tusq/providers/Microsoft.ContainerRegistry/registries/testreggdfu2vybmmjpi","name":"testreggdfu2vybmmjpi","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","identity":{"type":"UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rgnqd27yz3gsipcwlxo4j5hgyygdfeoy4zxemhouvfm3lm5hsahocnofxi7qcy3tusq/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity5uatbqkp":{"principalId":"faf57c49-f552-41a3-b9f1-9317f5059fa1","clientId":"52af17ae-88d0-4382-9c77-a3bd70957ee2"}}},"tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:32:22.6789286Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:32:22.6789286Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.ContainerRegistry/registries/clireg000002","name":"clireg000002","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:32:38.4115761Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:32:38.4115761Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyRG/providers/Microsoft.ContainerRegistry/registries/zoeycr0707","name":"zoeycr0707","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","identity":{"principalId":"4154e2a9-5c25-4d90-af38-983a675a0394","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, | ||
| UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MyRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/zoeyumi":{"principalId":"ca03812b-c688-4f4c-9ba0-11fbbefcbb32","clientId":"f040c27b-aba8-4b61-9eb6-4baf06dbe35c"}}},"tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2022-07-07T02:33:57.1740353Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-03-05T06:44:34.8009732Z"}}]}' | ||
| headers: |
| response: | ||
| body: | ||
| string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubt2lx3scb6coe5efkssu","name":"sourceregistrysamesubt2lx3scb6coe5efkssu","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-01T18:31:26.3170535Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-01T18:31:26.3170535Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubceolfjo4ccyyv6kheq3","name":"sourceregistrysamesubceolfjo4ccyyv6kheq3","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-01T19:57:13.9521282Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-01T19:57:13.9521282Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubv2dyngbeyrkpvdsor74","name":"sourceregistrysamesubv2dyngbeyrkpvdsor74","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-01T21:24:52.4353512Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-01T21:24:52.4353512Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubqa5dalvt6qk2wawdbha","name":"sourceregistrysamesubqa5dalvt6qk2wawdbha","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-01T23:26:36.0360153Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-01T23:26:36.0360153Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubhouqc2hcedzh3mzroy3","name":"sourceregistrysamesubhouqc2hcedzh3mzroy3","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-02T03:17:51.6879443Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-02T03:17:51.6879443Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubhorscbk2lti4idrtyt6","name":"sourceregistrysamesubhorscbk2lti4idrtyt6","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-02T16:35:23.8829373Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-02T16:35:23.8829373Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubc275qi7b4lx4z4kmxur","name":"sourceregistrysamesubc275qi7b4lx4z4kmxur","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-02T18:52:20.5185202Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-02T18:52:20.5185202Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgcdw4eukodsu3yoppuedt7b57vwzkyyk5xm62uivn3r3mvrndo3joo7nm3pfxe5s27/providers/Microsoft.ContainerRegistry/registries/testregt7honei473rurmz467","name":"testregt7honei473rurmz467","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","identity":{"principalId":"d05adb4f-eaa7-429e-88ec-876e06526411","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, | ||
| UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rgcdw4eukodsu3yoppuedt7b57vwzkyyk5xm62uivn3r3mvrndo3joo7nm3pfxe5s27/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentityz2itqiz4zad7ib4rap":{"principalId":"cbc39e9d-553e-4622-b960-aca4bc6bf9bf","clientId":"4f4fd5c7-667d-4611-9e43-a67a63e40b87"}}},"tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T21:13:22.3648743Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T21:15:21.1515472Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesub000002","name":"sourceregistrysamesub000002","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-21T21:15:40.63112Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-21T21:15:40.63112Z"}}]}' | ||
| string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zoey_dct_rg/providers/Microsoft.ContainerRegistry/registries/zoeydct0922","name":"zoeydct0922","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"eastus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2025-09-22T16:59:00.2524234Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2025-09-22T16:59:00.2524234Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zoeytestrg/providers/Microsoft.ContainerRegistry/registries/zoeytestacr0402","name":"zoeytestacr0402","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"uksouth","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:02:13.1468128Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:09:34.6009939Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zoeycrrg/providers/Microsoft.ContainerRegistry/registries/zoeycr","name":"zoeycr","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"southcentralus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-02-27T05:09:40.3291909Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-03-09T00:23:06.7636601Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zoeycrrg/providers/Microsoft.ContainerRegistry/registries/zoeylocalcr","name":"zoeylocalcr","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"southcentralus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-03-02T20:31:39.2746934Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-03-02T20:35:02.9066397Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zoeylirg/providers/Microsoft.ContainerRegistry/registries/zoeytestkrs","name":"zoeytestkrs","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"koreasouth","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-02-03T21:53:36.2717073Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-02-03T21:53:36.2717073Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesubtlooq6fpioky74bs2un","name":"sourceregistrysamesubtlooq6fpioky74bs2un","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-01T17:33:00.9939832Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-01T17:33:00.9939832Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgismgwaz3gs4jh6k4p4nrfoqdqyrm3zk6chz2zbyua6h7wfnnbw32kynbs5jhzqa3d/providers/Microsoft.ContainerRegistry/registries/cliregya3dxyctjruw66","name":"cliregya3dxyctjruw66","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:34.5552822Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:49.5242554Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgq57fdbkyd3fvbud7kwghd6ahpa6xiod5wolbj5baeofnucqwt2udef5jzleqpfttu/providers/Microsoft.ContainerRegistry/registries/cliregvemlzlnydppolo","name":"cliregvemlzlnydppolo","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:35.1288554Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:35.1288554Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgigxqzybakfitecm4uee5zxfl6aiqbsaev2t4w43j3wgeytmfbjhdxm4q4na5sln6p/providers/Microsoft.ContainerRegistry/registries/cliregkdfi3b3mocdi5e","name":"cliregkdfi3b3mocdi5e","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:35.4959235Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:35.4959235Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgr3dncnjhkhalqjdkz4u6l34oh3tufzxghel4ub2ume252fdiqhp32dfhl3e6hpfwi/providers/Microsoft.ContainerRegistry/registries/cliregkuwv3js2njdms6","name":"cliregkuwv3js2njdms6","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:41.0988194Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:41.0988194Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgskx5xmllutzic3c4doeja6nunvjlw5ip5llji7yoyui2s2sdsjzqt7xc6x3ch37ds/providers/Microsoft.ContainerRegistry/registries/cliregx4qtlyoqdmn6sb","name":"cliregx4qtlyoqdmn6sb","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:42.4933257Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:42.4933257Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroupsamesub/providers/Microsoft.ContainerRegistry/registries/sourceregistrysamesub000002","name":"sourceregistrysamesub000002","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:44.0697217Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:44.0697217Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgoorwmpas4a5cj4mgixfpcwsepkvp5lzmocg5mdxehwfwf3e7mpv47z6vpad4nlskp/providers/Microsoft.ContainerRegistry/registries/testreghbgcvpcigbbt2uic6s","name":"testreghbgcvpcigbbt2uic6s","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:44.2701934Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:44.2701934Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgxwvyrtent72abwzwxrwncr35m2ohqfm7clis7n4vqspws3glosyc5nuljfsw7vamw/providers/Microsoft.ContainerRegistry/registries/cliregepl273n344ifcd","name":"cliregepl273n344ifcd","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:44.5401873Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:44.5401873Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgq2a4j7wu6xkilhpjxuufph3nwbdm75g2ztiiw6k5jnbql3u3zh5yy5vqzh67o74jb/providers/Microsoft.ContainerRegistry/registries/cliregacdoolry56ojkb","name":"cliregacdoolry56ojkb","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:45.829285Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:45.829285Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgqxojiwdbpeqmfztvfmshztwrf76fmfnjutlzt55bfw7lfgsy6t5bkycedcabzdw7a/providers/Microsoft.ContainerRegistry/registries/clireg47q3fu3ep2lkjv","name":"clireg47q3fu3ep2lkjv","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Standard","tier":"Standard"},"location":"westus","tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2026-04-03T02:29:45.9354887Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-04-03T02:29:45.9354887Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyRG/providers/Microsoft.ContainerRegistry/registries/zoeycr0707","name":"zoeycr0707","type":"Microsoft.ContainerRegistry/registries","sku":{"name":"Premium","tier":"Premium"},"location":"westus","identity":{"principalId":"4154e2a9-5c25-4d90-af38-983a675a0394","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned, | ||
| UserAssigned","userAssignedIdentities":{"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/MyRG/providers/Microsoft.ManagedIdentity/userAssignedIdentities/zoeyumi":{"principalId":"ca03812b-c688-4f4c-9ba0-11fbbefcbb32","clientId":"f040c27b-aba8-4b61-9eb6-4baf06dbe35c"}}},"tags":{},"systemData":{"createdBy":"test@example.com","createdByType":"User","createdAt":"2022-07-07T02:33:57.1740353Z","lastModifiedBy":"test@example.com","lastModifiedByType":"User","lastModifiedAt":"2026-03-05T06:44:34.8009732Z"}}]}' | ||
| headers: |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/azp run Azure.azure-cli |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Reverts #33135