Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description=None, if_match=None, no_wait=False, enableselfcontainedia=None):
description=None, if_match=None, no_wait=False, enable_self_contained_ia=None):

Better to follow python variable naming rule

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)
Expand Down