@ucloud-sdks/ucloud-sdk-js 0.2.33 → 0.2.35
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 +2 -0
- package/lib/services/index.js +14 -0
- package/lib/services/ukms/index.d.ts +5 -1
- package/lib/services/ulogservice/index.d.ts +917 -0
- package/lib/services/ulogservice/index.js +169 -0
- package/lib/services/upfs/index.d.ts +342 -0
- package/lib/services/upfs/index.js +79 -0
- package/package.json +1 -1
package/lib/services/index.d.ts
CHANGED
package/lib/services/index.js
CHANGED
|
@@ -29,9 +29,11 @@ const UKafkaClient = require('./ukafka').default;
|
|
|
29
29
|
const UKMSClient = require('./ukms').default;
|
|
30
30
|
const ULBClient = require('./ulb').default;
|
|
31
31
|
const ULightHostClient = require('./ulight_host').default;
|
|
32
|
+
const ULogServiceClient = require('./ulogservice').default;
|
|
32
33
|
const UMemClient = require('./umem').default;
|
|
33
34
|
const UMongoDBClient = require('./umongodb').default;
|
|
34
35
|
const UNetClient = require('./unet').default;
|
|
36
|
+
const UPFSClient = require('./upfs').default;
|
|
35
37
|
const UPhoneClient = require('./uphone').default;
|
|
36
38
|
const UPHostClient = require('./uphost').default;
|
|
37
39
|
const USMSClient = require('./usms').default;
|
|
@@ -204,6 +206,12 @@ class Client extends BaseClient {
|
|
|
204
206
|
credential: this.credential,
|
|
205
207
|
});
|
|
206
208
|
}
|
|
209
|
+
ulogservice() {
|
|
210
|
+
return new ULogServiceClient({
|
|
211
|
+
config: this.config,
|
|
212
|
+
credential: this.credential,
|
|
213
|
+
});
|
|
214
|
+
}
|
|
207
215
|
umem() {
|
|
208
216
|
return new UMemClient({
|
|
209
217
|
config: this.config,
|
|
@@ -222,6 +230,12 @@ class Client extends BaseClient {
|
|
|
222
230
|
credential: this.credential,
|
|
223
231
|
});
|
|
224
232
|
}
|
|
233
|
+
upfs() {
|
|
234
|
+
return new UPFSClient({
|
|
235
|
+
config: this.config,
|
|
236
|
+
credential: this.credential,
|
|
237
|
+
});
|
|
238
|
+
}
|
|
225
239
|
uphone() {
|
|
226
240
|
return new UPhoneClient({
|
|
227
241
|
config: this.config,
|
|
@@ -716,7 +716,7 @@ export interface GetKeyRotationStatusRequest {
|
|
|
716
716
|
/**
|
|
717
717
|
* UKMS 实例资源 ID。
|
|
718
718
|
*/
|
|
719
|
-
ResourceId
|
|
719
|
+
ResourceId: string;
|
|
720
720
|
}
|
|
721
721
|
/**
|
|
722
722
|
* GetKeyRotationStatus - 查询密钥自动轮转状态。
|
|
@@ -742,6 +742,10 @@ export interface GetKeyRotationStatusResponse {
|
|
|
742
742
|
* 按需轮转开始时间,Unix 时间戳。
|
|
743
743
|
*/
|
|
744
744
|
OnDemandRotationStartDate?: number;
|
|
745
|
+
/**
|
|
746
|
+
* 最后一次轮转时间,Unix 时间戳。
|
|
747
|
+
*/
|
|
748
|
+
LastRotationDate?: number;
|
|
745
749
|
}
|
|
746
750
|
/**
|
|
747
751
|
* GetPublicKey - 获取非对称密钥的公钥。
|