Use this API to update netprofile resources.
963293
public static base_responses update(nitro_service client, netprofile resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			netprofile updateresources[] = new netprofile[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new netprofile();
				updateresources[i].name = resources[i].name;
				updateresources[i].srcip = resources[i].srcip;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
253945
public void refresh() {
        if (profileFile.lastModified() > profileFileLastModified) {
            profileFileLastModified = profileFile.lastModified();
            allProfiles = loadProfiles(profileFile);
        }
        credentialProviderCache.clear();
    }
810548
def update(self, resource, resource_id, data):
        '''
        
        '''
        service_def, resource_def, path = self._get_service_information(
            resource)

        update_path = "{0}{1}/" . format(path, resource_id)
        return self.call(path=update_path, data=data, method='patch')
296547
public static base_responses update(nitro_service client, autoscaleaction resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			autoscaleaction updateresources[] = new autoscaleaction[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new autoscaleaction();
				updateresources[i].name = resources[i].name;
				updateresources[i].profilename = resources[i].profilename;
				updateresources[i].parameters = resources[i].parameters;
				updateresources[i].vmdestroygraceperiod = resources[i].vmdestroygraceperiod;
				updateresources[i].quiettime = resources[i].quiettime;
				updateresources[i].vserver = resources[i].vserver;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
1042664
def update_network(self, network, body=None):
        """"""
        return self.put(self.network_path % (network), body=body)
699271
public static mail_profile[] update(nitro_service client, mail_profile[] resources) throws Exception
	{
		if(resources == null)
			throw new Exception("Null resource array");
		
		for(int i = 0; i < resources.length; i++)
		{
			resources[i].validate("modify");
		}
		
		if(resources.length == 1)
			return ((mail_profile[]) resources[0].update_resource(client));
		
		return ((mail_profile[]) update_bulk_request(client, resources));
	}
164420
def update_net_info(self, tenant_id, direc, vlan_id, segmentation_id):
        
        serv_obj = self.get_service_obj(tenant_id)
        net_dict = self.update_dcnm_net_info(tenant_id, direc, vlan_id,
                                             segmentation_id)
        serv_obj.store_dcnm_net_dict(net_dict, direc)
        return net_dict
867178
public static base_response update(nitro_service client, ipsecparameter resource) throws Exception {
		ipsecparameter updateresource = new ipsecparameter();
		updateresource.ikeversion = resource.ikeversion;
		updateresource.encalgo = resource.encalgo;
		updateresource.hashalgo = resource.hashalgo;
		updateresource.lifetime = resource.lifetime;
		updateresource.livenesscheckinterval = resource.livenesscheckinterval;
		updateresource.replaywindowsize = resource.replaywindowsize;
		updateresource.ikeretryinterval = resource.ikeretryinterval;
		updateresource.retransmissiontime = resource.retransmissiontime;
		return updateresource.update_resource(client);
	}
945244
public static base_response update(nitro_service client, transformprofile resource) throws Exception {
		transformprofile updateresource = new transformprofile();
		updateresource.name = resource.name;
		updateresource.type = resource.type;
		updateresource.onlytransformabsurlinbody = resource.onlytransformabsurlinbody;
		updateresource.comment = resource.comment;
		return updateresource.update_resource(client);
	}
401293
public static base_response update(nitro_service client, vpnclientlessaccessprofile resource) throws Exception {
		vpnclientlessaccessprofile updateresource = new vpnclientlessaccessprofile();
		updateresource.profilename = resource.profilename;
		updateresource.urlrewritepolicylabel = resource.urlrewritepolicylabel;
		updateresource.javascriptrewritepolicylabel = resource.javascriptrewritepolicylabel;
		updateresource.reqhdrrewritepolicylabel = resource.reqhdrrewritepolicylabel;
		updateresource.reshdrrewritepolicylabel = resource.reshdrrewritepolicylabel;
		updateresource.regexforfindingurlinjavascript = resource.regexforfindingurlinjavascript;
		updateresource.regexforfindingurlincss = resource.regexforfindingurlincss;
		updateresource.regexforfindingurlinxcomponent = resource.regexforfindingurlinxcomponent;
		updateresource.regexforfindingurlinxml = resource.regexforfindingurlinxml;
		updateresource.regexforfindingcustomurls = resource.regexforfindingcustomurls;
		updateresource.clientconsumedcookies = resource.clientconsumedcookies;
		updateresource.requirepersistentcookie = resource.requirepersistentcookie;
		return updateresource.update_resource(client);
	}
1179206
public static base_response update(nitro_service client, transformpolicy resource) throws Exception {
		transformpolicy updateresource = new transformpolicy();
		updateresource.name = resource.name;
		updateresource.rule = resource.rule;
		updateresource.profilename = resource.profilename;
		updateresource.comment = resource.comment;
		updateresource.logaction = resource.logaction;
		return updateresource.update_resource(client);
	}
1057565
public static base_response update(nitro_service client, ntpserver resource) throws Exception {
		ntpserver updateresource = new ntpserver();
		updateresource.serverip = resource.serverip;
		updateresource.servername = resource.servername;
		updateresource.minpoll = resource.minpoll;
		updateresource.maxpoll = resource.maxpoll;
		updateresource.preferredntpserver = resource.preferredntpserver;
		updateresource.autokey = resource.autokey;
		updateresource.key = resource.key;
		return updateresource.update_resource(client);
	}
884646
public static netprofile[] get(nitro_service service, options option) throws Exception{
		netprofile obj = new netprofile();
		netprofile[] response = (netprofile[])obj.get_resources(service,option);
		return response;
	}
1329420
public static base_response update(nitro_service client, appfwprofile resource) throws Exception {
		appfwprofile updateresource = new appfwprofile();
		updateresource.name = resource.name;
		updateresource.starturlaction = resource.starturlaction;
		updateresource.starturlclosure = resource.starturlclosure;
		updateresource.denyurlaction = resource.denyurlaction;
		updateresource.refererheadercheck = resource.refererheadercheck;
		updateresource.cookieconsistencyaction = resource.cookieconsistencyaction;
		updateresource.cookietransforms = resource.cookietransforms;
		updateresource.cookieencryption = resource.cookieencryption;
		updateresource.cookieproxying = resource.cookieproxying;
		updateresource.addcookieflags = resource.addcookieflags;
		updateresource.fieldconsistencyaction = resource.fieldconsistencyaction;
		updateresource.csrftagaction = resource.csrftagaction;
		updateresource.crosssitescriptingaction = resource.crosssitescriptingaction;
		updateresource.crosssitescriptingtransformunsafehtml = resource.crosssitescriptingtransformunsafehtml;
		updateresource.crosssitescriptingcheckcompleteurls = resource.crosssitescriptingcheckcompleteurls;
		updateresource.sqlinjectionaction = resource.sqlinjectionaction;
		updateresource.sqlinjectiontransformspecialchars = resource.sqlinjectiontransformspecialchars;
		updateresource.sqlinjectiononlycheckfieldswithsqlchars = resource.sqlinjectiononlycheckfieldswithsqlchars;
		updateresource.fieldformataction = resource.fieldformataction;
		updateresource.defaultfieldformattype = resource.defaultfieldformattype;
		updateresource.defaultfieldformatminlength = resource.defaultfieldformatminlength;
		updateresource.defaultfieldformatmaxlength = resource.defaultfieldformatmaxlength;
		updateresource.bufferoverflowaction = resource.bufferoverflowaction;
		updateresource.bufferoverflowmaxurllength = resource.bufferoverflowmaxurllength;
		updateresource.bufferoverflowmaxheaderlength = resource.bufferoverflowmaxheaderlength;
		updateresource.bufferoverflowmaxcookielength = resource.bufferoverflowmaxcookielength;
		updateresource.creditcardaction = resource.creditcardaction;
		updateresource.creditcard = resource.creditcard;
		updateresource.creditcardmaxallowed = resource.creditcardmaxallowed;
		updateresource.creditcardxout = resource.creditcardxout;
		updateresource.requestcontenttype = resource.requestcontenttype;
		updateresource.responsecontenttype = resource.responsecontenttype;
		updateresource.xmldosaction = resource.xmldosaction;
		updateresource.xmlformataction = resource.xmlformataction;
		updateresource.xmlsqlinjectionaction = resource.xmlsqlinjectionaction;
		updateresource.xmlsqlinjectiononlycheckfieldswithsqlchars = resource.xmlsqlinjectiononlycheckfieldswithsqlchars;
		updateresource.xmlsqlinjectionparsecomments = resource.xmlsqlinjectionparsecomments;
		updateresource.xmlxssaction = resource.xmlxssaction;
		updateresource.xmlwsiaction = resource.xmlwsiaction;
		updateresource.xmlattachmentaction = resource.xmlattachmentaction;
		updateresource.xmlvalidationaction = resource.xmlvalidationaction;
		updateresource.xmlerrorobject = resource.xmlerrorobject;
		updateresource.customsettings = resource.customsettings;
		updateresource.signatures = resource.signatures;
		updateresource.xmlsoapfaultaction = resource.xmlsoapfaultaction;
		updateresource.usehtmlerrorobject = resource.usehtmlerrorobject;
		updateresource.errorurl = resource.errorurl;
		updateresource.htmlerrorobject = resource.htmlerrorobject;
		updateresource.logeverypolicyhit = resource.logeverypolicyhit;
		updateresource.stripcomments = resource.stripcomments;
		updateresource.striphtmlcomments = resource.striphtmlcomments;
		updateresource.stripxmlcomments = resource.stripxmlcomments;
		updateresource.exemptclosureurlsfromsecuritychecks = resource.exemptclosureurlsfromsecuritychecks;
		updateresource.defaultcharset = resource.defaultcharset;
		updateresource.postbodylimit = resource.postbodylimit;
		updateresource.fileuploadmaxnum = resource.fileuploadmaxnum;
		updateresource.canonicalizehtmlresponse = resource.canonicalizehtmlresponse;
		updateresource.enableformtagging = resource.enableformtagging;
		updateresource.sessionlessfieldconsistency = resource.sessionlessfieldconsistency;
		updateresource.sessionlessurlclosure = resource.sessionlessurlclosure;
		updateresource.semicolonfieldseparator = resource.semicolonfieldseparator;
		updateresource.excludefileuploadfromchecks = resource.excludefileuploadfromchecks;
		updateresource.sqlinjectionparsecomments = resource.sqlinjectionparsecomments;
		updateresource.invalidpercenthandling = resource.invalidpercenthandling;
		updateresource.type = resource.type;
		updateresource.checkrequestheaders = resource.checkrequestheaders;
		updateresource.comment = resource.comment;
		return updateresource.update_resource(client);
	}
1321953
public static base_responses update(nitro_service client, autoscaleprofile resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			autoscaleprofile updateresources[] = new autoscaleprofile[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new autoscaleprofile();
				updateresources[i].name = resources[i].name;
				updateresources[i].url = resources[i].url;
				updateresources[i].apikey = resources[i].apikey;
				updateresources[i].sharedsecret = resources[i].sharedsecret;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
937993
def update(self):
        """"""

        # Grab stats into self.stats
        if self.input_method == 'local':
            stats = self.update_local()
        elif self.input_method == 'snmp':
            stats = self.update_snmp()
        else:
            stats = self.get_init_value()

        # Update the stats
        self.stats = stats

        return self.stats
1160682
public static base_responses update(nitro_service client, route resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			route updateresources[] = new route[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new route();
				updateresources[i].network = resources[i].network;
				updateresources[i].netmask = resources[i].netmask;
				updateresources[i].gateway = resources[i].gateway;
				updateresources[i].td = resources[i].td;
				updateresources[i].distance = resources[i].distance;
				updateresources[i].cost1 = resources[i].cost1;
				updateresources[i].weight = resources[i].weight;
				updateresources[i].advertise = resources[i].advertise;
				updateresources[i].protocol = resources[i].protocol;
				updateresources[i].msr = resources[i].msr;
				updateresources[i].monitor = resources[i].monitor;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}