Skip to content

Commit b61cf55

Browse files
committed
add experimental tag
1 parent 36a789a commit b61cf55

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • src/azure-cli/azure/cli/command_modules/serviceconnector

‎src/azure-cli/azure/cli/command_modules/serviceconnector/commands.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ def load_command_table(self, _): # pylint: disable=too-many-statements
6666
if target in TARGET_RESOURCES_DEPRECATED:
6767
ig.custom_command(target.value, 'connection_create', deprecate_info=self.deprecate(hide=False),
6868
supports_no_wait=True, transform=transform_linker_properties)
69+
elif target == RESOURCE.ContainerAppAsTarget:
70+
ig.custom_command(target.value, 'connection_create', is_experimental=True,
71+
supports_no_wait=True, transform=transform_linker_properties)
6972
else:
7073
ig.custom_command(target.value, 'connection_create',
7174
supports_no_wait=True, transform=transform_linker_properties)
@@ -74,6 +77,9 @@ def load_command_table(self, _): # pylint: disable=too-many-statements
7477
if target in TARGET_RESOURCES_DEPRECATED:
7578
ig.custom_command(target.value, 'connection_update', deprecate_info=self.deprecate(hide=False),
7679
supports_no_wait=True, transform=transform_linker_properties)
80+
elif target == RESOURCE.ContainerAppAsTarget:
81+
ig.custom_command(target.value, 'connection_update', is_experimental=True,
82+
supports_no_wait=True, transform=transform_linker_properties)
7783
else:
7884
ig.custom_command(target.value, 'connection_update',
7985
supports_no_wait=True, transform=transform_linker_properties)

0 commit comments

Comments
 (0)