@ucloud-sdks/ucloud-sdk-js 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.js +63 -14
- package/lib/services/ulb/index.d.ts +3626 -861
- package/lib/services/ulb/index.js +261 -18
- package/lib/services/ulight_host/index.d.ts +824 -0
- package/lib/services/ulight_host/index.js +151 -0
- package/package.json +1 -1
package/lib/services/index.d.ts
CHANGED
package/lib/services/index.js
CHANGED
|
@@ -18,6 +18,7 @@ const UFSClient = require('./ufs').default;
|
|
|
18
18
|
const UHostClient = require('./uhost').default;
|
|
19
19
|
const UK8SClient = require('./uk8s').default;
|
|
20
20
|
const ULBClient = require('./ulb').default;
|
|
21
|
+
const ULightHostClient = require('./ulight_host').default;
|
|
21
22
|
const UMemClient = require('./umem').default;
|
|
22
23
|
const UNetClient = require('./unet').default;
|
|
23
24
|
const UPhoneClient = require('./uphone').default;
|
|
@@ -30,7 +31,10 @@ class Client extends BaseClient {
|
|
|
30
31
|
super({ config, credential });
|
|
31
32
|
}
|
|
32
33
|
cube() {
|
|
33
|
-
return new CubeClient({
|
|
34
|
+
return new CubeClient({
|
|
35
|
+
config: this.config,
|
|
36
|
+
credential: this.credential,
|
|
37
|
+
});
|
|
34
38
|
}
|
|
35
39
|
ipsecvpn() {
|
|
36
40
|
return new IPSecVPNClient({
|
|
@@ -57,13 +61,22 @@ class Client extends BaseClient {
|
|
|
57
61
|
});
|
|
58
62
|
}
|
|
59
63
|
ucdn() {
|
|
60
|
-
return new UCDNClient({
|
|
64
|
+
return new UCDNClient({
|
|
65
|
+
config: this.config,
|
|
66
|
+
credential: this.credential,
|
|
67
|
+
});
|
|
61
68
|
}
|
|
62
69
|
udb() {
|
|
63
|
-
return new UDBClient({
|
|
70
|
+
return new UDBClient({
|
|
71
|
+
config: this.config,
|
|
72
|
+
credential: this.credential,
|
|
73
|
+
});
|
|
64
74
|
}
|
|
65
75
|
uddb() {
|
|
66
|
-
return new UDDBClient({
|
|
76
|
+
return new UDDBClient({
|
|
77
|
+
config: this.config,
|
|
78
|
+
credential: this.credential,
|
|
79
|
+
});
|
|
67
80
|
}
|
|
68
81
|
udisk() {
|
|
69
82
|
return new UDiskClient({
|
|
@@ -72,10 +85,16 @@ class Client extends BaseClient {
|
|
|
72
85
|
});
|
|
73
86
|
}
|
|
74
87
|
udpn() {
|
|
75
|
-
return new UDPNClient({
|
|
88
|
+
return new UDPNClient({
|
|
89
|
+
config: this.config,
|
|
90
|
+
credential: this.credential,
|
|
91
|
+
});
|
|
76
92
|
}
|
|
77
93
|
uec() {
|
|
78
|
-
return new UECClient({
|
|
94
|
+
return new UECClient({
|
|
95
|
+
config: this.config,
|
|
96
|
+
credential: this.credential,
|
|
97
|
+
});
|
|
79
98
|
}
|
|
80
99
|
ufile() {
|
|
81
100
|
return new UFileClient({
|
|
@@ -84,7 +103,10 @@ class Client extends BaseClient {
|
|
|
84
103
|
});
|
|
85
104
|
}
|
|
86
105
|
ufs() {
|
|
87
|
-
return new UFSClient({
|
|
106
|
+
return new UFSClient({
|
|
107
|
+
config: this.config,
|
|
108
|
+
credential: this.credential,
|
|
109
|
+
});
|
|
88
110
|
}
|
|
89
111
|
uhost() {
|
|
90
112
|
return new UHostClient({
|
|
@@ -93,16 +115,34 @@ class Client extends BaseClient {
|
|
|
93
115
|
});
|
|
94
116
|
}
|
|
95
117
|
uk8s() {
|
|
96
|
-
return new UK8SClient({
|
|
118
|
+
return new UK8SClient({
|
|
119
|
+
config: this.config,
|
|
120
|
+
credential: this.credential,
|
|
121
|
+
});
|
|
97
122
|
}
|
|
98
123
|
ulb() {
|
|
99
|
-
return new ULBClient({
|
|
124
|
+
return new ULBClient({
|
|
125
|
+
config: this.config,
|
|
126
|
+
credential: this.credential,
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
ulight_host() {
|
|
130
|
+
return new ULightHostClient({
|
|
131
|
+
config: this.config,
|
|
132
|
+
credential: this.credential,
|
|
133
|
+
});
|
|
100
134
|
}
|
|
101
135
|
umem() {
|
|
102
|
-
return new UMemClient({
|
|
136
|
+
return new UMemClient({
|
|
137
|
+
config: this.config,
|
|
138
|
+
credential: this.credential,
|
|
139
|
+
});
|
|
103
140
|
}
|
|
104
141
|
unet() {
|
|
105
|
-
return new UNetClient({
|
|
142
|
+
return new UNetClient({
|
|
143
|
+
config: this.config,
|
|
144
|
+
credential: this.credential,
|
|
145
|
+
});
|
|
106
146
|
}
|
|
107
147
|
uphone() {
|
|
108
148
|
return new UPhoneClient({
|
|
@@ -117,13 +157,22 @@ class Client extends BaseClient {
|
|
|
117
157
|
});
|
|
118
158
|
}
|
|
119
159
|
usms() {
|
|
120
|
-
return new USMSClient({
|
|
160
|
+
return new USMSClient({
|
|
161
|
+
config: this.config,
|
|
162
|
+
credential: this.credential,
|
|
163
|
+
});
|
|
121
164
|
}
|
|
122
165
|
uvms() {
|
|
123
|
-
return new UVMSClient({
|
|
166
|
+
return new UVMSClient({
|
|
167
|
+
config: this.config,
|
|
168
|
+
credential: this.credential,
|
|
169
|
+
});
|
|
124
170
|
}
|
|
125
171
|
vpc() {
|
|
126
|
-
return new VPCClient({
|
|
172
|
+
return new VPCClient({
|
|
173
|
+
config: this.config,
|
|
174
|
+
credential: this.credential,
|
|
175
|
+
});
|
|
127
176
|
}
|
|
128
177
|
}
|
|
129
178
|
exports.Client = Client;
|