public static base_response update(nitro_service client, vrid resource) throws Exception {
		vrid updateresource = new vrid();
		updateresource.id = resource.id;
		updateresource.priority = resource.priority;
		updateresource.preemption = resource.preemption;
		updateresource.sharing = resource.sharing;
		updateresource.tracking = resource.tracking;
		return updateresource.update_resource(client);
	}
public static base_response update ( nitro_service client , vrid resource ) throws Exception { vrid updateresource = new vrid ( ) ; updateresource . id = resource . id ; updateresource . priority = resource . priority ; updateresource . preemption = resource . preemption ; updateresource . sharing = resource . sharing ; updateresource . tracking = resource . tracking ; return updateresource . update_resource ( client ) ; }
Use this API to update vrid.