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
|
@@ -317,6 +317,52 @@ export interface DescribePublicNetworkResult {
|
|
|
317
317
|
*/
|
|
318
318
|
PublicNetwork?: CloudNativeAPIGatewayConfig;
|
|
319
319
|
}
|
|
320
|
+
/**
|
|
321
|
+
* 网关数据来源单个描述
|
|
322
|
+
*/
|
|
323
|
+
export interface NativeGatewayServiceSourceItem {
|
|
324
|
+
/**
|
|
325
|
+
* 网关实例ID
|
|
326
|
+
*/
|
|
327
|
+
GatewayID: string;
|
|
328
|
+
/**
|
|
329
|
+
* 服务来源ID
|
|
330
|
+
*/
|
|
331
|
+
SourceID: string;
|
|
332
|
+
/**
|
|
333
|
+
* 服务来源名称
|
|
334
|
+
*/
|
|
335
|
+
SourceName: string;
|
|
336
|
+
/**
|
|
337
|
+
* 服务来源类型
|
|
338
|
+
*/
|
|
339
|
+
SourceType: string;
|
|
340
|
+
/**
|
|
341
|
+
* 服务来源额外信息
|
|
342
|
+
*/
|
|
343
|
+
SourceInfo: SourceInfo;
|
|
344
|
+
/**
|
|
345
|
+
* 创建时间
|
|
346
|
+
*/
|
|
347
|
+
CreateTime: string;
|
|
348
|
+
/**
|
|
349
|
+
* 修改时间
|
|
350
|
+
*/
|
|
351
|
+
ModifyTime: string;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* CreateNativeGatewayServiceSource返回参数结构体
|
|
355
|
+
*/
|
|
356
|
+
export interface CreateNativeGatewayServiceSourceResponse {
|
|
357
|
+
/**
|
|
358
|
+
* 创建是否成功
|
|
359
|
+
*/
|
|
360
|
+
Result?: boolean;
|
|
361
|
+
/**
|
|
362
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
363
|
+
*/
|
|
364
|
+
RequestId?: string;
|
|
365
|
+
}
|
|
320
366
|
/**
|
|
321
367
|
* CreateCloudNativeAPIGatewayService请求参数结构体
|
|
322
368
|
*/
|
|
@@ -910,46 +956,24 @@ export interface KongTarget {
|
|
|
910
956
|
Tags?: Array<string>;
|
|
911
957
|
}
|
|
912
958
|
/**
|
|
913
|
-
*
|
|
959
|
+
* 实例鉴权信息
|
|
914
960
|
*/
|
|
915
|
-
export interface
|
|
916
|
-
/**
|
|
917
|
-
* 名称
|
|
918
|
-
*/
|
|
919
|
-
Name: string;
|
|
920
|
-
/**
|
|
921
|
-
* 角色
|
|
922
|
-
*/
|
|
923
|
-
Role: string;
|
|
924
|
-
/**
|
|
925
|
-
* 状态
|
|
926
|
-
*/
|
|
927
|
-
Status: string;
|
|
928
|
-
/**
|
|
929
|
-
* 子网ID
|
|
930
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
931
|
-
*/
|
|
932
|
-
SubnetId: string;
|
|
933
|
-
/**
|
|
934
|
-
* 可用区ID
|
|
935
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
936
|
-
*/
|
|
937
|
-
Zone: string;
|
|
961
|
+
export interface SourceInstanceAuth {
|
|
938
962
|
/**
|
|
939
|
-
*
|
|
963
|
+
* 用户名
|
|
940
964
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
941
965
|
*/
|
|
942
|
-
|
|
966
|
+
Username?: string;
|
|
943
967
|
/**
|
|
944
|
-
*
|
|
968
|
+
* 账户密码
|
|
945
969
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
946
970
|
*/
|
|
947
|
-
|
|
971
|
+
Password?: string;
|
|
948
972
|
/**
|
|
949
|
-
*
|
|
973
|
+
* 访问凭据 token
|
|
950
974
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
951
975
|
*/
|
|
952
|
-
|
|
976
|
+
AccessToken?: string;
|
|
953
977
|
}
|
|
954
978
|
/**
|
|
955
979
|
* 扩容策略
|
|
@@ -1426,21 +1450,43 @@ export interface ModifyNetworkAccessStrategyResponse {
|
|
|
1426
1450
|
RequestId?: string;
|
|
1427
1451
|
}
|
|
1428
1452
|
/**
|
|
1429
|
-
*
|
|
1453
|
+
* ModifyAutoScalerResourceStrategy请求参数结构体
|
|
1430
1454
|
*/
|
|
1431
|
-
export interface
|
|
1455
|
+
export interface ModifyAutoScalerResourceStrategyRequest {
|
|
1432
1456
|
/**
|
|
1433
|
-
*
|
|
1457
|
+
* 网关实例ID
|
|
1434
1458
|
*/
|
|
1435
|
-
|
|
1459
|
+
GatewayId: string;
|
|
1436
1460
|
/**
|
|
1437
|
-
*
|
|
1461
|
+
* 策略ID
|
|
1438
1462
|
*/
|
|
1439
|
-
|
|
1463
|
+
StrategyId: string;
|
|
1440
1464
|
/**
|
|
1441
|
-
*
|
|
1465
|
+
* 策略名称
|
|
1442
1466
|
*/
|
|
1443
|
-
|
|
1467
|
+
StrategyName?: string;
|
|
1468
|
+
/**
|
|
1469
|
+
* 策略描述
|
|
1470
|
+
*/
|
|
1471
|
+
Description?: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* 指标伸缩配置
|
|
1474
|
+
*/
|
|
1475
|
+
Config?: CloudNativeAPIGatewayStrategyAutoScalerConfig;
|
|
1476
|
+
/**
|
|
1477
|
+
* 定时伸缩配置
|
|
1478
|
+
* @deprecated
|
|
1479
|
+
*/
|
|
1480
|
+
CronScalerConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
|
|
1481
|
+
/**
|
|
1482
|
+
* 最大节点数
|
|
1483
|
+
* @deprecated
|
|
1484
|
+
*/
|
|
1485
|
+
MaxReplicas?: number;
|
|
1486
|
+
/**
|
|
1487
|
+
* 指标伸缩配置
|
|
1488
|
+
*/
|
|
1489
|
+
CronConfig?: CloudNativeAPIGatewayStrategyCronScalerConfig;
|
|
1444
1490
|
}
|
|
1445
1491
|
/**
|
|
1446
1492
|
* UnbindAutoScalerResourceStrategyFromGroups请求参数结构体
|
|
@@ -2385,6 +2431,19 @@ export interface ApolloEnvParam {
|
|
|
2385
2431
|
*/
|
|
2386
2432
|
EnvDesc?: string;
|
|
2387
2433
|
}
|
|
2434
|
+
/**
|
|
2435
|
+
* DeleteNativeGatewayServiceSource返回参数结构体
|
|
2436
|
+
*/
|
|
2437
|
+
export interface DeleteNativeGatewayServiceSourceResponse {
|
|
2438
|
+
/**
|
|
2439
|
+
* 结果
|
|
2440
|
+
*/
|
|
2441
|
+
Result?: boolean;
|
|
2442
|
+
/**
|
|
2443
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2444
|
+
*/
|
|
2445
|
+
RequestId?: string;
|
|
2446
|
+
}
|
|
2388
2447
|
/**
|
|
2389
2448
|
* DescribeCloudNativeAPIGatewayServiceRateLimit请求参数结构体
|
|
2390
2449
|
*/
|
|
@@ -2608,6 +2667,42 @@ export interface DescribeCloudNativeAPIGatewayServicesResponse {
|
|
|
2608
2667
|
*/
|
|
2609
2668
|
RequestId?: string;
|
|
2610
2669
|
}
|
|
2670
|
+
/**
|
|
2671
|
+
* CreateNativeGatewayServiceSource请求参数结构体
|
|
2672
|
+
*/
|
|
2673
|
+
export interface CreateNativeGatewayServiceSourceRequest {
|
|
2674
|
+
/**
|
|
2675
|
+
* 网关实例ID
|
|
2676
|
+
*/
|
|
2677
|
+
GatewayID: string;
|
|
2678
|
+
/**
|
|
2679
|
+
* 服务来源类型,参考值:
|
|
2680
|
+
- TSE-Nacos
|
|
2681
|
+
- TSE-Consul
|
|
2682
|
+
- TSE-PolarisMesh
|
|
2683
|
+
- Customer-Nacos
|
|
2684
|
+
- Customer-Consul
|
|
2685
|
+
- Customer-PolarisMesh
|
|
2686
|
+
- TSF
|
|
2687
|
+
- TKE
|
|
2688
|
+
- EKS
|
|
2689
|
+
- PrivateDNS
|
|
2690
|
+
- Customer-DNS
|
|
2691
|
+
*/
|
|
2692
|
+
SourceType: string;
|
|
2693
|
+
/**
|
|
2694
|
+
* 服务来源实例ID,当SourceType的值不为PrivateDNS或Customer-DNS时,必填
|
|
2695
|
+
*/
|
|
2696
|
+
SourceID?: string;
|
|
2697
|
+
/**
|
|
2698
|
+
* 服务来源实例名称,当SourceType的值不为PrivateDNS时,必填
|
|
2699
|
+
*/
|
|
2700
|
+
SourceName?: string;
|
|
2701
|
+
/**
|
|
2702
|
+
* 服务来源实例额外信息
|
|
2703
|
+
*/
|
|
2704
|
+
SourceInfo?: SourceInfo;
|
|
2705
|
+
}
|
|
2611
2706
|
/**
|
|
2612
2707
|
* 云原生网关限流插件Qps阈值
|
|
2613
2708
|
*/
|
|
@@ -2773,6 +2868,27 @@ export interface ConfigFile {
|
|
|
2773
2868
|
*/
|
|
2774
2869
|
ReleaseBy?: string;
|
|
2775
2870
|
}
|
|
2871
|
+
/**
|
|
2872
|
+
* ModifyNativeGatewayServiceSource请求参数结构体
|
|
2873
|
+
*/
|
|
2874
|
+
export interface ModifyNativeGatewayServiceSourceRequest {
|
|
2875
|
+
/**
|
|
2876
|
+
* 网关实例ID
|
|
2877
|
+
*/
|
|
2878
|
+
GatewayID: string;
|
|
2879
|
+
/**
|
|
2880
|
+
* 服务来源实例ID
|
|
2881
|
+
*/
|
|
2882
|
+
SourceID: string;
|
|
2883
|
+
/**
|
|
2884
|
+
* 服务来源名称
|
|
2885
|
+
*/
|
|
2886
|
+
SourceName: string;
|
|
2887
|
+
/**
|
|
2888
|
+
* 服务来源实例额外信息
|
|
2889
|
+
*/
|
|
2890
|
+
SourceInfo?: SourceInfo;
|
|
2891
|
+
}
|
|
2776
2892
|
/**
|
|
2777
2893
|
* Kong网关主动健康检查配置
|
|
2778
2894
|
*/
|
|
@@ -2975,6 +3091,25 @@ export interface KongCertificate {
|
|
|
2975
3091
|
*/
|
|
2976
3092
|
Cert?: KongCertificatesPreview;
|
|
2977
3093
|
}
|
|
3094
|
+
/**
|
|
3095
|
+
* 服务来源
|
|
3096
|
+
*/
|
|
3097
|
+
export interface SourceInfo {
|
|
3098
|
+
/**
|
|
3099
|
+
* 微服务引擎接入IP地址信息
|
|
3100
|
+
*/
|
|
3101
|
+
Addresses?: Array<string>;
|
|
3102
|
+
/**
|
|
3103
|
+
* 微服务引擎VPC信息
|
|
3104
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3105
|
+
*/
|
|
3106
|
+
VpcInfo?: SourceInstanceVpcInfo;
|
|
3107
|
+
/**
|
|
3108
|
+
* 微服务引擎鉴权信息
|
|
3109
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3110
|
+
*/
|
|
3111
|
+
Auth?: SourceInstanceAuth;
|
|
3112
|
+
}
|
|
2978
3113
|
/**
|
|
2979
3114
|
* DeleteGovernanceInstances返回参数结构体
|
|
2980
3115
|
*/
|
|
@@ -4098,6 +4233,21 @@ export interface ModifyGovernanceNamespacesRequest {
|
|
|
4098
4233
|
*/
|
|
4099
4234
|
GovernanceNamespaces: Array<GovernanceNamespaceInput>;
|
|
4100
4235
|
}
|
|
4236
|
+
/**
|
|
4237
|
+
* 微服务引擎实例的VPC信息
|
|
4238
|
+
*/
|
|
4239
|
+
export interface SourceInstanceVpcInfo {
|
|
4240
|
+
/**
|
|
4241
|
+
* 微服务引擎VPC信息
|
|
4242
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4243
|
+
*/
|
|
4244
|
+
VpcID?: string;
|
|
4245
|
+
/**
|
|
4246
|
+
* 微服务引擎子网信息
|
|
4247
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4248
|
+
*/
|
|
4249
|
+
SubnetID?: string;
|
|
4250
|
+
}
|
|
4101
4251
|
/**
|
|
4102
4252
|
* ModifyConfigFileGroup返回参数结构体
|
|
4103
4253
|
*/
|
|
@@ -5311,6 +5461,48 @@ export interface CreateConfigFileGroupRequest {
|
|
|
5311
5461
|
*/
|
|
5312
5462
|
ConfigFileGroup: ConfigFileGroup;
|
|
5313
5463
|
}
|
|
5464
|
+
/**
|
|
5465
|
+
* Zookeeper副本信息
|
|
5466
|
+
*/
|
|
5467
|
+
export interface ZookeeperReplica {
|
|
5468
|
+
/**
|
|
5469
|
+
* 名称
|
|
5470
|
+
*/
|
|
5471
|
+
Name: string;
|
|
5472
|
+
/**
|
|
5473
|
+
* 角色
|
|
5474
|
+
*/
|
|
5475
|
+
Role: string;
|
|
5476
|
+
/**
|
|
5477
|
+
* 状态
|
|
5478
|
+
*/
|
|
5479
|
+
Status: string;
|
|
5480
|
+
/**
|
|
5481
|
+
* 子网ID
|
|
5482
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5483
|
+
*/
|
|
5484
|
+
SubnetId: string;
|
|
5485
|
+
/**
|
|
5486
|
+
* 可用区ID
|
|
5487
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5488
|
+
*/
|
|
5489
|
+
Zone: string;
|
|
5490
|
+
/**
|
|
5491
|
+
* 可用区ID
|
|
5492
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5493
|
+
*/
|
|
5494
|
+
ZoneId: string;
|
|
5495
|
+
/**
|
|
5496
|
+
* 别名
|
|
5497
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5498
|
+
*/
|
|
5499
|
+
AliasName: string;
|
|
5500
|
+
/**
|
|
5501
|
+
* VPC ID
|
|
5502
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5503
|
+
*/
|
|
5504
|
+
VpcId?: string;
|
|
5505
|
+
}
|
|
5314
5506
|
/**
|
|
5315
5507
|
* DeleteAutoScalerResourceStrategy返回参数结构体
|
|
5316
5508
|
*/
|
|
@@ -6067,6 +6259,23 @@ export interface ConfigFileTag {
|
|
|
6067
6259
|
*/
|
|
6068
6260
|
Value?: string;
|
|
6069
6261
|
}
|
|
6262
|
+
/**
|
|
6263
|
+
* DescribeNativeGatewayServiceSources返回参数结构体
|
|
6264
|
+
*/
|
|
6265
|
+
export interface DescribeNativeGatewayServiceSourcesResponse {
|
|
6266
|
+
/**
|
|
6267
|
+
* 总实例数
|
|
6268
|
+
*/
|
|
6269
|
+
Total?: number;
|
|
6270
|
+
/**
|
|
6271
|
+
* 服务来源实例列表
|
|
6272
|
+
*/
|
|
6273
|
+
List?: Array<NativeGatewayServiceSourceItem>;
|
|
6274
|
+
/**
|
|
6275
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6276
|
+
*/
|
|
6277
|
+
RequestId?: string;
|
|
6278
|
+
}
|
|
6070
6279
|
/**
|
|
6071
6280
|
* 获取云原生API网关实例列表响应结果。
|
|
6072
6281
|
*/
|
|
@@ -6482,6 +6691,39 @@ export interface CreatePublicNetworkResult {
|
|
|
6482
6691
|
*/
|
|
6483
6692
|
NetworkId?: string;
|
|
6484
6693
|
}
|
|
6694
|
+
/**
|
|
6695
|
+
* DescribeNativeGatewayServiceSources请求参数结构体
|
|
6696
|
+
*/
|
|
6697
|
+
export interface DescribeNativeGatewayServiceSourcesRequest {
|
|
6698
|
+
/**
|
|
6699
|
+
* 网关实例ID
|
|
6700
|
+
*/
|
|
6701
|
+
GatewayID: string;
|
|
6702
|
+
/**
|
|
6703
|
+
* 单页条数,最大100
|
|
6704
|
+
*/
|
|
6705
|
+
Limit: number;
|
|
6706
|
+
/**
|
|
6707
|
+
* 分页偏移量
|
|
6708
|
+
*/
|
|
6709
|
+
Offset: number;
|
|
6710
|
+
/**
|
|
6711
|
+
* 服务来源实例名称,模糊搜索
|
|
6712
|
+
*/
|
|
6713
|
+
SourceName?: string;
|
|
6714
|
+
/**
|
|
6715
|
+
* 微服务引擎类型:TSE-Nacos|TSE-Consul|TSE-PolarisMesh|Customer-Nacos|Customer-Consul|Customer-PolarisMesh
|
|
6716
|
+
*/
|
|
6717
|
+
SourceTypes?: Array<string>;
|
|
6718
|
+
/**
|
|
6719
|
+
* 排序字段类型,当前仅支持SourceName
|
|
6720
|
+
*/
|
|
6721
|
+
OrderField?: string;
|
|
6722
|
+
/**
|
|
6723
|
+
* 排序类型,AES/DESC
|
|
6724
|
+
*/
|
|
6725
|
+
OrderType?: string;
|
|
6726
|
+
}
|
|
6485
6727
|
/**
|
|
6486
6728
|
* CLB多可用区信息
|
|
6487
6729
|
*/
|
|
@@ -7488,43 +7730,21 @@ export interface Filter {
|
|
|
7488
7730
|
Values: Array<string>;
|
|
7489
7731
|
}
|
|
7490
7732
|
/**
|
|
7491
|
-
*
|
|
7733
|
+
* RestartSREInstance请求参数结构体
|
|
7492
7734
|
*/
|
|
7493
|
-
export interface
|
|
7494
|
-
/**
|
|
7495
|
-
* 网关实例ID
|
|
7496
|
-
*/
|
|
7497
|
-
GatewayId: string;
|
|
7498
|
-
/**
|
|
7499
|
-
* 策略ID
|
|
7500
|
-
*/
|
|
7501
|
-
StrategyId: string;
|
|
7502
|
-
/**
|
|
7503
|
-
* 策略名称
|
|
7504
|
-
*/
|
|
7505
|
-
StrategyName?: string;
|
|
7506
|
-
/**
|
|
7507
|
-
* 策略描述
|
|
7508
|
-
*/
|
|
7509
|
-
Description?: string;
|
|
7510
|
-
/**
|
|
7511
|
-
* 指标伸缩配置
|
|
7512
|
-
*/
|
|
7513
|
-
Config?: CloudNativeAPIGatewayStrategyAutoScalerConfig;
|
|
7735
|
+
export interface RestartSREInstanceRequest {
|
|
7514
7736
|
/**
|
|
7515
|
-
*
|
|
7516
|
-
* @deprecated
|
|
7737
|
+
* 微服务引擎实例Id
|
|
7517
7738
|
*/
|
|
7518
|
-
|
|
7739
|
+
InstanceId: string;
|
|
7519
7740
|
/**
|
|
7520
|
-
*
|
|
7521
|
-
* @deprecated
|
|
7741
|
+
* 重启的环境类型(PROD,DEV,UAT等)
|
|
7522
7742
|
*/
|
|
7523
|
-
|
|
7743
|
+
EnvTypes?: Array<string>;
|
|
7524
7744
|
/**
|
|
7525
|
-
*
|
|
7745
|
+
* 指定需要重启的实例节点(当前仅支持zk单节点重启)
|
|
7526
7746
|
*/
|
|
7527
|
-
|
|
7747
|
+
NodeName?: string;
|
|
7528
7748
|
}
|
|
7529
7749
|
/**
|
|
7530
7750
|
* CreateOrUpdateConfigFileAndRelease返回参数结构体
|
|
@@ -7562,6 +7782,19 @@ export interface DescribeOneCloudNativeAPIGatewayServiceResponse {
|
|
|
7562
7782
|
*/
|
|
7563
7783
|
RequestId?: string;
|
|
7564
7784
|
}
|
|
7785
|
+
/**
|
|
7786
|
+
* DeleteNativeGatewayServiceSource请求参数结构体
|
|
7787
|
+
*/
|
|
7788
|
+
export interface DeleteNativeGatewayServiceSourceRequest {
|
|
7789
|
+
/**
|
|
7790
|
+
* 网关实例 ID
|
|
7791
|
+
*/
|
|
7792
|
+
GatewayID: string;
|
|
7793
|
+
/**
|
|
7794
|
+
* 服务来源实例 ID
|
|
7795
|
+
*/
|
|
7796
|
+
SourceID: string;
|
|
7797
|
+
}
|
|
7565
7798
|
/**
|
|
7566
7799
|
* RestartSREInstance返回参数结构体
|
|
7567
7800
|
*/
|
|
@@ -7681,6 +7914,15 @@ export interface KongServices {
|
|
|
7681
7914
|
*/
|
|
7682
7915
|
TotalCount?: number;
|
|
7683
7916
|
}
|
|
7917
|
+
/**
|
|
7918
|
+
* ModifyNativeGatewayServiceSource返回参数结构体
|
|
7919
|
+
*/
|
|
7920
|
+
export interface ModifyNativeGatewayServiceSourceResponse {
|
|
7921
|
+
/**
|
|
7922
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7923
|
+
*/
|
|
7924
|
+
RequestId?: string;
|
|
7925
|
+
}
|
|
7684
7926
|
/**
|
|
7685
7927
|
* 创建网关分组信息
|
|
7686
7928
|
*/
|
|
@@ -400,16 +400,19 @@ export interface InstanceInfo {
|
|
|
400
400
|
/**
|
|
401
401
|
* 健康得分。
|
|
402
402
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
403
|
+
* @deprecated
|
|
403
404
|
*/
|
|
404
405
|
HealthScore?: number;
|
|
405
406
|
/**
|
|
406
407
|
* 异常告警。
|
|
407
408
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
409
|
+
* @deprecated
|
|
408
410
|
*/
|
|
409
411
|
Warning?: number;
|
|
410
412
|
/**
|
|
411
413
|
* 所属项目。
|
|
412
414
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
415
|
+
* @deprecated
|
|
413
416
|
*/
|
|
414
417
|
Project?: string;
|
|
415
418
|
/**
|
|
@@ -9028,6 +9028,10 @@ export interface CreateVpcEndPointServiceRequest {
|
|
|
9028
9028
|
* 挂载的PAAS服务类型,CLB,CDB,CRS,不填默认挂载为CLB。
|
|
9029
9029
|
*/
|
|
9030
9030
|
ServiceType?: string;
|
|
9031
|
+
/**
|
|
9032
|
+
* 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
9033
|
+
*/
|
|
9034
|
+
Tags?: Array<Tag>;
|
|
9031
9035
|
}
|
|
9032
9036
|
/**
|
|
9033
9037
|
* DescribePrivateNatGateways请求参数结构体
|
|
@@ -138,6 +138,16 @@ it("aiart.v20221229.QueryTextToImageProJob", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("aiart.v20221229.ImageInpaintingRemoval", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.ImageInpaintingRemoval({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
141
151
|
it("aiart.v20221229.ChangeClothes", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.ChangeClothes({})
|
|
@@ -668,6 +668,16 @@ it("cam.v20190116.DescribeSafeAuthFlagIntl", async function () {
|
|
|
668
668
|
}
|
|
669
669
|
})
|
|
670
670
|
|
|
671
|
+
it("cam.v20190116.UpdateRoleSessionDuration", async function () {
|
|
672
|
+
try {
|
|
673
|
+
const data = await client.UpdateRoleSessionDuration({})
|
|
674
|
+
expect(data).to.be.ok
|
|
675
|
+
} catch(error) {
|
|
676
|
+
expect(error.requestId).to.be.ok
|
|
677
|
+
expect(error.code).to.be.ok
|
|
678
|
+
}
|
|
679
|
+
})
|
|
680
|
+
|
|
671
681
|
it("cam.v20190116.ListGroups", async function () {
|
|
672
682
|
try {
|
|
673
683
|
const data = await client.ListGroups({})
|