perf: 支持京东云dns申请证书

This commit is contained in:
xiaojunnuo
2025-04-02 23:13:55 +08:00
parent 8145808c43
commit 04d79f9117
280 changed files with 421914 additions and 51 deletions
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Quota
* 关于高可用组配额的接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'ag'
Service._services[serviceId] = true
/**
* ag service.
*/
JDCloud.AG = class AG {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'ag'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.AG
@@ -0,0 +1,120 @@
module.exports = {
RDTS: require('./rdts'),
VQD: require('./vqd'),
SMARTDBA: require('./smartdba'),
DMS: require('./dms'),
STREAMCOMPUTER: require('./streamcomputer'),
FLOWLOG: require('./flowlog'),
SSL: require('./ssl'),
OSS: require('./oss'),
REDIS: require('./redis'),
DOMAINSERVICE: require('./domainservice'),
BILLING: require('./billing'),
GCS: require('./gcs'),
QUOTA: require('./quota'),
BRI: require('./bri'),
EDCPS: require('./edcps'),
BASTION: require('./bastion'),
PORTAL: require('./portal'),
ORDER: require('./order'),
CLOUDDNSSERVICE: require('./clouddnsservice'),
AG: require('./ag'),
INSTANCEVOUCHER: require('./instancevoucher'),
CDN: require('./cdn'),
IV: require('./iv'),
STREAMBUS: require('./streambus'),
APIGATEWAY: require('./apigateway'),
MPS: require('./mps'),
STS: require('./sts'),
KAFKA: require('./kafka'),
DOMAIN: require('./domain'),
NATIVECONTAINER: require('./nativecontainer'),
PRIVATEZONE: require('./privatezone'),
STARSHIELD: require('./starshield'),
REFUND: require('./refund'),
EID: require('./eid'),
POD: require('./pod'),
JKE: require('./jke'),
DATASTAR: require('./datastar'),
USERPOOL: require('./userpool'),
KMS: require('./kms'),
ELITE: require('./elite'),
IAM: require('./iam'),
IOTHUB: require('./iothub'),
SMS: require('./sms'),
JCQ: require('./jcq'),
RESOURCETAG: require('./resourcetag'),
IAS: require('./ias'),
JDFUSION: require('./jdfusion'),
DETECTION: require('./detection'),
RENEWAL: require('./renewal'),
IOTLINK: require('./iotlink'),
YUNDING: require('./yunding'),
CP: require('./cp'),
CR: require('./cr'),
PIPELINE: require('./pipeline'),
CONTAINERREGISTRY: require('./containerregistry'),
PARTNER: require('./partner'),
LB: require('./lb'),
IOTCARD: require('./iotcard'),
CENSOR: require('./censor'),
INDUSTRYDATA: require('./industrydata'),
JDW: require('./jdw'),
ASSET: require('./asset'),
AUTOTASKPOLICY: require('./autotaskpolicy'),
RDS: require('./rds'),
KUBERNETES: require('./kubernetes'),
DH: require('./dh'),
TIDB: require('./tidb'),
IPANTI: require('./ipanti'),
ANTIPRO: require('./antipro'),
JMR: require('./jmr'),
DEPLOY: require('./deploy'),
COMPILE: require('./compile'),
SOP: require('./sop'),
CAPTCHA: require('./captcha'),
FUNCTION: require('./function'),
RESERVEDINSTANCE: require('./reservedinstance'),
RMS: require('./rms'),
LOGS: require('./logs'),
JDCCS: require('./jdccs'),
IOTEDGE: require('./iotedge'),
CPS: require('./cps'),
DBAUDIT: require('./dbaudit'),
HUFU: require('./hufu'),
ES: require('./es'),
HTTPDNS: require('./httpdns'),
DISK: require('./disk'),
DBS: require('./dbs'),
NC: require('./nc'),
YDSMS: require('./ydsms'),
CLICKHOUSE: require('./clickhouse'),
VM: require('./vm'),
FC: require('./fc'),
DCAP: require('./dcap'),
CLOUDAUTH: require('./cloudauth'),
IOTCORE: require('./iotcore'),
AMS: require('./ams'),
JDRO: require('./jdro'),
ZFS: require('./zfs'),
VOD: require('./vod'),
YUNDINGDATAPUSH: require('./yundingdatapush'),
OSSOPENAPI: require('./ossopenapi'),
BGW: require('./bgw'),
CLOUDSIGN: require('./cloudsign'),
BASEANTI: require('./baseanti'),
MONGODB: require('./mongodb'),
WAF: require('./waf'),
LIVE: require('./live'),
LAVM: require('./lavm'),
JDWORKSPACE: require('./jdworkspace'),
DTS: require('./dts'),
ASSISTANT: require('./assistant'),
VPC: require('./vpc'),
MONITOR: require('./monitor'),
XDATA: require('./xdata'),
OPENJRTC: require('./openjrtc'),
IOTCLOUDGATEWAY: require('./iotcloudgateway'),
INVOICE: require('./invoice'),
USER: require('./user')
}
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 应用管理平台API (仅对授权用户使用)
* 应用管理平台API
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'ams'
Service._services[serviceId] = true
/**
* ams service.
*/
JDCloud.AMS = class AMS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'ams'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.AMS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Operation Records APIs
* Anti DDoS Protection Package Operation Records APIs
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'antipro'
Service._services[serviceId] = true
/**
* antipro service.
*/
JDCloud.ANTIPRO = class ANTIPRO {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'antipro'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.ANTIPRO
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 自定义域名
* api 自定义域名 service
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'apigateway'
Service._services[serviceId] = true
/**
* apigateway service.
*/
JDCloud.APIGATEWAY = class APIGATEWAY {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'apigateway'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.APIGATEWAY
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* JDCLOUD asset API
* API JDCLOUD asset API
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'asset'
Service._services[serviceId] = true
/**
* asset service.
*/
JDCloud.ASSET = class ASSET {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'asset'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.ASSET
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* LogConfig
* 用户日志相关配置
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'assistant'
Service._services[serviceId] = true
/**
* assistant service.
*/
JDCloud.ASSISTANT = class ASSISTANT {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'assistant'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.ASSISTANT
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 配额
* 与配额相关的接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'autotaskpolicy'
Service._services[serviceId] = true
/**
* autotaskpolicy service.
*/
JDCloud.AUTOTASKPOLICY = class AUTOTASKPOLICY {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'autotaskpolicy'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.AUTOTASKPOLICY
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* IP Resource APIs
* Anti DDoS Basic IP Resource APIs
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'baseanti'
Service._services[serviceId] = true
/**
* baseanti service.
*/
JDCloud.BASEANTI = class BASEANTI {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'baseanti'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.BASEANTI
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* statistics
* 堡垒机规格分布数量信息
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'bastion'
Service._services[serviceId] = true
/**
* bastion service.
*/
JDCloud.BASTION = class BASTION {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'bastion'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.BASTION
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* instances
* 续费查询实例信息接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'bgw'
Service._services[serviceId] = true
/**
* bgw service.
*/
JDCloud.BGW = class BGW {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'bgw'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.BGW
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 停删规则
* 停删规则
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'billing'
Service._services[serviceId] = true
/**
* billing service.
*/
JDCloud.BILLING = class BILLING {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'billing'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.BILLING
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 页面测试检测接口
* 京东云信用评分-OpenAPI页面测试检测接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'bri'
Service._services[serviceId] = true
/**
* bri service.
*/
JDCloud.BRI = class BRI {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'bri'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.BRI
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 运营后台类接口
* 京东云验证码-OpenAPI应用管理类接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'captcha'
Service._services[serviceId] = true
/**
* captcha service.
*/
JDCloud.CAPTCHA = class CAPTCHA {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'captcha'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.CAPTCHA
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* SCDN相关接口
* Openapi For JCLOUD cdn
*
* OpenAPI spec version: v1
* Contact: pid-cdn@jd.com
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'cdn'
Service._services[serviceId] = true
/**
* cdn service.
*/
JDCloud.CDN = class CDN {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'cdn'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.CDN
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 站点检测类接口
* 京东云内容安全-OpenAPI站点检测类接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'censor'
Service._services[serviceId] = true
/**
* censor service.
*/
JDCloud.CENSOR = class CENSOR {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'censor'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.CENSOR
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 白名单
* 白名单相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'clickhouse'
Service._services[serviceId] = true
/**
* clickhouse service.
*/
JDCloud.CLICKHOUSE = class CLICKHOUSE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'clickhouse'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.CLICKHOUSE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 用户管理接口
* 实名认证-用户管理接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'cloudauth'
Service._services[serviceId] = true
/**
* cloudauth service.
*/
JDCloud.CLOUDAUTH = class CLOUDAUTH {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'cloudauth'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.CLOUDAUTH
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 实例信息
* 云解析OpenAPI实例信息接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'clouddnsservice'
Service._services[serviceId] = true
/**
* clouddnsservice service.
*/
JDCloud.CLOUDDNSSERVICE = class CLOUDDNSSERVICE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'clouddnsservice'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.CLOUDDNSSERVICE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* OLD合同模板管理接口
* OLD合同模板管理接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'cloudsign'
Service._services[serviceId] = true
/**
* cloudsign service.
*/
JDCloud.CLOUDSIGN = class CLOUDSIGN {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'cloudsign'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.CLOUDSIGN
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* code api
* API related to build
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'compile'
Service._services[serviceId] = true
/**
* compile service.
*/
JDCloud.COMPILE = class COMPILE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'compile'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.COMPILE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Repository
* 容器镜像仓库相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'containerregistry'
Service._services[serviceId] = true
/**
* containerregistry service.
*/
JDCloud.CONTAINERREGISTRY = class CONTAINERREGISTRY {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'containerregistry'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.CONTAINERREGISTRY
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Partner UserAuth Management
* Partner UserAuth Management API
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'cp'
Service._services[serviceId] = true
/**
* cp service.
*/
JDCloud.CP = class CP {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'cp'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.CP
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Cloud-Physical-Server
* 云物理服务器私有网络操作相关的接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'cps'
Service._services[serviceId] = true
/**
* cps service.
*/
JDCloud.CPS = class CPS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'cps'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.CPS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Repository
* 容器镜像仓库相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'cr'
Service._services[serviceId] = true
/**
* cr service.
*/
JDCloud.CR = class CR {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'cr'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.CR
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 大屏数据查询接口
* 陕西苹果大屏数据查询接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'datastar'
Service._services[serviceId] = true
/**
* datastar service.
*/
JDCloud.DATASTAR = class DATASTAR {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'datastar'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.DATASTAR
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Rule Interface
* Rule Interface
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'dbaudit'
Service._services[serviceId] = true
/**
* dbaudit service.
*/
JDCloud.DBAUDIT = class DBAUDIT {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'dbaudit'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.DBAUDIT
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 数据库备份服务
* 数据库备份服务接口
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'dbs'
Service._services[serviceId] = true
/**
* dbs service.
*/
JDCloud.DBS = class DBS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'dbs'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.DBS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* UserPackage
* 敏感数据保护-用户套餐相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'dcap'
Service._services[serviceId] = true
/**
* dcap service.
*/
JDCloud.DCAP = class DCAP {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'dcap'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.DCAP
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 依赖
* 云部署依赖相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'deploy'
Service._services[serviceId] = true
/**
* deploy service.
*/
JDCloud.DEPLOY = class DEPLOY {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'deploy'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.DEPLOY
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Task related APIs
* 云拔测-任务相关接口
*
* OpenAPI spec version: v3
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'detection'
Service._services[serviceId] = true
/**
* detection service.
*/
JDCloud.DETECTION = class DETECTION {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'detection'
let version = config.version || JDCloud.config.version
let versionFlag = 'v3'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.DETECTION
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Quota
* 与配额相关的接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'dh'
Service._services[serviceId] = true
/**
* dh service.
*/
JDCloud.DH = class DH {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'dh'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.DH
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 售罄相关接口
* 查询售罄情况
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'disk'
Service._services[serviceId] = true
/**
* disk service.
*/
JDCloud.DISK = class DISK {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'disk'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.DISK
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* DmsView
* 视图相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'dms'
Service._services[serviceId] = true
/**
* dms service.
*/
JDCloud.DMS = class DMS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'dms'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.DMS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Domain-Template
* 域名模板相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'domain'
Service._services[serviceId] = true
/**
* domain service.
*/
JDCloud.DOMAIN = class DOMAIN {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'domain'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.DOMAIN
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 实例信息
* 云解析OpenAPI实例信息接口
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'domainservice'
Service._services[serviceId] = true
/**
* domainservice service.
*/
JDCloud.DOMAINSERVICE = class DOMAINSERVICE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'domainservice'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.DOMAINSERVICE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 数据传输服务
* 数据传输服务相关接口
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'dts'
Service._services[serviceId] = true
/**
* dts service.
*/
JDCloud.DTS = class DTS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'dts'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.DTS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Distributed-Cloud-Physical-Server
* 分布式云物理服务器私有网络操作相关的接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'edcps'
Service._services[serviceId] = true
/**
* edcps service.
*/
JDCloud.EDCPS = class EDCPS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'edcps'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.EDCPS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 页面测试检测接口
* 京东云信用评分-OpenAPI页面测试检测接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'eid'
Service._services[serviceId] = true
/**
* eid service.
*/
JDCloud.EID = class EID {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'eid'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.EID
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* elite云存服务相关接口
* elite云存服务相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'elite'
Service._services[serviceId] = true
/**
* elite service.
*/
JDCloud.ELITE = class ELITE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'elite'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.ELITE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* ES Snapshot API
* es快照创建、查询,自动快照的设置、查询接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'es'
Service._services[serviceId] = true
/**
* es service.
*/
JDCloud.ES = class ES {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'es'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.ES
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Trigger
* Trigger 相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'fc'
Service._services[serviceId] = true
/**
* fc service.
*/
JDCloud.FC = class FC {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'fc'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.FC
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Quota
* 配额的相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'flowlog'
Service._services[serviceId] = true
/**
* flowlog service.
*/
JDCloud.FLOWLOG = class FLOWLOG {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'flowlog'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.FLOWLOG
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Function OpenAPI
*
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'function'
Service._services[serviceId] = true
/**
* function service.
*/
JDCloud.FUNCTION = class FUNCTION {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'function'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.FUNCTION
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* GPU-Computing-Service
* GPU算力服务网盘相关的接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'gcs'
Service._services[serviceId] = true
/**
* gcs service.
*/
JDCloud.GCS = class GCS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'gcs'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.GCS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 域名
* httpdns OpenAPI域名接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'httpdns'
Service._services[serviceId] = true
/**
* httpdns service.
*/
JDCloud.HTTPDNS = class HTTPDNS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'httpdns'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.HTTPDNS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* hufu-wx
* 虎符商业化相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'hufu'
Service._services[serviceId] = true
/**
* hufu service.
*/
JDCloud.HUFU = class HUFU {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'hufu'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.HUFU
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* User Management
* User Management API
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'iam'
Service._services[serviceId] = true
/**
* iam service.
*/
JDCloud.IAM = class IAM {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'iam'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.IAM
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* JDCLOUD IAS Services API
* 京东云联合登陆Api
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'ias'
Service._services[serviceId] = true
/**
* ias service.
*/
JDCloud.IAS = class IAS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'ias'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.IAS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 大屏数据查询接口
* 陕西苹果大屏数据查询接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'industrydata'
Service._services[serviceId] = true
/**
* industrydata service.
*/
JDCloud.INDUSTRYDATA = class INDUSTRYDATA {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'industrydata'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.INDUSTRYDATA
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Instance-Voucher
* 实例抵扣券相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'instancevoucher'
Service._services[serviceId] = true
/**
* instancevoucher service.
*/
JDCloud.INSTANCEVOUCHER = class INSTANCEVOUCHER {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'instancevoucher'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.INSTANCEVOUCHER
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* JDCLOUD Invoice API
* 京东云发票
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'invoice'
Service._services[serviceId] = true
/**
* invoice service.
*/
JDCloud.INVOICE = class INVOICE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'invoice'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.INVOICE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* iot-card-Related-API
* 物联网卡服务相关API
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'iotcard'
Service._services[serviceId] = true
/**
* iotcard service.
*/
JDCloud.IOTCARD = class IOTCARD {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'iotcard'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.IOTCARD
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* iotcloudgateway开通接口
* 用户开通iotcloudgateway服务相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'iotcloudgateway'
Service._services[serviceId] = true
/**
* iotcloudgateway service.
*/
JDCloud.IOTCLOUDGATEWAY = class IOTCLOUDGATEWAY {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'iotcloudgateway'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.IOTCLOUDGATEWAY
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* IoTHubInstance
* IoT Hub共享模式和独享模式共用接口
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'iotcore'
Service._services[serviceId] = true
/**
* iotcore service.
*/
JDCloud.IOTCORE = class IOTCORE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'iotcore'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.IOTCORE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* EdgeSubDeviceManager
* iotcore-Edge子设备管理
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'iotedge'
Service._services[serviceId] = true
/**
* iotedge service.
*/
JDCloud.IOTEDGE = class IOTEDGE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'iotedge'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.IOTEDGE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* IoTHubInstance
* IoT Hub共享模式和独享模式共用接口
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'iothub'
Service._services[serviceId] = true
/**
* iothub service.
*/
JDCloud.IOTHUB = class IOTHUB {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'iothub'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.IOTHUB
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Iotlink-Related-API
* 物联网卡服务相关API
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'iotlink'
Service._services[serviceId] = true
/**
* iotlink service.
*/
JDCloud.IOTLINK = class IOTLINK {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'iotlink'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.IOTLINK
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Anti DDoS Pro Web Rule Configuration APIs
* Anti DDoS Pro Web Rule Configuration APIs
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'ipanti'
Service._services[serviceId] = true
/**
* ipanti service.
*/
JDCloud.IPANTI = class IPANTI {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'ipanti'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.IPANTI
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Vi Template
* 视频审查模板管理相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'iv'
Service._services[serviceId] = true
/**
* iv service.
*/
JDCloud.IV = class IV {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'iv'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.IV
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Topic
* Topic相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'jcq'
Service._services[serviceId] = true
/**
* jcq service.
*/
JDCloud.JCQ = class JCQ {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'jcq'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.JCQ
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Ticket API
* 云托管服务的工单API
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'jdccs'
Service._services[serviceId] = true
/**
* jdccs service.
*/
JDCloud.JDCCS = class JDCCS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'jdccs'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.JDCCS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Vpc-VserverGroup
* 与服务器组相关的接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'jdfusion'
Service._services[serviceId] = true
/**
* jdfusion service.
*/
JDCloud.JDFUSION = class JDFUSION {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'jdfusion'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.JDFUSION
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Template
* Interface of Template
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'jdro'
Service._services[serviceId] = true
/**
* jdro service.
*/
JDCloud.JDRO = class JDRO {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'jdro'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.JDRO
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 实例管理
* 实例管理相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'jdw'
Service._services[serviceId] = true
/**
* jdw service.
*/
JDCloud.JDW = class JDW {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'jdw'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.JDW
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* JDCLOUD 态势感知续费管理 API
* 态势感知续费管理相关信息接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'jdworkspace'
Service._services[serviceId] = true
/**
* jdworkspace service.
*/
JDCloud.JDWORKSPACE = class JDWORKSPACE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'jdworkspace'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.JDWORKSPACE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 配额
* k8s 集群配额相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'jke'
Service._services[serviceId] = true
/**
* jke service.
*/
JDCloud.JKE = class JKE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'jke'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.JKE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 集群管理
* JMR集群管理相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'jmr'
Service._services[serviceId] = true
/**
* jmr service.
*/
JDCloud.JMR = class JMR {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'jmr'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.JMR
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* kafka topic 相关接口
* kafka topic 相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'kafka'
Service._services[serviceId] = true
/**
* kafka service.
*/
JDCloud.KAFKA = class KAFKA {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'kafka'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.KAFKA
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Statistics Service
* 基于硬件保护密钥的安全数据托管服务
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'kms'
Service._services[serviceId] = true
/**
* kms service.
*/
JDCloud.KMS = class KMS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'kms'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.KMS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* ServerlessCluster
* Serverless集群相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'kubernetes'
Service._services[serviceId] = true
/**
* kubernetes service.
*/
JDCloud.KUBERNETES = class KUBERNETES {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'kubernetes'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.KUBERNETES
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* quota
* 轻量应用云主机配额模型的相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'lavm'
Service._services[serviceId] = true
/**
* lavm service.
*/
JDCloud.LAVM = class LAVM {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'lavm'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.LAVM
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Forwarding-Rules-Group
* 转发规则组相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'lb'
Service._services[serviceId] = true
/**
* lb service.
*/
JDCloud.LB = class LB {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'lb'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.LB
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Live-Video
* 直播管理API
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'live'
Service._services[serviceId] = true
/**
* live service.
*/
JDCloud.LIVE = class LIVE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'live'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.LIVE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* WebConf APIs
* 日志服务webconf相关的管理控制接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'logs'
Service._services[serviceId] = true
/**
* logs service.
*/
JDCloud.LOGS = class LOGS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'logs'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.LOGS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 安全管理
* API related to MONGODB security
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'mongodb'
Service._services[serviceId] = true
/**
* mongodb service.
*/
JDCloud.MONGODB = class MONGODB {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'mongodb'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.MONGODB
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* maintainAuxiliaryTags APIs
* 一组资源增加删除标签
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'monitor'
Service._services[serviceId] = true
/**
* monitor service.
*/
JDCloud.MONITOR = class MONITOR {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'monitor'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.MONITOR
@@ -0,0 +1,55 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 监控项相关接口
* 监控项相关接口,提供自定义监控数据上报功能
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'monitorcm'
Service._services[serviceId] = true
/**
* monitorcm service.
*/
JDCloud.MONITORCM = class MONITORCM {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'monitorcm'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
if (!this.service) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.MONITORCM
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 媒体处理相关接口
* 多媒体处理服务API,包括截图、转码、媒体处理消息通知等操作。本文档详细说明了媒体处理API及用法,适合开发人员阅读。
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'mps'
Service._services[serviceId] = true
/**
* mps service.
*/
JDCloud.MPS = class MPS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'mps'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.MPS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 用户设置
* 查询用户设置接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'nativecontainer'
Service._services[serviceId] = true
/**
* nativecontainer service.
*/
JDCloud.NATIVECONTAINER = class NATIVECONTAINER {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'nativecontainer'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.NATIVECONTAINER
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 镜像仓库认证信息
* 关于镜像仓库认证信息的相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'nc'
Service._services[serviceId] = true
/**
* nc service.
*/
JDCloud.NC = class NC {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'nc'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.NC
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* UserRoom
* 用户房间号管理
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'openjrtc'
Service._services[serviceId] = true
/**
* openjrtc service.
*/
JDCloud.OPENJRTC = class OPENJRTC {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'openjrtc'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.OPENJRTC
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 相关接口
* API related to order
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'order'
Service._services[serviceId] = true
/**
* order service.
*/
JDCloud.ORDER = class ORDER {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'order'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.ORDER
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* OSS相关接口
* OSS相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'oss'
Service._services[serviceId] = true
/**
* oss service.
*/
JDCloud.OSS = class OSS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'oss'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.OSS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* vpc policy openapi v1
* vpc policy openapi v1
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'ossopenapi'
Service._services[serviceId] = true
/**
* ossopenapi service.
*/
JDCloud.OSSOPENAPI = class OSSOPENAPI {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'ossopenapi'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.OSSOPENAPI
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 合作信息管理
* 合作信息管理
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'partner'
Service._services[serviceId] = true
/**
* partner service.
*/
JDCloud.PARTNER = class PARTNER {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'partner'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.PARTNER
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* tools
* API OF tools Create|Update|Read|Delete|Execute
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'pipeline'
Service._services[serviceId] = true
/**
* pipeline service.
*/
JDCloud.PIPELINE = class PIPELINE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'pipeline'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.PIPELINE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 用户设置
* 查询用户设置接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'pod'
Service._services[serviceId] = true
/**
* pod service.
*/
JDCloud.POD = class POD {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'pod'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.POD
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* search
* 搜索相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'portal'
Service._services[serviceId] = true
/**
* portal service.
*/
JDCloud.PORTAL = class PORTAL {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'portal'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.PORTAL
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 私有域名zone
* 私有域名zone API
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'privatezone'
Service._services[serviceId] = true
/**
* privatezone service.
*/
JDCloud.PRIVATEZONE = class PRIVATEZONE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'privatezone'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.PRIVATEZONE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* JDCLOUD remote quota API
* API JDCLOUD remote quota API
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'quota'
Service._services[serviceId] = true
/**
* quota service.
*/
JDCloud.QUOTA = class QUOTA {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'quota'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.QUOTA
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 白名单
* 白名单相关接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'rds'
Service._services[serviceId] = true
/**
* rds service.
*/
JDCloud.RDS = class RDS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'rds'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.RDS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* operation
* 查询异步请求结果
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'rdts'
Service._services[serviceId] = true
/**
* rdts service.
*/
JDCloud.RDTS = class RDTS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'rdts'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.RDTS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Redis SpecConfig API
* 缓存Redis实例规格配置接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'redis'
Service._services[serviceId] = true
/**
* redis service.
*/
JDCloud.REDIS = class REDIS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'redis'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.REDIS
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* 退款策略中心
* 退款策略中心接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'refund'
Service._services[serviceId] = true
/**
* refund service.
*/
JDCloud.REFUND = class REFUND {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'refund'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.REFUND
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Renew Management APIs
* 续费管理相关接口
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'renewal'
Service._services[serviceId] = true
/**
* renewal service.
*/
JDCloud.RENEWAL = class RENEWAL {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'renewal'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.RENEWAL
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* sysConfig APIs
* 系统参数配置
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'reservedinstance'
Service._services[serviceId] = true
/**
* reservedinstance service.
*/
JDCloud.RESERVEDINSTANCE = class RESERVEDINSTANCE {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'reservedinstance'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.RESERVEDINSTANCE
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Resource-Tag-APIs
* 资源标签接口
*
* OpenAPI spec version: v1
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'resourcetag'
Service._services[serviceId] = true
/**
* resourcetag service.
*/
JDCloud.RESOURCETAG = class RESOURCETAG {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'resourcetag'
let version = config.version || JDCloud.config.version
let versionFlag = 'v1'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.RESOURCETAG
@@ -0,0 +1,56 @@
/*
* Copyright 2018 JDCLOUD.COM
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:#www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* Message-Content-APIs
* 富媒体模板内容创建、查询相关接口
*
* OpenAPI spec version: v2
* Contact:
*
* NOTE: This class is auto generated by the jdcloud code generator program.
*/
const JDCloud = require('../lib/core')
var Service = JDCloud.Service
var serviceId = 'rms'
Service._services[serviceId] = true
/**
* rms service.
*/
JDCloud.RMS = class RMS {
constructor (config = {}) {
this.init(config)
return new this.service(config)
}
init (config) {
let serviceName = 'rms'
let version = config.version || JDCloud.config.version
let versionFlag = 'v2'
if (version && version[serviceName]) {
versionFlag = version[serviceName]
}
try {
this.service = require(`../repo/${serviceName}/${versionFlag}/${serviceName}`)
} catch (e) {
throw new Error(
`The version '${versionFlag}' of API ${serviceName} is undefined!`
)
}
}
}
module.exports = JDCloud.RMS

Some files were not shown because too many files have changed in this diff Show More