Use this API to update dnssrvrec resources.
14236
public static base_responses update(nitro_service client, dnssrvrec resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnssrvrec updateresources[] = new dnssrvrec[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new dnssrvrec();
				updateresources[i].domain = resources[i].domain;
				updateresources[i].target = resources[i].target;
				updateresources[i].priority = resources[i].priority;
				updateresources[i].weight = resources[i].weight;
				updateresources[i].port = resources[i].port;
				updateresources[i].ttl = resources[i].ttl;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
892520
public static base_response update(nitro_service client, vserver resource) throws Exception {
		vserver updateresource = new vserver();
		updateresource.name = resource.name;
		updateresource.backupvserver = resource.backupvserver;
		updateresource.redirecturl = resource.redirecturl;
		updateresource.cacheable = resource.cacheable;
		updateresource.clttimeout = resource.clttimeout;
		updateresource.somethod = resource.somethod;
		updateresource.sopersistence = resource.sopersistence;
		updateresource.sopersistencetimeout = resource.sopersistencetimeout;
		updateresource.sothreshold = resource.sothreshold;
		updateresource.pushvserver = resource.pushvserver;
		return updateresource.update_resource(client);
	}
1258742
public static base_response update(nitro_service client, dnssoarec resource) throws Exception {
		dnssoarec updateresource = new dnssoarec();
		updateresource.domain = resource.domain;
		updateresource.originserver = resource.originserver;
		updateresource.contact = resource.contact;
		updateresource.serial = resource.serial;
		updateresource.refresh = resource.refresh;
		updateresource.retry = resource.retry;
		updateresource.expire = resource.expire;
		updateresource.minimum = resource.minimum;
		updateresource.ttl = resource.ttl;
		return updateresource.update_resource(client);
	}
46559
public static base_responses update(nitro_service client, gslbsite resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			gslbsite updateresources[] = new gslbsite[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new gslbsite();
				updateresources[i].sitename = resources[i].sitename;
				updateresources[i].metricexchange = resources[i].metricexchange;
				updateresources[i].nwmetricexchange = resources[i].nwmetricexchange;
				updateresources[i].sessionexchange = resources[i].sessionexchange;
				updateresources[i].triggermonitor = resources[i].triggermonitor;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
491056
def UpdateResources(dstpath, data, type_, names=None, languages=None):
    
    # look for existing resources
    res = GetResources(dstpath, [type_], names, languages)
    # add type_, names and languages not already present in existing resources
    if not type_ in res and type_ != "*":
        res[type_] = {}
    if names:
        for name in names:
            if not name in res[type_] and name != "*":
                res[type_][name] = []
                if languages:
                    for language in languages:
                        if not language in res[type_][name] and language != "*":
                            res[type_][name].append(language)
    # add resource to destination, overwriting existing resources
    hdst = win32api.BeginUpdateResource(dstpath, 0)
    for type_ in res:
        for name in res[type_]:
            for language in res[type_][name]:
                logger.info("Updating resource type %s name %s language %s",
                            type_, name, language)
                win32api.UpdateResource(hdst, type_, name, data, language)
    win32api.EndUpdateResource(hdst, 0)
360799
public static base_response update(nitro_service client, gslbsite resource) throws Exception {
		gslbsite updateresource = new gslbsite();
		updateresource.sitename = resource.sitename;
		updateresource.metricexchange = resource.metricexchange;
		updateresource.nwmetricexchange = resource.nwmetricexchange;
		updateresource.sessionexchange = resource.sessionexchange;
		updateresource.triggermonitor = resource.triggermonitor;
		return updateresource.update_resource(client);
	}
1078137
public static base_responses update(nitro_service client, dnssoarec resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnssoarec updateresources[] = new dnssoarec[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new dnssoarec();
				updateresources[i].domain = resources[i].domain;
				updateresources[i].originserver = resources[i].originserver;
				updateresources[i].contact = resources[i].contact;
				updateresources[i].serial = resources[i].serial;
				updateresources[i].refresh = resources[i].refresh;
				updateresources[i].retry = resources[i].retry;
				updateresources[i].expire = resources[i].expire;
				updateresources[i].minimum = resources[i].minimum;
				updateresources[i].ttl = resources[i].ttl;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
775131
public static base_response add(nitro_service client, dnsnsrec resource) throws Exception {
		dnsnsrec addresource = new dnsnsrec();
		addresource.domain = resource.domain;
		addresource.nameserver = resource.nameserver;
		addresource.ttl = resource.ttl;
		return addresource.add_resource(client);
	}
387801
public static base_responses update(nitro_service client, nspbr resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nspbr updateresources[] = new nspbr[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new nspbr();
				updateresources[i].name = resources[i].name;
				updateresources[i].action = resources[i].action;
				updateresources[i].srcip = resources[i].srcip;
				updateresources[i].srcipop = resources[i].srcipop;
				updateresources[i].srcipval = resources[i].srcipval;
				updateresources[i].srcport = resources[i].srcport;
				updateresources[i].srcportop = resources[i].srcportop;
				updateresources[i].srcportval = resources[i].srcportval;
				updateresources[i].destip = resources[i].destip;
				updateresources[i].destipop = resources[i].destipop;
				updateresources[i].destipval = resources[i].destipval;
				updateresources[i].destport = resources[i].destport;
				updateresources[i].destportop = resources[i].destportop;
				updateresources[i].destportval = resources[i].destportval;
				updateresources[i].nexthop = resources[i].nexthop;
				updateresources[i].nexthopval = resources[i].nexthopval;
				updateresources[i].iptunnel = resources[i].iptunnel;
				updateresources[i].iptunnelname = resources[i].iptunnelname;
				updateresources[i].srcmac = resources[i].srcmac;
				updateresources[i].protocol = resources[i].protocol;
				updateresources[i].protocolnumber = resources[i].protocolnumber;
				updateresources[i].vlan = resources[i].vlan;
				updateresources[i].Interface = resources[i].Interface;
				updateresources[i].priority = resources[i].priority;
				updateresources[i].msr = resources[i].msr;
				updateresources[i].monitor = resources[i].monitor;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
150408
public static base_response update(nitro_service client, lbvserver resource) throws Exception {
		lbvserver updateresource = new lbvserver();
		updateresource.name = resource.name;
		updateresource.ipv46 = resource.ipv46;
		updateresource.ippattern = resource.ippattern;
		updateresource.ipmask = resource.ipmask;
		updateresource.weight = resource.weight;
		updateresource.servicename = resource.servicename;
		updateresource.persistencetype = resource.persistencetype;
		updateresource.timeout = resource.timeout;
		updateresource.persistencebackup = resource.persistencebackup;
		updateresource.backuppersistencetimeout = resource.backuppersistencetimeout;
		updateresource.lbmethod = resource.lbmethod;
		updateresource.hashlength = resource.hashlength;
		updateresource.netmask = resource.netmask;
		updateresource.v6netmasklen = resource.v6netmasklen;
		updateresource.rule = resource.rule;
		updateresource.cookiename = resource.cookiename;
		updateresource.resrule = resource.resrule;
		updateresource.persistmask = resource.persistmask;
		updateresource.v6persistmasklen = resource.v6persistmasklen;
		updateresource.pq = resource.pq;
		updateresource.sc = resource.sc;
		updateresource.rtspnat = resource.rtspnat;
		updateresource.m = resource.m;
		updateresource.tosid = resource.tosid;
		updateresource.datalength = resource.datalength;
		updateresource.dataoffset = resource.dataoffset;
		updateresource.sessionless = resource.sessionless;
		updateresource.connfailover = resource.connfailover;
		updateresource.backupvserver = resource.backupvserver;
		updateresource.redirurl = resource.redirurl;
		updateresource.cacheable = resource.cacheable;
		updateresource.clttimeout = resource.clttimeout;
		updateresource.somethod = resource.somethod;
		updateresource.sothreshold = resource.sothreshold;
		updateresource.sopersistence = resource.sopersistence;
		updateresource.sopersistencetimeout = resource.sopersistencetimeout;
		updateresource.healththreshold = resource.healththreshold;
		updateresource.sobackupaction = resource.sobackupaction;
		updateresource.redirectportrewrite = resource.redirectportrewrite;
		updateresource.downstateflush = resource.downstateflush;
		updateresource.insertvserveripport = resource.insertvserveripport;
		updateresource.vipheader = resource.vipheader;
		updateresource.disableprimaryondown = resource.disableprimaryondown;
		updateresource.authenticationhost = resource.authenticationhost;
		updateresource.authentication = resource.authentication;
		updateresource.authn401 = resource.authn401;
		updateresource.authnvsname = resource.authnvsname;
		updateresource.push = resource.push;
		updateresource.pushvserver = resource.pushvserver;
		updateresource.pushlabel = resource.pushlabel;
		updateresource.pushmulticlients = resource.pushmulticlients;
		updateresource.listenpolicy = resource.listenpolicy;
		updateresource.listenpriority = resource.listenpriority;
		updateresource.tcpprofilename = resource.tcpprofilename;
		updateresource.httpprofilename = resource.httpprofilename;
		updateresource.dbprofilename = resource.dbprofilename;
		updateresource.comment = resource.comment;
		updateresource.l2conn = resource.l2conn;
		updateresource.mssqlserverversion = resource.mssqlserverversion;
		updateresource.mysqlprotocolversion = resource.mysqlprotocolversion;
		updateresource.mysqlserverversion = resource.mysqlserverversion;
		updateresource.mysqlcharacterset = resource.mysqlcharacterset;
		updateresource.mysqlservercapabilities = resource.mysqlservercapabilities;
		updateresource.appflowlog = resource.appflowlog;
		updateresource.netprofile = resource.netprofile;
		updateresource.icmpvsrresponse = resource.icmpvsrresponse;
		updateresource.newservicerequest = resource.newservicerequest;
		updateresource.newservicerequestunit = resource.newservicerequestunit;
		updateresource.newservicerequestincrementinterval = resource.newservicerequestincrementinterval;
		updateresource.minautoscalemembers = resource.minautoscalemembers;
		updateresource.maxautoscalemembers = resource.maxautoscalemembers;
		updateresource.persistavpno = resource.persistavpno;
		updateresource.skippersistency = resource.skippersistency;
		updateresource.authnprofile = resource.authnprofile;
		updateresource.macmoderetainvlan = resource.macmoderetainvlan;
		updateresource.dbslb = resource.dbslb;
		updateresource.dns64 = resource.dns64;
		updateresource.bypassaaaa = resource.bypassaaaa;
		updateresource.recursionavailable = resource.recursionavailable;
		return updateresource.update_resource(client);
	}
708502
def _update_records(self, records, data):
        
        data = {k: v for k, v in data.items() if v}
        records = [dict(record, **data) for record in records]
        return self._apicall(
            'updateDnsRecords',
            domainname=self.domain,
            dnsrecordset={'dnsrecords': records},
        ).get('dnsrecords', [])
832993
@Help(help = "Updates a VNFR to a defined VNFD in a running NSR with specific id")
  public void updateVnfr(final String idNsr, final String idVnfr) throws SDKException {
    String url = idNsr + "/vnfrecords" + "/" + idVnfr + "/update";
    requestPost(url);
  }
1261696
def updateNetwork(self,
                      dhcp='dhcp',
                      ipaddress=None,
                      netmask=None,
                      gateway=None,
                      dns=None):
        """"""
        return self.__post('/api/updateNetwork',
                           data={
                               'dhcp': dhcp,
                               'ipaddress': ipaddress,
                               'netmask': netmask,
                               'gateway': gateway,
                               'dns': json.dumps(dns)
                           })
90853
def _update_from_api_repr(self, resource):
        """"""
        self.destination = resource["destination"]
        self.filter_ = resource.get("filter")
        self._writer_identity = resource.get("writerIdentity")
152394
public static base_responses add(nitro_service client, dnssoarec resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnssoarec addresources[] = new dnssoarec[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new dnssoarec();
				addresources[i].domain = resources[i].domain;
				addresources[i].originserver = resources[i].originserver;
				addresources[i].contact = resources[i].contact;
				addresources[i].serial = resources[i].serial;
				addresources[i].refresh = resources[i].refresh;
				addresources[i].retry = resources[i].retry;
				addresources[i].expire = resources[i].expire;
				addresources[i].minimum = resources[i].minimum;
				addresources[i].ttl = resources[i].ttl;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
986633
public static ns update(nitro_service client, ns resource) throws Exception
	{
		resource.validate("modify");
		return ((ns[]) resource.update_resource(client))[0];
	}
1029066
public static base_responses update(nitro_service client, nspbr6 resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nspbr6 updateresources[] = new nspbr6[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new nspbr6();
				updateresources[i].name = resources[i].name;
				updateresources[i].action = resources[i].action;
				updateresources[i].srcipv6 = resources[i].srcipv6;
				updateresources[i].srcipop = resources[i].srcipop;
				updateresources[i].srcipv6val = resources[i].srcipv6val;
				updateresources[i].srcport = resources[i].srcport;
				updateresources[i].srcportop = resources[i].srcportop;
				updateresources[i].srcportval = resources[i].srcportval;
				updateresources[i].destipv6 = resources[i].destipv6;
				updateresources[i].destipop = resources[i].destipop;
				updateresources[i].destipv6val = resources[i].destipv6val;
				updateresources[i].destport = resources[i].destport;
				updateresources[i].destportop = resources[i].destportop;
				updateresources[i].destportval = resources[i].destportval;
				updateresources[i].srcmac = resources[i].srcmac;
				updateresources[i].protocol = resources[i].protocol;
				updateresources[i].protocolnumber = resources[i].protocolnumber;
				updateresources[i].vlan = resources[i].vlan;
				updateresources[i].Interface = resources[i].Interface;
				updateresources[i].priority = resources[i].priority;
				updateresources[i].msr = resources[i].msr;
				updateresources[i].monitor = resources[i].monitor;
				updateresources[i].nexthop = resources[i].nexthop;
				updateresources[i].nexthopval = resources[i].nexthopval;
				updateresources[i].nexthopvlan = resources[i].nexthopvlan;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}