2 Star 9 Fork 6

tencentcloud/tencentcloud-sdk-nodejs

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
clb.v20180317.test.js 24.20 KB
一键复制 编辑 原始数据 按行查看 历史
tencentcloud 提交于 2025-02-26 04:10 +08:00 . release 4.0.1038
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931
const expect = require("chai").expect
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
const client = new tencentcloud.clb.v20180317.Client({
credential: {
secretId: process.env.secretId,
secretKey: process.env.secretKey,
},
region: "ap-shanghai",
profile: {
signMethod: "TC3-HMAC-SHA256",
httpProfile: {
reqMethod: "POST",
reqTimeout: 30,
endpoint: "cvm.ap-shanghai.tencentcloudapi.com",
},
},
})
describe("clb.v20180317.test.js", function () {
it("clb.v20180317.DescribeCustomizedConfigAssociateList", async function () {
try {
const data = await client.DescribeCustomizedConfigAssociateList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.InquiryPriceModifyLoadBalancer", async function () {
try {
const data = await client.InquiryPriceModifyLoadBalancer({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.BatchDeregisterTargets", async function () {
try {
const data = await client.BatchDeregisterTargets({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeExclusiveClusters", async function () {
try {
const data = await client.DescribeExclusiveClusters({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.AutoRewrite", async function () {
try {
const data = await client.AutoRewrite({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyTargetGroupInstancesWeight", async function () {
try {
const data = await client.ModifyTargetGroupInstancesWeight({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.AssociateCustomizedConfig", async function () {
try {
const data = await client.AssociateCustomizedConfig({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DeregisterTargetsFromClassicalLB", async function () {
try {
const data = await client.DeregisterTargetsFromClassicalLB({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeLoadBalancersDetail", async function () {
try {
const data = await client.DescribeLoadBalancersDetail({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.AssociateTargetGroups", async function () {
try {
const data = await client.AssociateTargetGroups({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DeregisterTargetGroupInstances", async function () {
try {
const data = await client.DeregisterTargetGroupInstances({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeListeners", async function () {
try {
const data = await client.DescribeListeners({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.CreateTopic", async function () {
try {
const data = await client.CreateTopic({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyLoadBalancersProject", async function () {
try {
const data = await client.ModifyLoadBalancersProject({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.SetCustomizedConfigForLoadBalancer", async function () {
try {
const data = await client.SetCustomizedConfigForLoadBalancer({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.RegisterTargetsWithClassicalLB", async function () {
try {
const data = await client.RegisterTargetsWithClassicalLB({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DeregisterTargets", async function () {
try {
const data = await client.DeregisterTargets({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyLoadBalancerAttributes", async function () {
try {
const data = await client.ModifyLoadBalancerAttributes({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyTargetGroupInstancesPort", async function () {
try {
const data = await client.ModifyTargetGroupInstancesPort({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.BatchModifyTargetWeight", async function () {
try {
const data = await client.BatchModifyTargetWeight({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DeleteRewrite", async function () {
try {
const data = await client.DeleteRewrite({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DisassociateCustomizedConfig", async function () {
try {
const data = await client.DisassociateCustomizedConfig({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.SetLoadBalancerSecurityGroups", async function () {
try {
const data = await client.SetLoadBalancerSecurityGroups({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.InquiryPriceRefundLoadBalancer", async function () {
try {
const data = await client.InquiryPriceRefundLoadBalancer({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DeleteListener", async function () {
try {
const data = await client.DeleteListener({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.SetSecurityGroupForLoadbalancers", async function () {
try {
const data = await client.SetSecurityGroupForLoadbalancers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.RegisterTargetGroupInstances", async function () {
try {
const data = await client.RegisterTargetGroupInstances({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.SetLoadBalancerStartStatus", async function () {
try {
const data = await client.SetLoadBalancerStartStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyListener", async function () {
try {
const data = await client.ModifyListener({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DeleteCustomizedConfig", async function () {
try {
const data = await client.DeleteCustomizedConfig({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeResources", async function () {
try {
const data = await client.DescribeResources({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeLBListeners", async function () {
try {
const data = await client.DescribeLBListeners({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.BatchRegisterTargets", async function () {
try {
const data = await client.BatchRegisterTargets({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.RegisterFunctionTargets", async function () {
try {
const data = await client.RegisterFunctionTargets({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeCustomizedConfigList", async function () {
try {
const data = await client.DescribeCustomizedConfigList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyRule", async function () {
try {
const data = await client.ModifyRule({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.SetLoadBalancerClsLog", async function () {
try {
const data = await client.SetLoadBalancerClsLog({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyBlockIPList", async function () {
try {
const data = await client.ModifyBlockIPList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeRewrite", async function () {
try {
const data = await client.DescribeRewrite({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyTargetPort", async function () {
try {
const data = await client.ModifyTargetPort({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DeregisterFunctionTargets", async function () {
try {
const data = await client.DeregisterFunctionTargets({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyLoadBalancerSla", async function () {
try {
const data = await client.ModifyLoadBalancerSla({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeClusterResources", async function () {
try {
const data = await client.DescribeClusterResources({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeBlockIPTask", async function () {
try {
const data = await client.DescribeBlockIPTask({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeClassicalLBByInstanceId", async function () {
try {
const data = await client.DescribeClassicalLBByInstanceId({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeLoadBalancerTraffic", async function () {
try {
const data = await client.DescribeLoadBalancerTraffic({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeCrossTargets", async function () {
try {
const data = await client.DescribeCrossTargets({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeTargetHealth", async function () {
try {
const data = await client.DescribeTargetHealth({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ManualRewrite", async function () {
try {
const data = await client.ManualRewrite({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyFunctionTargets", async function () {
try {
const data = await client.ModifyFunctionTargets({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DeleteLoadBalancerSnatIps", async function () {
try {
const data = await client.DeleteLoadBalancerSnatIps({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyLoadBalancerMixIpTarget", async function () {
try {
const data = await client.ModifyLoadBalancerMixIpTarget({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.CreateRule", async function () {
try {
const data = await client.CreateRule({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.AddCustomizedConfig", async function () {
try {
const data = await client.AddCustomizedConfig({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyDomain", async function () {
try {
const data = await client.ModifyDomain({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.InquiryPriceRenewLoadBalancer", async function () {
try {
const data = await client.InquiryPriceRenewLoadBalancer({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeLoadBalancerOverview", async function () {
try {
const data = await client.DescribeLoadBalancerOverview({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DeleteLoadBalancer", async function () {
try {
const data = await client.DeleteLoadBalancer({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.InquiryPriceCreateLoadBalancer", async function () {
try {
const data = await client.InquiryPriceCreateLoadBalancer({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DeleteRule", async function () {
try {
const data = await client.DeleteRule({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyCustomizedConfig", async function () {
try {
const data = await client.ModifyCustomizedConfig({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeTaskStatus", async function () {
try {
const data = await client.DescribeTaskStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeTargetGroupList", async function () {
try {
const data = await client.DescribeTargetGroupList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeTargetGroups", async function () {
try {
const data = await client.DescribeTargetGroups({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyTargetGroupAttribute", async function () {
try {
const data = await client.ModifyTargetGroupAttribute({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.CreateClsLogSet", async function () {
try {
const data = await client.CreateClsLogSet({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeQuota", async function () {
try {
const data = await client.DescribeQuota({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.CreateLoadBalancer", async function () {
try {
const data = await client.CreateLoadBalancer({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeIdleLoadBalancers", async function () {
try {
const data = await client.DescribeIdleLoadBalancers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.RegisterTargets", async function () {
try {
const data = await client.RegisterTargets({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeClassicalLBListeners", async function () {
try {
const data = await client.DescribeClassicalLBListeners({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ReplaceCertForLoadBalancers", async function () {
try {
const data = await client.ReplaceCertForLoadBalancers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DeleteLoadBalancerListeners", async function () {
try {
const data = await client.DeleteLoadBalancerListeners({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DeleteTargetGroups", async function () {
try {
const data = await client.DeleteTargetGroups({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeLoadBalancerListByCertId", async function () {
try {
const data = await client.DescribeLoadBalancerListByCertId({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyDomainAttributes", async function () {
try {
const data = await client.ModifyDomainAttributes({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DisassociateTargetGroups", async function () {
try {
const data = await client.DisassociateTargetGroups({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeLoadBalancers", async function () {
try {
const data = await client.DescribeLoadBalancers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeBlockIPList", async function () {
try {
const data = await client.DescribeBlockIPList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeClassicalLBTargets", async function () {
try {
const data = await client.DescribeClassicalLBTargets({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.CreateListener", async function () {
try {
const data = await client.CreateListener({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeClsLogSet", async function () {
try {
const data = await client.DescribeClsLogSet({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.ModifyTargetWeight", async function () {
try {
const data = await client.ModifyTargetWeight({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.CreateTargetGroup", async function () {
try {
const data = await client.CreateTargetGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeTargets", async function () {
try {
const data = await client.DescribeTargets({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.MigrateClassicalLoadBalancers", async function () {
try {
const data = await client.MigrateClassicalLoadBalancers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeClassicalLBHealthStatus", async function () {
try {
const data = await client.DescribeClassicalLBHealthStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.CreateLoadBalancerSnatIps", async function () {
try {
const data = await client.CreateLoadBalancerSnatIps({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.DescribeTargetGroupInstances", async function () {
try {
const data = await client.DescribeTargetGroupInstances({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.CloneLoadBalancer", async function () {
try {
const data = await client.CloneLoadBalancer({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("clb.v20180317.BatchModifyTargetTag", async function () {
try {
const data = await client.BatchModifyTargetTag({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs.git
git@gitee.com:tencentcloud/tencentcloud-sdk-nodejs.git
tencentcloud
tencentcloud-sdk-nodejs
tencentcloud-sdk-nodejs
4.1.43

搜索帮助