code: public static base_response add(nitro_service client, autoscaleprofile resource) throws Exception {
  		autoscaleprofile addresource = new autoscaleprofile();
  		addresource.name = resource.name;
  		addresource.type = resource.type;
  		addresource.url = resource.url;
  		addresource.apikey = resource.apikey;
  		addresource.sharedsecret = resource.sharedsecret;
  		return addresource.add_resource(client);
  	}
docs: Use this API to add autoscaleprofile.