public static base_response add(nitro_service client, cmppolicy resource) throws Exception {
		cmppolicy addresource = new cmppolicy();
		addresource.name = resource.name;
		addresource.rule = resource.rule;
		addresource.resaction = resource.resaction;
		return addresource.add_resource(client);
	}
public static base_response add ( nitro_service client , cmppolicy resource ) throws Exception { cmppolicy addresource = new cmppolicy ( ) ; addresource . name = resource . name ; addresource . rule = resource . rule ; addresource . resaction = resource . resaction ; return addresource . add_resource ( client ) ; }
Use this API to add cmppolicy.