public static base_response update ( nitro_service client , nsacl6 resource ) throws Exception { nsacl6 updateresource = new nsacl6 ( ) ; updateresource . acl6name = resource . acl6name ; updateresource . aclaction = resource . aclaction ; 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 . icmptype = resource . icmptype ; updateresource . icmpcode = resource . icmpcode ; updateresource . vlan = resource . vlan ; updateresource . Interface = resource . Interface ; updateresource . priority = resource . priority ; updateresource . established = resource . established ; return updateresource . update_resource ( client ) ; }
Use this API to update nsacl6 .