2 Star 9 Fork 6

tencentcloud/tencentcloud-sdk-nodejs

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
organization.v20210331.test.js 34.91 KB
一键复制 编辑 原始数据 按行查看 历史
tencentcloud 提交于 2025-03-13 04:13 +08:00 . release 4.0.1049
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291
const expect = require("chai").expect
const tencentcloud = require("../../tencentcloud-sdk-nodejs")
const client = new tencentcloud.organization.v20210331.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("organization.v20210331.test.js", function () {
it("organization.v20210331.QuitOrganization", async function () {
try {
const data = await client.QuitOrganization({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.BindOrganizationPolicySubAccount", async function () {
try {
const data = await client.BindOrganizationPolicySubAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListGroupMembers", async function () {
try {
const data = await client.ListGroupMembers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListOrganizationIdentity", async function () {
try {
const data = await client.ListOrganizationIdentity({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.AddOrganizationNode", async function () {
try {
const data = await client.AddOrganizationNode({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateOrganizationMemberEmailBind", async function () {
try {
const data = await client.UpdateOrganizationMemberEmailBind({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.RemovePermissionPolicyFromRoleConfiguration", async function () {
try {
const data = await client.RemovePermissionPolicyFromRoleConfiguration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateSCIMCredentialStatus", async function () {
try {
const data = await client.UpdateSCIMCredentialStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateUser", async function () {
try {
const data = await client.UpdateUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateOrgServiceAssign", async function () {
try {
const data = await client.CreateOrgServiceAssign({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeEffectivePolicy", async function () {
try {
const data = await client.DescribeEffectivePolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.GetUser", async function () {
try {
const data = await client.GetUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.OpenIdentityCenter", async function () {
try {
const data = await client.OpenIdentityCenter({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteUser", async function () {
try {
const data = await client.DeleteUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.GetRoleConfiguration", async function () {
try {
const data = await client.GetRoleConfiguration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateOrganizationMember", async function () {
try {
const data = await client.CreateOrganizationMember({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeOrganizationMemberEmailBind", async function () {
try {
const data = await client.DescribeOrganizationMemberEmailBind({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteShareUnitResources", async function () {
try {
const data = await client.DeleteShareUnitResources({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListTasks", async function () {
try {
const data = await client.ListTasks({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.RemoveUserFromGroup", async function () {
try {
const data = await client.RemoveUserFromGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeOrganizationFinancialByProduct", async function () {
try {
const data = await client.DescribeOrganizationFinancialByProduct({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeOrganizationNodes", async function () {
try {
const data = await client.DescribeOrganizationNodes({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateUser", async function () {
try {
const data = await client.CreateUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListExternalSAMLIdPCertificates", async function () {
try {
const data = await client.ListExternalSAMLIdPCertificates({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.RemoveExternalSAMLIdPCertificate", async function () {
try {
const data = await client.RemoveExternalSAMLIdPCertificate({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CheckAccountDelete", async function () {
try {
const data = await client.CheckAccountDelete({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeOrganizationMembers", async function () {
try {
const data = await client.DescribeOrganizationMembers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateRoleAssignment", async function () {
try {
const data = await client.CreateRoleAssignment({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateRoleConfiguration", async function () {
try {
const data = await client.CreateRoleConfiguration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CancelOrganizationPolicySubAccount", async function () {
try {
const data = await client.CancelOrganizationPolicySubAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.AcceptJoinShareUnitInvitation", async function () {
try {
const data = await client.AcceptJoinShareUnitInvitation({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListUsers", async function () {
try {
const data = await client.ListUsers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribePolicy", async function () {
try {
const data = await client.DescribePolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.GetExternalSAMLIdentityProvider", async function () {
try {
const data = await client.GetExternalSAMLIdentityProvider({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ClearExternalSAMLIdentityProvider", async function () {
try {
const data = await client.ClearExternalSAMLIdentityProvider({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateOrganizationIdentity", async function () {
try {
const data = await client.UpdateOrganizationIdentity({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ProvisionRoleConfiguration", async function () {
try {
const data = await client.ProvisionRoleConfiguration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CancelOrganizationMemberAuthAccount", async function () {
try {
const data = await client.CancelOrganizationMemberAuthAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeOrganizationFinancialByMember", async function () {
try {
const data = await client.DescribeOrganizationFinancialByMember({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.GetGroup", async function () {
try {
const data = await client.GetGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteRoleAssignment", async function () {
try {
const data = await client.DeleteRoleAssignment({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateOrganizationMembersPolicy", async function () {
try {
const data = await client.CreateOrganizationMembersPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.MoveOrganizationNodeMembers", async function () {
try {
const data = await client.MoveOrganizationNodeMembers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateZone", async function () {
try {
const data = await client.UpdateZone({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateOrganizationIdentity", async function () {
try {
const data = await client.CreateOrganizationIdentity({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.AddOrganizationMemberEmail", async function () {
try {
const data = await client.AddOrganizationMemberEmail({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteShareUnitMembers", async function () {
try {
const data = await client.DeleteShareUnitMembers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListJoinedGroupsForUser", async function () {
try {
const data = await client.ListJoinedGroupsForUser({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListPermissionPoliciesInRoleConfiguration", async function () {
try {
const data = await client.ListPermissionPoliciesInRoleConfiguration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.AddShareUnit", async function () {
try {
const data = await client.AddShareUnit({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeOrganizationMemberAuthAccounts", async function () {
try {
const data = await client.DescribeOrganizationMemberAuthAccounts({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListRoleConfigurationProvisionings", async function () {
try {
const data = await client.ListRoleConfigurationProvisionings({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.AddShareUnitMembers", async function () {
try {
const data = await client.AddShareUnitMembers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribePolicyConfig", async function () {
try {
const data = await client.DescribePolicyConfig({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdatePolicy", async function () {
try {
const data = await client.UpdatePolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeShareUnits", async function () {
try {
const data = await client.DescribeShareUnits({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListUserSyncProvisionings", async function () {
try {
const data = await client.ListUserSyncProvisionings({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateUserStatus", async function () {
try {
const data = await client.UpdateUserStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DisablePolicyType", async function () {
try {
const data = await client.DisablePolicyType({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateUserSyncProvisioning", async function () {
try {
const data = await client.CreateUserSyncProvisioning({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.AddPermissionPolicyToRoleConfiguration", async function () {
try {
const data = await client.AddPermissionPolicyToRoleConfiguration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteOrganizationMembersPolicy", async function () {
try {
const data = await client.DeleteOrganizationMembersPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeletePolicy", async function () {
try {
const data = await client.DeletePolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateOrganizationMembersPolicy", async function () {
try {
const data = await client.UpdateOrganizationMembersPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateGroup", async function () {
try {
const data = await client.CreateGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeShareUnitMembers", async function () {
try {
const data = await client.DescribeShareUnitMembers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DismantleRoleConfiguration", async function () {
try {
const data = await client.DismantleRoleConfiguration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteShareUnit", async function () {
try {
const data = await client.DeleteShareUnit({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteOrganizationMembers", async function () {
try {
const data = await client.DeleteOrganizationMembers({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListOrgServiceAssignMember", async function () {
try {
const data = await client.ListOrgServiceAssignMember({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.RejectJoinShareUnitInvitation", async function () {
try {
const data = await client.RejectJoinShareUnitInvitation({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListNonCompliantResource", async function () {
try {
const data = await client.ListNonCompliantResource({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteGroup", async function () {
try {
const data = await client.DeleteGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.GetSCIMSynchronizationStatus", async function () {
try {
const data = await client.GetSCIMSynchronizationStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.SetExternalSAMLIdentityProvider", async function () {
try {
const data = await client.SetExternalSAMLIdentityProvider({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteOrganization", async function () {
try {
const data = await client.DeleteOrganization({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListPoliciesForTarget", async function () {
try {
const data = await client.ListPoliciesForTarget({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteSCIMCredential", async function () {
try {
const data = await client.DeleteSCIMCredential({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateUserSyncProvisioning", async function () {
try {
const data = await client.UpdateUserSyncProvisioning({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.GetUserSyncProvisioning", async function () {
try {
const data = await client.GetUserSyncProvisioning({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeOrganization", async function () {
try {
const data = await client.DescribeOrganization({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateSCIMSynchronizationStatus", async function () {
try {
const data = await client.UpdateSCIMSynchronizationStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListGroups", async function () {
try {
const data = await client.ListGroups({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeShareUnitResources", async function () {
try {
const data = await client.DescribeShareUnitResources({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.BindOrganizationMemberAuthAccount", async function () {
try {
const data = await client.BindOrganizationMemberAuthAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateGroup", async function () {
try {
const data = await client.UpdateGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreatePolicy", async function () {
try {
const data = await client.CreatePolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.GetProvisioningTaskStatus", async function () {
try {
const data = await client.GetProvisioningTaskStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateOrganizationNode", async function () {
try {
const data = await client.UpdateOrganizationNode({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateShareUnit", async function () {
try {
const data = await client.UpdateShareUnit({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateOrganizationMember", async function () {
try {
const data = await client.UpdateOrganizationMember({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeOrganizationAuthNode", async function () {
try {
const data = await client.DescribeOrganizationAuthNode({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeIdentityCenter", async function () {
try {
const data = await client.DescribeIdentityCenter({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateSCIMCredential", async function () {
try {
const data = await client.CreateSCIMCredential({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeOrganizationMemberAuthIdentities", async function () {
try {
const data = await client.DescribeOrganizationMemberAuthIdentities({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.SendOrgMemberAccountBindEmail", async function () {
try {
const data = await client.SendOrgMemberAccountBindEmail({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.GetZoneStatistics", async function () {
try {
const data = await client.GetZoneStatistics({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DetachPolicy", async function () {
try {
const data = await client.DetachPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListSCIMCredentials", async function () {
try {
const data = await client.ListSCIMCredentials({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateOrganizationMemberAuthIdentity", async function () {
try {
const data = await client.CreateOrganizationMemberAuthIdentity({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeOrganizationFinancialByMonth", async function () {
try {
const data = await client.DescribeOrganizationFinancialByMonth({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteAccount", async function () {
try {
const data = await client.DeleteAccount({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteOrganizationNodes", async function () {
try {
const data = await client.DeleteOrganizationNodes({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListRoleAssignments", async function () {
try {
const data = await client.ListRoleAssignments({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeOrganizationMemberPolicies", async function () {
try {
const data = await client.DescribeOrganizationMemberPolicies({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteUserSyncProvisioning", async function () {
try {
const data = await client.DeleteUserSyncProvisioning({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateRoleConfiguration", async function () {
try {
const data = await client.UpdateRoleConfiguration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListRoleConfigurations", async function () {
try {
const data = await client.ListRoleConfigurations({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.InviteOrganizationMember", async function () {
try {
const data = await client.InviteOrganizationMember({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.AddShareUnitResources", async function () {
try {
const data = await client.AddShareUnitResources({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.AttachPolicy", async function () {
try {
const data = await client.AttachPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DescribeShareAreas", async function () {
try {
const data = await client.DescribeShareAreas({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.AddUserToGroup", async function () {
try {
const data = await client.AddUserToGroup({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteRoleConfiguration", async function () {
try {
const data = await client.DeleteRoleConfiguration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateOrganization", async function () {
try {
const data = await client.CreateOrganization({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.AddExternalSAMLIdPCertificate", async function () {
try {
const data = await client.AddExternalSAMLIdPCertificate({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteOrgServiceAssign", async function () {
try {
const data = await client.DeleteOrgServiceAssign({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteOrganizationIdentity", async function () {
try {
const data = await client.DeleteOrganizationIdentity({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.EnablePolicyType", async function () {
try {
const data = await client.EnablePolicyType({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.GetZoneSAMLServiceProviderInfo", async function () {
try {
const data = await client.GetZoneSAMLServiceProviderInfo({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListTargetsForPolicy", async function () {
try {
const data = await client.ListTargetsForPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListPolicies", async function () {
try {
const data = await client.ListPolicies({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.GetTaskStatus", async function () {
try {
const data = await client.GetTaskStatus({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.CreateOrganizationMemberPolicy", async function () {
try {
const data = await client.CreateOrganizationMemberPolicy({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.ListOrganizationService", async function () {
try {
const data = await client.ListOrganizationService({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.UpdateCustomPolicyForRoleConfiguration", async function () {
try {
const data = await client.UpdateCustomPolicyForRoleConfiguration({})
expect(data).to.be.ok
} catch(error) {
expect(error.requestId).to.be.ok
expect(error.code).to.be.ok
}
})
it("organization.v20210331.DeleteOrganizationMemberAuthIdentity", async function () {
try {
const data = await client.DeleteOrganizationMemberAuthIdentity({})
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

搜索帮助