1# -------------------------------------------------------------------------------------------- 2# Copyright (c) Microsoft Corporation. All rights reserved. 3# Licensed under the MIT License. See License.txt in the project root for license information. 4# -------------------------------------------------------------------------------------------- 5# pylint: disable=unused-argument 6from azure.cli.core.util import sdk_no_wait 7from azure.mgmt.synapse.models import UpdateIntegrationRuntimeNodeRequest 8 9 10def update(cmd, client, resource_group_name, workspace_name, integration_runtime_name, auto_update, 11 update_delay_offset, node_name, no_wait=False): 12 update_integration_runtime_node_request = UpdateIntegrationRuntimeNodeRequest( 13 auto_update=auto_update, 14 update_delay_offset=update_delay_offset 15 ) 16 return sdk_no_wait(no_wait, client.update, resource_group_name, workspace_name, integration_runtime_name, 17 node_name, update_integration_runtime_node_request) 18