@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.
@@ -22,6 +22,7 @@ export declare class Client extends BaseClient {
22
22
  uhost(): any;
23
23
  uk8s(): any;
24
24
  ulb(): any;
25
+ ulight_host(): any;
25
26
  umem(): any;
26
27
  unet(): any;
27
28
  uphone(): any;
@@ -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({ config: this.config, credential: this.credential });
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({ config: this.config, credential: this.credential });
64
+ return new UCDNClient({
65
+ config: this.config,
66
+ credential: this.credential,
67
+ });
61
68
  }
62
69
  udb() {
63
- return new UDBClient({ config: this.config, credential: this.credential });
70
+ return new UDBClient({
71
+ config: this.config,
72
+ credential: this.credential,
73
+ });
64
74
  }
65
75
  uddb() {
66
- return new UDDBClient({ config: this.config, credential: this.credential });
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({ config: this.config, credential: this.credential });
88
+ return new UDPNClient({
89
+ config: this.config,
90
+ credential: this.credential,
91
+ });
76
92
  }
77
93
  uec() {
78
- return new UECClient({ config: this.config, credential: this.credential });
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({ config: this.config, credential: this.credential });
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({ config: this.config, credential: this.credential });
118
+ return new UK8SClient({
119
+ config: this.config,
120
+ credential: this.credential,
121
+ });
97
122
  }
98
123
  ulb() {
99
- return new ULBClient({ config: this.config, credential: this.credential });
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({ config: this.config, credential: this.credential });
136
+ return new UMemClient({
137
+ config: this.config,
138
+ credential: this.credential,
139
+ });
103
140
  }
104
141
  unet() {
105
- return new UNetClient({ config: this.config, credential: this.credential });
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({ config: this.config, credential: this.credential });
160
+ return new USMSClient({
161
+ config: this.config,
162
+ credential: this.credential,
163
+ });
121
164
  }
122
165
  uvms() {
123
- return new UVMSClient({ config: this.config, credential: this.credential });
166
+ return new UVMSClient({
167
+ config: this.config,
168
+ credential: this.credential,
169
+ });
124
170
  }
125
171
  vpc() {
126
- return new VPCClient({ config: this.config, credential: this.credential });
172
+ return new VPCClient({
173
+ config: this.config,
174
+ credential: this.credential,
175
+ });
127
176
  }
128
177
  }
129
178
  exports.Client = Client;