Use this API to update policyhttpcallout resources.
518282
public static base_responses update(nitro_service client, policyhttpcallout resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			policyhttpcallout updateresources[] = new policyhttpcallout[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new policyhttpcallout();
				updateresources[i].name = resources[i].name;
				updateresources[i].ipaddress = resources[i].ipaddress;
				updateresources[i].port = resources[i].port;
				updateresources[i].vserver = resources[i].vserver;
				updateresources[i].returntype = resources[i].returntype;
				updateresources[i].httpmethod = resources[i].httpmethod;
				updateresources[i].hostexpr = resources[i].hostexpr;
				updateresources[i].urlstemexpr = resources[i].urlstemexpr;
				updateresources[i].headers = resources[i].headers;
				updateresources[i].parameters = resources[i].parameters;
				updateresources[i].bodyexpr = resources[i].bodyexpr;
				updateresources[i].fullreqexpr = resources[i].fullreqexpr;
				updateresources[i].scheme = resources[i].scheme;
				updateresources[i].resultexpr = resources[i].resultexpr;
				updateresources[i].cacheforsecs = resources[i].cacheforsecs;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
1012418
public static base_response update(nitro_service client, callhome resource) throws Exception {
		callhome updateresource = new callhome();
		updateresource.emailaddress = resource.emailaddress;
		updateresource.proxymode = resource.proxymode;
		updateresource.ipaddress = resource.ipaddress;
		updateresource.port = resource.port;
		return updateresource.update_resource(client);
	}
453414
def update(context, resource, **kwargs):
    """"""
    etag = kwargs.pop('etag')
    id = kwargs.pop('id')
    data = utils.sanitize_kwargs(**kwargs)
    uri = '%s/%s/%s' % (context.dci_cs_api, resource, id)
    r = context.session.put(uri, timeout=HTTP_TIMEOUT,
                            headers={'If-match': etag},
                            json=data)
    return r
656974
def resource_collections_update(self, data, **kwargs):
        ""
        api_path = "/api/v2/resource_collections.json"
        return self.call(api_path, method="PUT", data=data, **kwargs)
604010
def update(self, *args, **kwargs):
        
        if request.method == 'PUT':
            logging.warning("Called not implemented resource method PUT")

        resource = super(JsonServerResource, self).update(*args, **kwargs)

        if resource:
            return resource
        else:
            return NOT_FOUND
1260941
public static base_response update(nitro_service client, responderpolicy resource) throws Exception {
		responderpolicy updateresource = new responderpolicy();
		updateresource.name = resource.name;
		updateresource.rule = resource.rule;
		updateresource.action = resource.action;
		updateresource.undefaction = resource.undefaction;
		updateresource.comment = resource.comment;
		updateresource.logaction = resource.logaction;
		updateresource.appflowaction = resource.appflowaction;
		return updateresource.update_resource(client);
	}
882697
def update(self):
        '''
        
        '''
        self._json = self._request(
            method='GET',
            url=self.API
        )._json
338341
public static base_responses update(nitro_service client, scpolicy resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			scpolicy updateresources[] = new scpolicy[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new scpolicy();
				updateresources[i].name = resources[i].name;
				updateresources[i].url = resources[i].url;
				updateresources[i].rule = resources[i].rule;
				updateresources[i].delay = resources[i].delay;
				updateresources[i].maxconn = resources[i].maxconn;
				updateresources[i].action = resources[i].action;
				updateresources[i].altcontentsvcname = resources[i].altcontentsvcname;
				updateresources[i].altcontentpath = resources[i].altcontentpath;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
979090
public static base_responses update(nitro_service client, Interface resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			Interface updateresources[] = new Interface[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new Interface();
				updateresources[i].id = resources[i].id;
				updateresources[i].speed = resources[i].speed;
				updateresources[i].duplex = resources[i].duplex;
				updateresources[i].flowctl = resources[i].flowctl;
				updateresources[i].autoneg = resources[i].autoneg;
				updateresources[i].hamonitor = resources[i].hamonitor;
				updateresources[i].tagall = resources[i].tagall;
				updateresources[i].trunk = resources[i].trunk;
				updateresources[i].lacpmode = resources[i].lacpmode;
				updateresources[i].lacpkey = resources[i].lacpkey;
				updateresources[i].lagtype = resources[i].lagtype;
				updateresources[i].lacppriority = resources[i].lacppriority;
				updateresources[i].lacptimeout = resources[i].lacptimeout;
				updateresources[i].ifalias = resources[i].ifalias;
				updateresources[i].throughput = resources[i].throughput;
				updateresources[i].bandwidthhigh = resources[i].bandwidthhigh;
				updateresources[i].bandwidthnormal = resources[i].bandwidthnormal;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
259295
def update(self, **kwargs):
        
        return self.__class__(self.resource.update(kwargs),
                              self.client,
                              wallet=self.wallet)
668576
def Update(self):
		

		return(clc.v2.Requests(clc.v2.API.Call('PUT','servers/%s/%s/publicIPAddresses/%s' % (self.parent.server.alias,self.parent.server.id,self.id),
						                       json.dumps({'ports': [o.ToDict() for o in self.ports],
											               'sourceRestrictions': [o.ToDict() for o in self.source_restrictions] }),
											   session=self.session),
							   alias=self.parent.server.alias,
							   session=self.session))
852236
def role_update(self, role_id, data, **kwargs):
        ""
        api_path = "/api/v2/roles/{role_id}"
        api_path = api_path.format(role_id=role_id)
        return self.call(api_path, method="PUT", data=data, **kwargs)
1306224
protected base_response update_resource(nitro_service service,options option)  throws Exception
	{
		if (!service.isLogin() && !this.get_object_type().equals("login"))
			service.login();
		String sessionid = service.get_sessionid();
		String request = resource_to_string(service, sessionid, option);
		return put_data(service,request);
	}
725302
public static base_responses update(nitro_service client, vpnurl resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			vpnurl updateresources[] = new vpnurl[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new vpnurl();
				updateresources[i].urlname = resources[i].urlname;
				updateresources[i].linkname = resources[i].linkname;
				updateresources[i].actualurl = resources[i].actualurl;
				updateresources[i].clientlessaccess = resources[i].clientlessaccess;
				updateresources[i].comment = resources[i].comment;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
457028
protected base_resource[] update_resource(nitro_service service, options option)  throws Exception
	{
		if (!service.isLogin() && !get_object_type().equals("login"))
			service.login();
		String request = resource_to_string(service, option);
		return put_data(service,request);
	}
312104
def _update(self, resource, update_dict=None, params=None, **kwargs):
        """"""
        url = self._client._build_url(resource, **kwargs)
        response = self._client._request('PUT', url, json=update_dict, params=params)

        if response.status_code != requests.codes.ok:  # pragma: no cover
            raise APIError("Could not update {} ({})".format(self.__class__.__name__, response.json().get('results')))
        else:
            self.refresh()
369635
def update_qos_policy(self, qos_policy, body=None):
        """"""
        return self.put(self.qos_policy_path % qos_policy,
                        body=body)