You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Import an image without waiting for successful completion. Failures during import will not be reflected. Run `az acr repository show-tags` to confirm that import succeeded.
326
329
text: >
327
330
az acr import -n myregistry --source sourceregistry.azurecr.io/sourcerepository:sourcetag --no-wait
331
+
- name: Import an image using a regional endpoint URI as the source.
332
+
text: >
333
+
az acr import -n myregistry --source sourceregistry.eastus.geo.azurecr.io/sourcerepository:sourcetag
328
334
"""
329
335
330
336
helps['acr list'] ="""
@@ -350,6 +356,9 @@
350
356
- name: Get an Azure Container Registry access token
351
357
text: >
352
358
az acr login -n myregistry --expose-token
359
+
- name: Log in to a specific regional endpoint of an Azure Container Registry
360
+
text: >
361
+
az acr login -n myregistry --endpoint eastus
353
362
"""
354
363
355
364
helps['acr network-rule'] ="""
@@ -1514,6 +1523,9 @@
1514
1523
- name: Turn on ABAC-based Repository Permission on an existing registry.
1515
1524
text: >
1516
1525
az acr update -n myregistry --role-assignment-mode rbac-abac
1526
+
- name: Enable regional endpoints on an existing registry.
1527
+
text: >
1528
+
az acr update -n myregistry --regional-endpoints enabled
1517
1529
"""
1518
1530
1519
1531
helps['acr webhook'] ="""
@@ -1873,6 +1885,10 @@
1873
1885
1874
1886
helps['acr show-endpoints'] ="""
1875
1887
type: command
1876
-
short-summary: Display registry endpoints
1888
+
short-summary: Display registry endpoints including data endpoints and regional endpoints if configured.
help='Default action to apply when no rule matches. Only applicable to Premium SKU.')
115
117
c.argument('public_network_enabled', get_three_state_flag(), help="Allow public network access for the container registry.{suffix}".format(suffix=default_allow_suffix))
116
118
c.argument('allow_trusted_services', get_three_state_flag(), help="Allow trusted Azure Services to access network restricted registries. For more information, please visit https://aka.ms/acr/trusted-services.{suffix}".format(suffix=default_allow_suffix))
119
+
c.argument('regional_endpoints', arg_type=get_enum_type(RegionalEndpoints), is_preview=True, help="Indicates whether or not regional endpoints should be enabled for the registry.")
117
120
118
121
forscopein ['acr create', 'acr update']:
119
122
withself.argument_context(scope, arg_group="Permissions and Role Assignment") asc:
c.argument('expose_token', options_list=['--expose-token', '-t'], help='Expose refresh token instead of automatically logging in through Docker CLI', action='store_true')
175
+
c.argument("endpoint", completer=get_location_completion_list, type=get_location_name_type(self.cli_ctx), is_preview=True, help="Log in to a specific regional endpoint of the container registry. Specify the region name (e.g., eastus, westus2). Only applicable when regional endpoints are enabled.")
0 commit comments