diff --git a/src/azure-cli/azure/cli/command_modules/synapse/manual/_params.py b/src/azure-cli/azure/cli/command_modules/synapse/manual/_params.py index 374256f5fa8..e00c05fe7c4 100644 --- a/src/azure-cli/azure/cli/command_modules/synapse/manual/_params.py +++ b/src/azure-cli/azure/cli/command_modules/synapse/manual/_params.py @@ -943,6 +943,7 @@ def load_arguments(self, _): c.argument('description', help='The integration runtime description.') c.argument('if_match', help='ETag of the integration runtime entity. Should only be specified for update, for ' 'which it should match existing entity or can be * for unconditional update.') + c.argument('enableselfcontainedia', options_list=['--enable-self-contained-interactive-authoring', '--enable-scia'], help='An alternative option to ensure interactive authoring function when your self-hosted integration runtime is unable to establish a connection with Azure Relay.') with self.argument_context('synapse integration-runtime update') as c: c.argument('auto_update', arg_type=get_enum_type(['On', 'Off']), help='Enable or disable the self-hosted integration runtime auto-update.') diff --git a/src/azure-cli/azure/cli/command_modules/synapse/manual/operations/integrationruntime.py b/src/azure-cli/azure/cli/command_modules/synapse/manual/operations/integrationruntime.py index 86a9c22e130..3e591eb1c9c 100644 --- a/src/azure-cli/azure/cli/command_modules/synapse/manual/operations/integrationruntime.py +++ b/src/azure-cli/azure/cli/command_modules/synapse/manual/operations/integrationruntime.py @@ -46,10 +46,11 @@ def Managed_Create(cmd, client, resource_group_name, workspace_name, integration def Selfhosted_Create(cmd, client, resource_group_name, workspace_name, integration_runtime_name, - description=None, if_match=None, no_wait=False): + description=None, if_match=None, no_wait=False, enableselfcontainedia=None): property_files = {} property_files['type'] = 'SelfHosted' property_files['description'] = description + property_files['selfContainedInteractiveAuthoringEnabled'] = enableselfcontainedia properties = IntegrationRuntimeResource(type='SelfHosted', properties=property_files) return sdk_no_wait(no_wait, client.begin_create, resource_group_name, workspace_name, integration_runtime_name, properties, if_match)