public static base_response add ( nitro_service client , autoscaleaction resource ) throws Exception { autoscaleaction addresource = new autoscaleaction ( ) ; addresource . name = resource . name ; addresource . type = resource . type ; addresource . profilename = resource . profilename ; addresource . parameters = resource . parameters ; addresource . vmdestroygraceperiod = resource . vmdestroygraceperiod ; addresource . quiettime = resource . quiettime ; addresource . vserver = resource . vserver ; return addresource . add_resource ( client ) ; }
Use this API to add autoscaleaction .