code: def update(self, cluster_template_id, name=NotUpdated,
                 plugin_name=NotUpdated, plugin_version=NotUpdated,
                 description=NotUpdated, cluster_configs=NotUpdated,
                 node_groups=NotUpdated, anti_affinity=NotUpdated,
                 net_id=NotUpdated, default_image_id=NotUpdated,
                 use_autoconfig=NotUpdated, shares=NotUpdated,
                 is_public=NotUpdated, is_protected=NotUpdated,
                 domain_name=NotUpdated):
          
  
          data = {}
          self._copy_if_updated(data, name=name,
                                plugin_name=plugin_name,
                                plugin_version=plugin_version,
                                description=description,
                                cluster_configs=cluster_configs,
                                node_groups=node_groups,
                                anti_affinity=anti_affinity,
                                neutron_management_network=net_id,
                                default_image_id=default_image_id,
                                use_autoconfig=use_autoconfig,
                                shares=shares,
                                is_public=is_public,
                                is_protected=is_protected,
                                domain_name=domain_name)
  
          return self._patch('/cluster-templates/%s' % cluster_template_id,
                             data, 'cluster_template')
docs: Update a Cluster Template.