public static base_response update ( nitro_service client , nspbr6 resource ) throws Exception { nspbr6 updateresource = new nspbr6 ( ) ; updateresource . name = resource . name ; updateresource . action = resource . action ; updateresource . srcipv6 = resource . srcipv6 ; updateresource . srcipop = resource . srcipop ; updateresource . srcipv6val = resource . srcipv6val ; updateresource . srcport = resource . srcport ; updateresource . srcportop = resource . srcportop ; updateresource . srcportval = resource . srcportval ; updateresource . destipv6 = resource . destipv6 ; updateresource . destipop = resource . destipop ; updateresource . destipv6val = resource . destipv6val ; updateresource . destport = resource . destport ; updateresource . destportop = resource . destportop ; updateresource . destportval = resource . destportval ; updateresource . srcmac = resource . srcmac ; updateresource . protocol = resource . protocol ; updateresource . protocolnumber = resource . protocolnumber ; updateresource . vlan = resource . vlan ; updateresource . Interface = resource . Interface ; updateresource . priority = resource . priority ; updateresource . msr = resource . msr ; updateresource . monitor = resource . monitor ; updateresource . nexthop = resource . nexthop ; updateresource . nexthopval = resource . nexthopval ; updateresource . nexthopvlan = resource . nexthopvlan ; return updateresource . update_resource ( client ) ; }
Use this API to update nspbr6 .