Skip to content

Commit 6cbb614

Browse files
authored
{ACR} az acr connected-registry: Change version for connected registry to 2025-04-01 (#31382)
1 parent e436f46 commit 6cbb614

File tree

11 files changed

+2777
-2803
lines changed

11 files changed

+2777
-2803
lines changed

build_scripts/windows/scripts/patch_models_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def find_models_to_change(module_name):
245245
return [
246246
importlib.import_module('.'+label+'.models', main_module.__name__)
247247
for (_, label, ispkg) in pkgutil.iter_modules(main_module.__path__)
248-
if ispkg and label != 'aio'
248+
if ispkg and label != 'aio' and label != '_utils'
249249
]
250250

251251

src/azure-cli-core/azure/cli/core/profiles/_shared.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ def default_api_version(self):
256256
'VERSION_2023_11_01_PREVIEW': "2023-11-01-preview",
257257
'VERSION_2024_11_01_PREVIEW': "2024-11-01-preview",
258258
'VERSION_2025_03_01_PREVIEW': "2025-03-01-preview",
259+
'VERSION_2025_04_01': "2025-04-01"
259260
},
260261
ResourceType.MGMT_CONTAINERSERVICE: {
261262
# src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_custom.py:50

src/azure-cli/azure/cli/command_modules/acr/_client_factory.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
VERSION_2023_01_01_PREVIEW = "2023-01-01-preview"
1414
VERSION_2024_11_01_PREVIEW = "2024-11-01-preview"
1515
VERSION_2025_03_01_PREVIEW = "2025-03-01-preview"
16+
VERSION_2025_04_01 = "2025-04-01"
1617

1718

1819
def get_acr_service_client(cli_ctx, api_version=None):
@@ -83,4 +84,4 @@ def cf_acr_agentpool(cli_ctx, *_):
8384

8485

8586
def cf_acr_connected_registries(cli_ctx, *_):
86-
return get_acr_service_client(cli_ctx, VERSION_2024_11_01_PREVIEW).connected_registries
87+
return get_acr_service_client(cli_ctx, VERSION_2025_04_01).connected_registries

src/azure-cli/azure/cli/command_modules/acr/tests/latest/recordings/test_acr_connectedregistry.yaml

Lines changed: 1547 additions & 1583 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/recordings/test_containerapp_manualjob_registry_acr_look_up_credentical.yaml

Lines changed: 279 additions & 299 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/recordings/test_containerapp_registry_acr_look_up_credentical.yaml

Lines changed: 393 additions & 306 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/containerapp/tests/latest/recordings/test_containerappjob_registry_crud.yaml

Lines changed: 550 additions & 609 deletions
Large diffs are not rendered by default.

src/azure-cli/requirements.py3.Darwin.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ azure-mgmt-cdn==12.0.0
3030
azure-mgmt-cognitiveservices==13.5.0
3131
azure-mgmt-compute==34.1.0
3232
azure-mgmt-containerinstance==10.2.0b1
33-
azure-mgmt-containerregistry==13.0.0
33+
azure-mgmt-containerregistry==14.0.0
3434
azure-mgmt-containerservice==35.0.0
3535
azure-mgmt-core==1.5.0
3636
azure-mgmt-cosmosdb==9.7.0

src/azure-cli/requirements.py3.Linux.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ azure-mgmt-cdn==12.0.0
3030
azure-mgmt-cognitiveservices==13.5.0
3131
azure-mgmt-compute==34.1.0
3232
azure-mgmt-containerinstance==10.2.0b1
33-
azure-mgmt-containerregistry==13.0.0
33+
azure-mgmt-containerregistry==14.0.0
3434
azure-mgmt-containerservice==35.0.0
3535
azure-mgmt-core==1.5.0
3636
azure-mgmt-cosmosdb==9.7.0

src/azure-cli/requirements.py3.windows.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ azure-mgmt-cdn==12.0.0
3030
azure-mgmt-cognitiveservices==13.5.0
3131
azure-mgmt-compute==34.1.0
3232
azure-mgmt-containerinstance==10.2.0b1
33-
azure-mgmt-containerregistry==13.0.0
33+
azure-mgmt-containerregistry==14.0.0
3434
azure-mgmt-containerservice==35.0.0
3535
azure-mgmt-core==1.5.0
3636
azure-mgmt-cosmosdb==9.7.0

0 commit comments

Comments
 (0)