tencentcloud-sdk-nodejs 4.0.988 → 4.0.989
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/CHANGELOG.md +246 -0
- package/SERVICE_CHANGELOG.md +325 -115
- package/package.json +1 -1
- package/products.md +21 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/aiart/v20221229/aiart_client.ts +15 -2
- package/src/services/aiart/v20221229/aiart_models.ts +109 -46
- package/src/services/cam/v20190116/cam_client.ts +12 -0
- package/src/services/cam/v20190116/cam_models.ts +59 -26
- package/src/services/cfg/v20210820/cfg_models.ts +4 -0
- package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +18 -18
- package/src/services/cvm/v20170312/cvm_models.ts +24 -24
- package/src/services/es/v20180416/es_models.ts +50 -7
- package/src/services/mps/v20190612/mps_models.ts +5 -0
- package/src/services/mqtt/v20240516/mqtt_client.ts +151 -103
- package/src/services/mqtt/v20240516/mqtt_models.ts +202 -48
- package/src/services/ocr/v20181119/ocr_client.ts +1 -0
- package/src/services/ocr/v20181119/ocr_models.ts +72 -0
- package/src/services/postgres/v20170312/postgres_models.ts +3 -3
- package/src/services/sts/v20180813/sts_models.ts +3 -3
- package/src/services/tse/v20201207/tse_client.ts +73 -21
- package/src/services/tse/v20201207/tse_models.ts +322 -68
- package/src/services/vdb/v20230616/vdb_models.ts +3 -0
- package/src/services/vpc/v20170312/vpc_models.ts +4 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.d.ts +6 -1
- package/tencentcloud/services/aiart/v20221229/aiart_client.js +7 -0
- package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +107 -46
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +5 -1
- package/tencentcloud/services/cam/v20190116/cam_client.js +6 -0
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +57 -26
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +4 -0
- package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +18 -18
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +24 -24
- package/tencentcloud/services/es/v20180416/es_models.d.ts +50 -7
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +5 -0
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.d.ts +57 -41
- package/tencentcloud/services/mqtt/v20240516/mqtt_client.js +84 -60
- package/tencentcloud/services/mqtt/v20240516/mqtt_models.d.ts +194 -48
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +71 -0
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +3 -3
- package/tencentcloud/services/sts/v20180813/sts_models.d.ts +3 -3
- package/tencentcloud/services/tse/v20201207/tse_client.d.ts +23 -7
- package/tencentcloud/services/tse/v20201207/tse_client.js +33 -9
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +310 -68
- package/tencentcloud/services/vdb/v20230616/vdb_models.d.ts +3 -0
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
- package/test/aiart.v20221229.test.js +10 -0
- package/test/cam.v20190116.test.js +10 -0
- package/test/mqtt.v20240516.test.js +80 -40
- package/test/tse.v20201207.test.js +46 -6
|
@@ -351,6 +351,54 @@ export interface DescribePublicNetworkResult {
|
|
|
351
351
|
PublicNetwork?: CloudNativeAPIGatewayConfig
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
+
/**
|
|
355
|
+
* 网关数据来源单个描述
|
|
356
|
+
*/
|
|
357
|
+
export interface NativeGatewayServiceSourceItem {
|
|
358
|
+
/**
|
|
359
|
+
* 网关实例ID
|
|
360
|
+
*/
|
|
361
|
+
GatewayID: string
|
|
362
|
+
/**
|
|
363
|
+
* 服务来源ID
|
|
364
|
+
*/
|
|
365
|
+
SourceID: string
|
|
366
|
+
/**
|
|
367
|
+
* 服务来源名称
|
|
368
|
+
*/
|
|
369
|
+
SourceName: string
|
|
370
|
+
/**
|
|
371
|
+
* 服务来源类型
|
|
372
|
+
*/
|
|
373
|
+
SourceType: string
|
|
374
|
+
/**
|
|
375
|
+
* 服务来源额外信息
|
|
376
|
+
*/
|
|
377
|
+
SourceInfo: SourceInfo
|
|
378
|
+
/**
|
|
379
|
+
* 创建时间
|
|
380
|
+
*/
|
|
381
|
+
CreateTime: string
|
|
382
|
+
/**
|
|
383
|
+
* 修改时间
|
|
384
|
+
*/
|
|
385
|
+
ModifyTime: string
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* CreateNativeGatewayServiceSource返回参数结构体
|
|
390
|
+
*/
|
|
391
|
+
export interface CreateNativeGatewayServiceSourceResponse {
|
|
392
|
+
/**
|
|
393
|
+
* 创建是否成功
|
|
394
|
+
*/
|
|
395
|
+
Result?: boolean
|
|
396
|
+
/**
|
|
397
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
398
|
+
*/
|
|
399
|
+
RequestId?: string
|
|
400
|
+
}
|
|
401
|
+
|
|
354
402
|
/**
|
|
355
403
|
* CreateCloudNativeAPIGatewayService请求参数结构体
|
|
356
404
|
*/
|
|
@@ -964,46 +1012,24 @@ export interface KongTarget {
|
|
|
964
1012
|
}
|
|
965
1013
|
|
|
966
1014
|
/**
|
|
967
|
-
*
|
|
1015
|
+
* 实例鉴权信息
|
|
968
1016
|
*/
|
|
969
|
-
export interface
|
|
1017
|
+
export interface SourceInstanceAuth {
|
|
970
1018
|
/**
|
|
971
|
-
*
|
|
972
|
-
*/
|
|
973
|
-
Name: string
|
|
974
|
-
/**
|
|
975
|
-
* 角色
|
|
976
|
-
*/
|
|
977
|
-
Role: string
|
|
978
|
-
/**
|
|
979
|
-
* 状态
|
|
980
|
-
*/
|
|
981
|
-
Status: string
|
|
982
|
-
/**
|
|
983
|
-
* 子网ID
|
|
1019
|
+
* 用户名
|
|
984
1020
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
985
1021
|
*/
|
|
986
|
-
|
|
1022
|
+
Username?: string
|
|
987
1023
|
/**
|
|
988
|
-
*
|
|
1024
|
+
* 账户密码
|
|
989
1025
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
990
1026
|
*/
|
|
991
|
-
|
|
992
|
-
/**
|
|
993
|
-
* 可用区ID
|
|
994
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
995
|
-
*/
|
|
996
|
-
ZoneId: string
|
|
997
|
-
/**
|
|
998
|
-
* 别名
|
|
999
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1000
|
-
*/
|
|
1001
|
-
AliasName: string
|
|
1027
|
+
Password?: string
|
|
1002
1028
|
/**
|
|
1003
|
-
*
|
|
1029
|
+
* 访问凭据 token
|
|
1004
1030
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1005
1031
|
*/
|
|
1006
|
-
|
|
1032
|
+
AccessToken?: string
|
|
1007
1033
|
}
|
|
1008
1034
|
|
|
1009
1035
|
/**
|
|
@@ -1501,21 +1527,43 @@ export interface ModifyNetworkAccessStrategyResponse {
|
|
|
1501
1527
|
}
|
|
1502
1528
|
|
|
1503
1529
|
/**
|
|
1504
|
-
*
|
|
1530
|
+
* ModifyAutoScalerResourceStrategy请求参数结构体
|
|
1505
1531
|
*/
|
|
1506
|
-
export interface
|
|
1532
|
+
export interface ModifyAutoScalerResourceStrategyRequest {
|
|
1507
1533
|
/**
|
|
1508
|
-
*
|
|
1534
|
+
* 网关实例ID
|
|
1509
1535
|
*/
|
|
1510
|
-
|
|
1536
|
+
GatewayId: string
|
|
1511
1537
|
/**
|
|
1512
|
-
*
|
|
1538
|
+
* 策略ID
|
|
1513
1539
|
*/
|
|
1514
|
-
|
|
1540
|
+
StrategyId: string
|
|
1515
1541
|
/**
|
|
1516
|
-
*
|
|
1542
|
+
* 策略名称
|
|
1517
1543
|
*/
|
|
1518
|
-
|
|
1544
|
+
StrategyName?: string
|
|
1545
|
+
/**
|
|
1546
|
+
* 策略描述
|
|
1547
|
+
*/
|
|
1548
|
+
Description?: string
|
|
1549
|
+
/**
|
|
1550
|
+
* 指标伸缩配置
|
|
1551
|
+
*/
|
|
1552
|
+
Config?: CloudNativeAPIGatewayStrategyAutoScalerConfig
|
|
1553
|
+
/**
|
|
1554
|
+
* 定时伸缩配置
|
|
1555
|
+
* @deprecated
|
|
1556
|
+
*/
|
|
1557
|
+
CronScalerConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig
|
|
1558
|
+
/**
|
|
1559
|
+
* 最大节点数
|
|
1560
|
+
* @deprecated
|
|
1561
|
+
*/
|
|
1562
|
+
MaxReplicas?: number
|
|
1563
|
+
/**
|
|
1564
|
+
* 指标伸缩配置
|
|
1565
|
+
*/
|
|
1566
|
+
CronConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig
|
|
1519
1567
|
}
|
|
1520
1568
|
|
|
1521
1569
|
/**
|
|
@@ -2497,6 +2545,20 @@ export interface ApolloEnvParam {
|
|
|
2497
2545
|
EnvDesc?: string
|
|
2498
2546
|
}
|
|
2499
2547
|
|
|
2548
|
+
/**
|
|
2549
|
+
* DeleteNativeGatewayServiceSource返回参数结构体
|
|
2550
|
+
*/
|
|
2551
|
+
export interface DeleteNativeGatewayServiceSourceResponse {
|
|
2552
|
+
/**
|
|
2553
|
+
* 结果
|
|
2554
|
+
*/
|
|
2555
|
+
Result?: boolean
|
|
2556
|
+
/**
|
|
2557
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2558
|
+
*/
|
|
2559
|
+
RequestId?: string
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2500
2562
|
/**
|
|
2501
2563
|
* DescribeCloudNativeAPIGatewayServiceRateLimit请求参数结构体
|
|
2502
2564
|
*/
|
|
@@ -2731,6 +2793,43 @@ export interface DescribeCloudNativeAPIGatewayServicesResponse {
|
|
|
2731
2793
|
RequestId?: string
|
|
2732
2794
|
}
|
|
2733
2795
|
|
|
2796
|
+
/**
|
|
2797
|
+
* CreateNativeGatewayServiceSource请求参数结构体
|
|
2798
|
+
*/
|
|
2799
|
+
export interface CreateNativeGatewayServiceSourceRequest {
|
|
2800
|
+
/**
|
|
2801
|
+
* 网关实例ID
|
|
2802
|
+
*/
|
|
2803
|
+
GatewayID: string
|
|
2804
|
+
/**
|
|
2805
|
+
* 服务来源类型,参考值:
|
|
2806
|
+
- TSE-Nacos
|
|
2807
|
+
- TSE-Consul
|
|
2808
|
+
- TSE-PolarisMesh
|
|
2809
|
+
- Customer-Nacos
|
|
2810
|
+
- Customer-Consul
|
|
2811
|
+
- Customer-PolarisMesh
|
|
2812
|
+
- TSF
|
|
2813
|
+
- TKE
|
|
2814
|
+
- EKS
|
|
2815
|
+
- PrivateDNS
|
|
2816
|
+
- Customer-DNS
|
|
2817
|
+
*/
|
|
2818
|
+
SourceType: string
|
|
2819
|
+
/**
|
|
2820
|
+
* 服务来源实例ID,当SourceType的值不为PrivateDNS或Customer-DNS时,必填
|
|
2821
|
+
*/
|
|
2822
|
+
SourceID?: string
|
|
2823
|
+
/**
|
|
2824
|
+
* 服务来源实例名称,当SourceType的值不为PrivateDNS时,必填
|
|
2825
|
+
*/
|
|
2826
|
+
SourceName?: string
|
|
2827
|
+
/**
|
|
2828
|
+
* 服务来源实例额外信息
|
|
2829
|
+
*/
|
|
2830
|
+
SourceInfo?: SourceInfo
|
|
2831
|
+
}
|
|
2832
|
+
|
|
2734
2833
|
/**
|
|
2735
2834
|
* 云原生网关限流插件Qps阈值
|
|
2736
2835
|
*/
|
|
@@ -2900,6 +2999,28 @@ export interface ConfigFile {
|
|
|
2900
2999
|
ReleaseBy?: string
|
|
2901
3000
|
}
|
|
2902
3001
|
|
|
3002
|
+
/**
|
|
3003
|
+
* ModifyNativeGatewayServiceSource请求参数结构体
|
|
3004
|
+
*/
|
|
3005
|
+
export interface ModifyNativeGatewayServiceSourceRequest {
|
|
3006
|
+
/**
|
|
3007
|
+
* 网关实例ID
|
|
3008
|
+
*/
|
|
3009
|
+
GatewayID: string
|
|
3010
|
+
/**
|
|
3011
|
+
* 服务来源实例ID
|
|
3012
|
+
*/
|
|
3013
|
+
SourceID: string
|
|
3014
|
+
/**
|
|
3015
|
+
* 服务来源名称
|
|
3016
|
+
*/
|
|
3017
|
+
SourceName: string
|
|
3018
|
+
/**
|
|
3019
|
+
* 服务来源实例额外信息
|
|
3020
|
+
*/
|
|
3021
|
+
SourceInfo?: SourceInfo
|
|
3022
|
+
}
|
|
3023
|
+
|
|
2903
3024
|
/**
|
|
2904
3025
|
* Kong网关主动健康检查配置
|
|
2905
3026
|
*/
|
|
@@ -3114,6 +3235,26 @@ export interface KongCertificate {
|
|
|
3114
3235
|
Cert?: KongCertificatesPreview
|
|
3115
3236
|
}
|
|
3116
3237
|
|
|
3238
|
+
/**
|
|
3239
|
+
* 服务来源
|
|
3240
|
+
*/
|
|
3241
|
+
export interface SourceInfo {
|
|
3242
|
+
/**
|
|
3243
|
+
* 微服务引擎接入IP地址信息
|
|
3244
|
+
*/
|
|
3245
|
+
Addresses?: Array<string>
|
|
3246
|
+
/**
|
|
3247
|
+
* 微服务引擎VPC信息
|
|
3248
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3249
|
+
*/
|
|
3250
|
+
VpcInfo?: SourceInstanceVpcInfo
|
|
3251
|
+
/**
|
|
3252
|
+
* 微服务引擎鉴权信息
|
|
3253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3254
|
+
*/
|
|
3255
|
+
Auth?: SourceInstanceAuth
|
|
3256
|
+
}
|
|
3257
|
+
|
|
3117
3258
|
/**
|
|
3118
3259
|
* DeleteGovernanceInstances返回参数结构体
|
|
3119
3260
|
*/
|
|
@@ -4280,6 +4421,22 @@ export interface ModifyGovernanceNamespacesRequest {
|
|
|
4280
4421
|
GovernanceNamespaces: Array<GovernanceNamespaceInput>
|
|
4281
4422
|
}
|
|
4282
4423
|
|
|
4424
|
+
/**
|
|
4425
|
+
* 微服务引擎实例的VPC信息
|
|
4426
|
+
*/
|
|
4427
|
+
export interface SourceInstanceVpcInfo {
|
|
4428
|
+
/**
|
|
4429
|
+
* 微服务引擎VPC信息
|
|
4430
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4431
|
+
*/
|
|
4432
|
+
VpcID?: string
|
|
4433
|
+
/**
|
|
4434
|
+
* 微服务引擎子网信息
|
|
4435
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4436
|
+
*/
|
|
4437
|
+
SubnetID?: string
|
|
4438
|
+
}
|
|
4439
|
+
|
|
4283
4440
|
/**
|
|
4284
4441
|
* ModifyConfigFileGroup返回参数结构体
|
|
4285
4442
|
*/
|
|
@@ -5548,6 +5705,49 @@ export interface CreateConfigFileGroupRequest {
|
|
|
5548
5705
|
ConfigFileGroup: ConfigFileGroup
|
|
5549
5706
|
}
|
|
5550
5707
|
|
|
5708
|
+
/**
|
|
5709
|
+
* Zookeeper副本信息
|
|
5710
|
+
*/
|
|
5711
|
+
export interface ZookeeperReplica {
|
|
5712
|
+
/**
|
|
5713
|
+
* 名称
|
|
5714
|
+
*/
|
|
5715
|
+
Name: string
|
|
5716
|
+
/**
|
|
5717
|
+
* 角色
|
|
5718
|
+
*/
|
|
5719
|
+
Role: string
|
|
5720
|
+
/**
|
|
5721
|
+
* 状态
|
|
5722
|
+
*/
|
|
5723
|
+
Status: string
|
|
5724
|
+
/**
|
|
5725
|
+
* 子网ID
|
|
5726
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5727
|
+
*/
|
|
5728
|
+
SubnetId: string
|
|
5729
|
+
/**
|
|
5730
|
+
* 可用区ID
|
|
5731
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5732
|
+
*/
|
|
5733
|
+
Zone: string
|
|
5734
|
+
/**
|
|
5735
|
+
* 可用区ID
|
|
5736
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5737
|
+
*/
|
|
5738
|
+
ZoneId: string
|
|
5739
|
+
/**
|
|
5740
|
+
* 别名
|
|
5741
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5742
|
+
*/
|
|
5743
|
+
AliasName: string
|
|
5744
|
+
/**
|
|
5745
|
+
* VPC ID
|
|
5746
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5747
|
+
*/
|
|
5748
|
+
VpcId?: string
|
|
5749
|
+
}
|
|
5750
|
+
|
|
5551
5751
|
/**
|
|
5552
5752
|
* DeleteAutoScalerResourceStrategy返回参数结构体
|
|
5553
5753
|
*/
|
|
@@ -6335,6 +6535,24 @@ export interface ConfigFileTag {
|
|
|
6335
6535
|
Value?: string
|
|
6336
6536
|
}
|
|
6337
6537
|
|
|
6538
|
+
/**
|
|
6539
|
+
* DescribeNativeGatewayServiceSources返回参数结构体
|
|
6540
|
+
*/
|
|
6541
|
+
export interface DescribeNativeGatewayServiceSourcesResponse {
|
|
6542
|
+
/**
|
|
6543
|
+
* 总实例数
|
|
6544
|
+
*/
|
|
6545
|
+
Total?: number
|
|
6546
|
+
/**
|
|
6547
|
+
* 服务来源实例列表
|
|
6548
|
+
*/
|
|
6549
|
+
List?: Array<NativeGatewayServiceSourceItem>
|
|
6550
|
+
/**
|
|
6551
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6552
|
+
*/
|
|
6553
|
+
RequestId?: string
|
|
6554
|
+
}
|
|
6555
|
+
|
|
6338
6556
|
/**
|
|
6339
6557
|
* 获取云原生API网关实例列表响应结果。
|
|
6340
6558
|
*/
|
|
@@ -6770,6 +6988,40 @@ export interface CreatePublicNetworkResult {
|
|
|
6770
6988
|
NetworkId?: string
|
|
6771
6989
|
}
|
|
6772
6990
|
|
|
6991
|
+
/**
|
|
6992
|
+
* DescribeNativeGatewayServiceSources请求参数结构体
|
|
6993
|
+
*/
|
|
6994
|
+
export interface DescribeNativeGatewayServiceSourcesRequest {
|
|
6995
|
+
/**
|
|
6996
|
+
* 网关实例ID
|
|
6997
|
+
*/
|
|
6998
|
+
GatewayID: string
|
|
6999
|
+
/**
|
|
7000
|
+
* 单页条数,最大100
|
|
7001
|
+
*/
|
|
7002
|
+
Limit: number
|
|
7003
|
+
/**
|
|
7004
|
+
* 分页偏移量
|
|
7005
|
+
*/
|
|
7006
|
+
Offset: number
|
|
7007
|
+
/**
|
|
7008
|
+
* 服务来源实例名称,模糊搜索
|
|
7009
|
+
*/
|
|
7010
|
+
SourceName?: string
|
|
7011
|
+
/**
|
|
7012
|
+
* 微服务引擎类型:TSE-Nacos|TSE-Consul|TSE-PolarisMesh|Customer-Nacos|Customer-Consul|Customer-PolarisMesh
|
|
7013
|
+
*/
|
|
7014
|
+
SourceTypes?: Array<string>
|
|
7015
|
+
/**
|
|
7016
|
+
* 排序字段类型,当前仅支持SourceName
|
|
7017
|
+
*/
|
|
7018
|
+
OrderField?: string
|
|
7019
|
+
/**
|
|
7020
|
+
* 排序类型,AES/DESC
|
|
7021
|
+
*/
|
|
7022
|
+
OrderType?: string
|
|
7023
|
+
}
|
|
7024
|
+
|
|
6773
7025
|
/**
|
|
6774
7026
|
* CLB多可用区信息
|
|
6775
7027
|
*/
|
|
@@ -7819,43 +8071,21 @@ export interface Filter {
|
|
|
7819
8071
|
}
|
|
7820
8072
|
|
|
7821
8073
|
/**
|
|
7822
|
-
*
|
|
8074
|
+
* RestartSREInstance请求参数结构体
|
|
7823
8075
|
*/
|
|
7824
|
-
export interface
|
|
7825
|
-
/**
|
|
7826
|
-
* 网关实例ID
|
|
7827
|
-
*/
|
|
7828
|
-
GatewayId: string
|
|
7829
|
-
/**
|
|
7830
|
-
* 策略ID
|
|
7831
|
-
*/
|
|
7832
|
-
StrategyId: string
|
|
7833
|
-
/**
|
|
7834
|
-
* 策略名称
|
|
7835
|
-
*/
|
|
7836
|
-
StrategyName?: string
|
|
7837
|
-
/**
|
|
7838
|
-
* 策略描述
|
|
7839
|
-
*/
|
|
7840
|
-
Description?: string
|
|
7841
|
-
/**
|
|
7842
|
-
* 指标伸缩配置
|
|
7843
|
-
*/
|
|
7844
|
-
Config?: CloudNativeAPIGatewayStrategyAutoScalerConfig
|
|
8076
|
+
export interface RestartSREInstanceRequest {
|
|
7845
8077
|
/**
|
|
7846
|
-
*
|
|
7847
|
-
* @deprecated
|
|
8078
|
+
* 微服务引擎实例Id
|
|
7848
8079
|
*/
|
|
7849
|
-
|
|
8080
|
+
InstanceId: string
|
|
7850
8081
|
/**
|
|
7851
|
-
*
|
|
7852
|
-
* @deprecated
|
|
8082
|
+
* 重启的环境类型(PROD,DEV,UAT等)
|
|
7853
8083
|
*/
|
|
7854
|
-
|
|
8084
|
+
EnvTypes?: Array<string>
|
|
7855
8085
|
/**
|
|
7856
|
-
*
|
|
8086
|
+
* 指定需要重启的实例节点(当前仅支持zk单节点重启)
|
|
7857
8087
|
*/
|
|
7858
|
-
|
|
8088
|
+
NodeName?: string
|
|
7859
8089
|
}
|
|
7860
8090
|
|
|
7861
8091
|
/**
|
|
@@ -7896,6 +8126,20 @@ export interface DescribeOneCloudNativeAPIGatewayServiceResponse {
|
|
|
7896
8126
|
RequestId?: string
|
|
7897
8127
|
}
|
|
7898
8128
|
|
|
8129
|
+
/**
|
|
8130
|
+
* DeleteNativeGatewayServiceSource请求参数结构体
|
|
8131
|
+
*/
|
|
8132
|
+
export interface DeleteNativeGatewayServiceSourceRequest {
|
|
8133
|
+
/**
|
|
8134
|
+
* 网关实例 ID
|
|
8135
|
+
*/
|
|
8136
|
+
GatewayID: string
|
|
8137
|
+
/**
|
|
8138
|
+
* 服务来源实例 ID
|
|
8139
|
+
*/
|
|
8140
|
+
SourceID: string
|
|
8141
|
+
}
|
|
8142
|
+
|
|
7899
8143
|
/**
|
|
7900
8144
|
* RestartSREInstance返回参数结构体
|
|
7901
8145
|
*/
|
|
@@ -8022,6 +8266,16 @@ export interface KongServices {
|
|
|
8022
8266
|
TotalCount?: number
|
|
8023
8267
|
}
|
|
8024
8268
|
|
|
8269
|
+
/**
|
|
8270
|
+
* ModifyNativeGatewayServiceSource返回参数结构体
|
|
8271
|
+
*/
|
|
8272
|
+
export interface ModifyNativeGatewayServiceSourceResponse {
|
|
8273
|
+
/**
|
|
8274
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8275
|
+
*/
|
|
8276
|
+
RequestId?: string
|
|
8277
|
+
}
|
|
8278
|
+
|
|
8025
8279
|
/**
|
|
8026
8280
|
* 创建网关分组信息
|
|
8027
8281
|
*/
|
|
@@ -432,16 +432,19 @@ export interface InstanceInfo {
|
|
|
432
432
|
/**
|
|
433
433
|
* 健康得分。
|
|
434
434
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
435
|
+
* @deprecated
|
|
435
436
|
*/
|
|
436
437
|
HealthScore?: number
|
|
437
438
|
/**
|
|
438
439
|
* 异常告警。
|
|
439
440
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
441
|
+
* @deprecated
|
|
440
442
|
*/
|
|
441
443
|
Warning?: number
|
|
442
444
|
/**
|
|
443
445
|
* 所属项目。
|
|
444
446
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
447
|
+
* @deprecated
|
|
445
448
|
*/
|
|
446
449
|
Project?: string
|
|
447
450
|
/**
|
|
@@ -9506,6 +9506,10 @@ export interface CreateVpcEndPointServiceRequest {
|
|
|
9506
9506
|
* 挂载的PAAS服务类型,CLB,CDB,CRS,不填默认挂载为CLB。
|
|
9507
9507
|
*/
|
|
9508
9508
|
ServiceType?: string
|
|
9509
|
+
/**
|
|
9510
|
+
* 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
9511
|
+
*/
|
|
9512
|
+
Tags?: Array<Tag>
|
|
9509
9513
|
}
|
|
9510
9514
|
|
|
9511
9515
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.989";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { SubmitDrawPortraitJobResponse, ImageToImageRequest, QueryTextToImageProJobResponse, UploadTrainPortraitImagesRequest, QueryTrainPortraitModelJobRequest,
|
|
3
|
+
import { SubmitDrawPortraitJobResponse, ImageToImageRequest, QueryTextToImageProJobResponse, UploadTrainPortraitImagesRequest, QueryTrainPortraitModelJobRequest, ChangeClothesRequest, ReplaceBackgroundResponse, ImageOutpaintingRequest, SubmitTextToImageProJobRequest, QueryDrawPortraitJobResponse, QueryTrainPortraitModelJobResponse, ChangeClothesResponse, SubmitTextToImageProJobResponse, SubmitTrainPortraitModelJobRequest, SketchToImageRequest, TextToImageRequest, GenerateAvatarRequest, ImageInpaintingRemovalResponse, SubmitTrainPortraitModelJobResponse, QueryDrawPortraitJobRequest, ImageToImageResponse, SketchToImageResponse, ImageInpaintingRemovalRequest, ReplaceBackgroundRequest, ImageOutpaintingResponse, UploadTrainPortraitImagesResponse, QueryTextToImageProJobRequest, GenerateAvatarResponse, TextToImageResponse, SubmitDrawPortraitJobRequest } from "./aiart_models";
|
|
4
4
|
/**
|
|
5
5
|
* aiart client
|
|
6
6
|
* @class
|
|
@@ -106,6 +106,11 @@ export declare class Client extends AbstractClient {
|
|
|
106
106
|
并发任务数(并发)说明:并发任务数指能同时处理的任务数量。文生图(高级版)默认提供1个并发任务数,代表最多能同时处理1个已提交的任务,上一个任务处理完毕后才能开始处理下一个任务。
|
|
107
107
|
*/
|
|
108
108
|
QueryTextToImageProJob(req: QueryTextToImageProJobRequest, cb?: (error: string, rep: QueryTextToImageProJobResponse) => void): Promise<QueryTextToImageProJobResponse>;
|
|
109
|
+
/**
|
|
110
|
+
* 消除补全接口通过图像 mask 指定需要消除的人、物、文字等区域,在选定区域对图像内容进行消除与重绘补全。
|
|
111
|
+
默认提供1个并发,代表最多能同时处理1个已提交的任务。
|
|
112
|
+
*/
|
|
113
|
+
ImageInpaintingRemoval(req: ImageInpaintingRemovalRequest, cb?: (error: string, rep: ImageInpaintingRemovalResponse) => void): Promise<ImageInpaintingRemovalResponse>;
|
|
109
114
|
/**
|
|
110
115
|
* 上传正面全身模特照和服装平铺图,生成模特换装后的图片。
|
|
111
116
|
生成的换装图片分辨率和模特照分辨率一致。
|
|
@@ -150,6 +150,13 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
150
150
|
async QueryTextToImageProJob(req, cb) {
|
|
151
151
|
return this.request("QueryTextToImageProJob", req, cb);
|
|
152
152
|
}
|
|
153
|
+
/**
|
|
154
|
+
* 消除补全接口通过图像 mask 指定需要消除的人、物、文字等区域,在选定区域对图像内容进行消除与重绘补全。
|
|
155
|
+
默认提供1个并发,代表最多能同时处理1个已提交的任务。
|
|
156
|
+
*/
|
|
157
|
+
async ImageInpaintingRemoval(req, cb) {
|
|
158
|
+
return this.request("ImageInpaintingRemoval", req, cb);
|
|
159
|
+
}
|
|
153
160
|
/**
|
|
154
161
|
* 上传正面全身模特照和服装平铺图,生成模特换装后的图片。
|
|
155
162
|
生成的换装图片分辨率和模特照分辨率一致。
|