import{A as APIBase}from"./apiBase-648a161d.js";var DamgaApi=function(){function t(t,a,e){var n=this;if(a===void 0){a={}}if(e===void 0){e={}}this.createDomain=function(t){return n.api.post("domains",t)};this.getDomains=function(){return n.api.get("domains")};this.updateDomain=function(t,a){return n.api.put("domains/".concat(t),a)};this.deleteDomain=function(t){return n.api.delete("domains/".concat(t))};this.createLoadBalancer=function(t){return n.api.post("load-balancers",t)};this.getLoadBalancers=function(){return n.api.get("load-balancers")};this.updateLoadBalancer=function(t,a){return n.api.put("load-balancers/".concat(t),a)};this.deleteLoadBalancer=function(t){return n.api.delete("load-balancers/".concat(t))};this.createTargetGroup=function(t){return n.api.post("target-groups",t)};this.getTargetGroups=function(){return n.api.get("target-groups")};this.updateTargetGroup=function(t,a){return n.api.put("target-groups/".concat(t),a)};this.deleteTargetGroup=function(t){return n.api.delete("target-groups/".concat(t))};this.getDnsRecord=function(t){return n.api.post("tools/dns-lookup",{domain:t})};this.api=new APIBase(t,a);this.api.axios.defaults.params=e}return t}();export{DamgaApi as D};