Skip to content

Commit 6c65264

Browse files
committed
Removing acr connected-registry install sub-group
1 parent 2f673f1 commit 6c65264

3 files changed

Lines changed: 0 additions & 50 deletions

File tree

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

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1694,29 +1694,6 @@
16941694
"""
16951695

16961696
# To be deprecated
1697-
helps['acr connected-registry install'] = """
1698-
type: group
1699-
short-summary: Help to access the necessary information for installing a connected registry. Please see https://aka.ms/acr/connected-registry for more information.
1700-
"""
1701-
1702-
helps['acr connected-registry install info'] = """
1703-
type: command
1704-
short-summary: Retrieve information required to activate a connected registry.
1705-
examples:
1706-
- name: Set http as the parent protocol, and prints the values required to activate a connected registry in json format
1707-
text: >
1708-
az acr connected-registry install info --registry mycloudregistry --name myconnectedregistry --parent-protocol http
1709-
"""
1710-
1711-
helps['acr connected-registry install renew-credentials'] = """
1712-
type: command
1713-
short-summary: Retrieve information required to activate a connected registry, and renews the sync token credentials.
1714-
examples:
1715-
- name: Set http as the parent protocol, and prints the values in json format required to activate a connected registry and the newly generated sync token credentials.
1716-
text: >
1717-
az acr connected-registry install renew-credentials -r mycloudregistry -n myconnectedregistry --parent-protocol http
1718-
"""
1719-
17201697
helps['acr connected-registry repo'] = """
17211698
type: command
17221699
short-summary: Update all the necessary connected registry sync scope maps repository permissions.

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -446,12 +446,6 @@ def _helm_deprecate_message(self):
446446
g.command('repo', 'acr_connected_registry_permissions_update',
447447
deprecate_info=self.deprecate(redirect='permissions update', hide=True))
448448

449-
with self.command_group('acr connected-registry install', acr_connected_registry_util,
450-
deprecate_info=self.deprecate(redirect='acr connected-registry get-settings',
451-
hide=True)) as g:
452-
g.command('info', 'acr_connected_registry_install_info')
453-
g.command('renew-credentials', 'acr_connected_registry_install_renew_credentials')
454-
455449
def _metadata_deprecate_message(self):
456450
msg = "This {} has been deprecated and will be removed in future release.".format(self.object_type)
457451
msg += " Use '{}' instead.".format(self.redirect)

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

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -430,27 +430,6 @@ def _get_descendants(family_tree, parent_id):
430430

431431

432432
# region connected-registry install subgroup
433-
def acr_connected_registry_install_info(cmd,
434-
client,
435-
connected_registry_name,
436-
registry_name,
437-
parent_protocol,
438-
resource_group_name=None):
439-
return acr_connected_registry_get_settings(cmd, client, connected_registry_name, registry_name, parent_protocol,
440-
None, False, resource_group_name)
441-
442-
443-
def acr_connected_registry_install_renew_credentials(cmd,
444-
client,
445-
connected_registry_name,
446-
registry_name,
447-
parent_protocol,
448-
yes=False,
449-
resource_group_name=None):
450-
return acr_connected_registry_get_settings(cmd, client, connected_registry_name, registry_name, parent_protocol,
451-
'1', yes, resource_group_name)
452-
453-
454433
def acr_connected_registry_get_settings(cmd,
455434
client,
456435
connected_registry_name,

0 commit comments

Comments
 (0)