2 Star 9 Fork 6

tencentcloud/tencentcloud-sdk-nodejs

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
dnspod.v20210323.test.js 23.28 KB
一键复制 编辑 原始数据 按行查看 历史
tencentcloud 提交于 2025-05-15 04:19 +08:00 . release 4.1.37
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901
const expect = require("chai").expect
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
const client = new tencentcloud.dnspod.v20210323.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("dnspod.v20210323.test.js", function () {
it("dnspod.v20210323.DescribeDomainPurview", async function () {
try {
const data = await client.DescribeDomainPurview({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifySubdomainStatus", async function () {
try {
const data = await client.ModifySubdomainStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeSubdomainAnalytics", async function () {
try {
const data = await client.DescribeSubdomainAnalytics({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateTXTRecord", async function () {
try {
const data = await client.CreateTXTRecord({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CheckSnapshotRollback", async function () {
try {
const data = await client.CheckSnapshotRollback({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyVasAutoRenewStatus", async function () {
try {
const data = await client.ModifyVasAutoRenewStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomainWhois", async function () {
try {
const data = await client.DescribeDomainWhois({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateDomainBatch", async function () {
try {
const data = await client.CreateDomainBatch({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomainShareInfo", async function () {
try {
const data = await client.DescribeDomainShareInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateLineGroup", async function () {
try {
const data = await client.CreateLineGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomainAndRecordList", async function () {
try {
const data = await client.DescribeDomainAndRecordList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomain", async function () {
try {
const data = await client.DescribeDomain({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeRecordType", async function () {
try {
const data = await client.DescribeRecordType({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyRecordGroup", async function () {
try {
const data = await client.ModifyRecordGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifySnapshotConfig", async function () {
try {
const data = await client.ModifySnapshotConfig({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyRecord", async function () {
try {
const data = await client.ModifyRecord({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyDomainOwner", async function () {
try {
const data = await client.ModifyDomainOwner({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DeleteRecordBatch", async function () {
try {
const data = await client.DeleteRecordBatch({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.RollbackRecordSnapshot", async function () {
try {
const data = await client.RollbackRecordSnapshot({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeRecordExistExceptDefaultNS", async function () {
try {
const data = await client.DescribeRecordExistExceptDefaultNS({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateSnapshot", async function () {
try {
const data = await client.CreateSnapshot({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyRecordFields", async function () {
try {
const data = await client.ModifyRecordFields({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DeleteDomainBatch", async function () {
try {
const data = await client.DeleteDomainBatch({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeSnapshotRollbackResult", async function () {
try {
const data = await client.DescribeSnapshotRollbackResult({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyDomainUnlock", async function () {
try {
const data = await client.ModifyDomainUnlock({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomainList", async function () {
try {
const data = await client.DescribeDomainList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeSnapshotConfig", async function () {
try {
const data = await client.DescribeSnapshotConfig({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeUserDetail", async function () {
try {
const data = await client.DescribeUserDetail({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyDomainStatus", async function () {
try {
const data = await client.ModifyDomainStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomainAnalytics", async function () {
try {
const data = await client.DescribeDomainAnalytics({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyPackageAutoRenew", async function () {
try {
const data = await client.ModifyPackageAutoRenew({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateRecord", async function () {
try {
const data = await client.CreateRecord({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeRecordLineCategoryList", async function () {
try {
const data = await client.DescribeRecordLineCategoryList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomainLogList", async function () {
try {
const data = await client.DescribeDomainLogList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateDomainGroup", async function () {
try {
const data = await client.CreateDomainGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomainPreview", async function () {
try {
const data = await client.DescribeDomainPreview({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyRecordToGroup", async function () {
try {
const data = await client.ModifyRecordToGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyTXTRecord", async function () {
try {
const data = await client.ModifyTXTRecord({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DeleteDomain", async function () {
try {
const data = await client.DeleteDomain({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomainGroupList", async function () {
try {
const data = await client.DescribeDomainGroupList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DeleteDomainCustomLine", async function () {
try {
const data = await client.DeleteDomainCustomLine({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomainAliasList", async function () {
try {
const data = await client.DescribeDomainAliasList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeSnapshotList", async function () {
try {
const data = await client.DescribeSnapshotList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateSubDomainsAnalyticsFile", async function () {
try {
const data = await client.CreateSubDomainsAnalyticsFile({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DeleteSnapshot", async function () {
try {
const data = await client.DeleteSnapshot({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateDeal", async function () {
try {
const data = await client.CreateDeal({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyDomainToGroup", async function () {
try {
const data = await client.ModifyDomainToGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateDomain", async function () {
try {
const data = await client.CreateDomain({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyDomainLock", async function () {
try {
const data = await client.ModifyDomainLock({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.RollbackSnapshot", async function () {
try {
const data = await client.RollbackSnapshot({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeRecordGroupList", async function () {
try {
const data = await client.DescribeRecordGroupList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeRecordLineList", async function () {
try {
const data = await client.DescribeRecordLineList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyRecordRemark", async function () {
try {
const data = await client.ModifyRecordRemark({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeLineGroupList", async function () {
try {
const data = await client.DescribeLineGroupList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyLineGroup", async function () {
try {
const data = await client.ModifyLineGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateLineGroupCopy", async function () {
try {
const data = await client.CreateLineGroupCopy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CheckRecordSnapshotRollback", async function () {
try {
const data = await client.CheckRecordSnapshotRollback({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.PayOrderWithBalance", async function () {
try {
const data = await client.PayOrderWithBalance({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeFileInfoByJobId", async function () {
try {
const data = await client.DescribeFileInfoByJobId({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribePackageDetail", async function () {
try {
const data = await client.DescribePackageDetail({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeRecordFilterList", async function () {
try {
const data = await client.DescribeRecordFilterList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyRecordBatch", async function () {
try {
const data = await client.ModifyRecordBatch({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeRecordSnapshotRollbackResult", async function () {
try {
const data = await client.DescribeRecordSnapshotRollbackResult({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateSubdomainValidateTXTValue", async function () {
try {
const data = await client.CreateSubdomainValidateTXTValue({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeRecordList", async function () {
try {
const data = await client.DescribeRecordList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeSnapshotRollbackTask", async function () {
try {
const data = await client.DescribeSnapshotRollbackTask({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DeleteRecord", async function () {
try {
const data = await client.DeleteRecord({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DeleteRecordGroup", async function () {
try {
const data = await client.DeleteRecordGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DownloadSnapshot", async function () {
try {
const data = await client.DownloadSnapshot({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyRecordStatus", async function () {
try {
const data = await client.ModifyRecordStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyDomainCustomLine", async function () {
try {
const data = await client.ModifyDomainCustomLine({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeVASStatistic", async function () {
try {
const data = await client.DescribeVASStatistic({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DeleteShareDomain", async function () {
try {
const data = await client.DeleteShareDomain({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DeleteLineGroup", async function () {
try {
const data = await client.DeleteLineGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateRecordGroup", async function () {
try {
const data = await client.CreateRecordGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyDynamicDNS", async function () {
try {
const data = await client.ModifyDynamicDNS({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateRecordBatch", async function () {
try {
const data = await client.CreateRecordBatch({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateDomainCustomLine", async function () {
try {
const data = await client.CreateDomainCustomLine({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateDomainsAnalyticsFile", async function () {
try {
const data = await client.CreateDomainsAnalyticsFile({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeRecord", async function () {
try {
const data = await client.DescribeRecord({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomainShareUserList", async function () {
try {
const data = await client.DescribeDomainShareUserList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.ModifyDomainRemark", async function () {
try {
const data = await client.ModifyDomainRemark({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeSubdomainValidateStatus", async function () {
try {
const data = await client.DescribeSubdomainValidateStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DeleteDomainAlias", async function () {
try {
const data = await client.DeleteDomainAlias({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeBatchTask", async function () {
try {
const data = await client.DescribeBatchTask({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomainCustomLineList", async function () {
try {
const data = await client.DescribeDomainCustomLineList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.DescribeDomainFilterList", async function () {
try {
const data = await client.DescribeDomainFilterList({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("dnspod.v20210323.CreateDomainAlias", async function () {
try {
const data = await client.CreateDomainAlias({})
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

搜索帮助