tencentcloud-sdk-nodejs 4.0.293 → 4.0.294
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 +130 -0
- package/SERVICE_CHANGELOG.md +178 -38
- package/package.json +1 -1
- package/products.md +9 -9
- package/src/common/sdk_version.ts +1 -1
- package/src/services/ame/v20190916/ame_client.ts +13 -0
- package/src/services/ame/v20190916/ame_models.ts +65 -0
- package/src/services/as/v20180419/as_models.ts +10 -0
- package/src/services/dcdb/v20180411/dcdb_client.ts +18 -6
- package/src/services/dcdb/v20180411/dcdb_models.ts +245 -107
- package/src/services/faceid/v20180301/faceid_models.ts +1 -1
- package/src/services/iecp/v20210914/iecp_models.ts +14 -4
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -1
- package/src/services/monitor/v20180724/monitor_client.ts +19 -2
- package/src/services/monitor/v20180724/monitor_models.ts +394 -18
- package/src/services/sms/v20210111/sms_models.ts +6 -0
- package/src/services/vpc/v20170312/vpc_client.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +4 -4
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/ame/v20190916/ame_client.d.ts +5 -1
- package/tencentcloud/services/ame/v20190916/ame_client.js +6 -0
- package/tencentcloud/services/ame/v20190916/ame_models.d.ts +55 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +8 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +210 -96
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +1 -1
- package/tencentcloud/services/iecp/v20210914/iecp_models.d.ts +12 -4
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +1 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +328 -17
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +5 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -4
- package/test/ame.v20190916.test.js +10 -0
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/monitor.v20180724.test.js +10 -0
|
@@ -680,6 +680,33 @@ export interface PolicyTag {
|
|
|
680
680
|
*/
|
|
681
681
|
Value: string;
|
|
682
682
|
}
|
|
683
|
+
/**
|
|
684
|
+
* 事件告警条件
|
|
685
|
+
*/
|
|
686
|
+
export interface EventCondition {
|
|
687
|
+
/**
|
|
688
|
+
* 告警通知频率
|
|
689
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
690
|
+
*/
|
|
691
|
+
AlarmNotifyPeriod: string;
|
|
692
|
+
/**
|
|
693
|
+
* 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警)
|
|
694
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
695
|
+
*/
|
|
696
|
+
AlarmNotifyType: string;
|
|
697
|
+
/**
|
|
698
|
+
* 事件ID
|
|
699
|
+
*/
|
|
700
|
+
EventID: string;
|
|
701
|
+
/**
|
|
702
|
+
* 事件展示名称(对外)
|
|
703
|
+
*/
|
|
704
|
+
EventDisplayName: string;
|
|
705
|
+
/**
|
|
706
|
+
* 规则ID
|
|
707
|
+
*/
|
|
708
|
+
RuleID: string;
|
|
709
|
+
}
|
|
683
710
|
/**
|
|
684
711
|
* Prometheus 服务响应体
|
|
685
712
|
*/
|
|
@@ -853,25 +880,37 @@ export interface PrometheusInstancesItem {
|
|
|
853
880
|
GrafanaInstanceId: string;
|
|
854
881
|
}
|
|
855
882
|
/**
|
|
856
|
-
*
|
|
883
|
+
* DescribeConditionsTemplateList请求参数结构体
|
|
857
884
|
*/
|
|
858
|
-
export interface
|
|
885
|
+
export interface DescribeConditionsTemplateListRequest {
|
|
859
886
|
/**
|
|
860
|
-
*
|
|
887
|
+
* 固定值,为"monitor"
|
|
861
888
|
*/
|
|
862
|
-
|
|
889
|
+
Module: string;
|
|
863
890
|
/**
|
|
864
|
-
*
|
|
891
|
+
* 视图名,由 [DescribeAllNamespaces](https://cloud.tencent.com/document/product/248/48683) 获得。对于云产品监控,取接口出参的 QceNamespacesNew.N.Id,例如 cvm_device
|
|
865
892
|
*/
|
|
866
|
-
|
|
893
|
+
ViewName?: string;
|
|
867
894
|
/**
|
|
868
|
-
*
|
|
895
|
+
* 根据触发条件模板名称过滤查询
|
|
869
896
|
*/
|
|
870
|
-
|
|
897
|
+
GroupName?: string;
|
|
871
898
|
/**
|
|
872
|
-
*
|
|
899
|
+
* 根据触发条件模板ID过滤查询
|
|
873
900
|
*/
|
|
874
|
-
|
|
901
|
+
GroupID?: string;
|
|
902
|
+
/**
|
|
903
|
+
* 分页参数,每页返回的数量,取值1~100,默认20
|
|
904
|
+
*/
|
|
905
|
+
Limit?: number;
|
|
906
|
+
/**
|
|
907
|
+
* 分页参数,页偏移量,从0开始计数,默认0
|
|
908
|
+
*/
|
|
909
|
+
Offset?: number;
|
|
910
|
+
/**
|
|
911
|
+
* 指定按更新时间的排序方式,asc=升序, desc=降序
|
|
912
|
+
*/
|
|
913
|
+
UpdateTimeOrder?: string;
|
|
875
914
|
}
|
|
876
915
|
/**
|
|
877
916
|
* CreateAlertRule返回参数结构体
|
|
@@ -1217,6 +1256,25 @@ export interface DeletePolicyGroupResponse {
|
|
|
1217
1256
|
*/
|
|
1218
1257
|
RequestId?: string;
|
|
1219
1258
|
}
|
|
1259
|
+
/**
|
|
1260
|
+
* DescribeAccidentEventList返回参数结构体
|
|
1261
|
+
*/
|
|
1262
|
+
export interface DescribeAccidentEventListResponse {
|
|
1263
|
+
/**
|
|
1264
|
+
* 平台事件列表
|
|
1265
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1266
|
+
*/
|
|
1267
|
+
Alarms?: Array<DescribeAccidentEventListAlarms>;
|
|
1268
|
+
/**
|
|
1269
|
+
* 平台事件的总数
|
|
1270
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1271
|
+
*/
|
|
1272
|
+
Total?: number;
|
|
1273
|
+
/**
|
|
1274
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1275
|
+
*/
|
|
1276
|
+
RequestId?: string;
|
|
1277
|
+
}
|
|
1220
1278
|
/**
|
|
1221
1279
|
* DescribeMonitorTypes请求参数结构体
|
|
1222
1280
|
*/
|
|
@@ -1953,6 +2011,58 @@ export interface PrometheusInstanceGrantInfo {
|
|
|
1953
2011
|
*/
|
|
1954
2012
|
HasApiOperation: number;
|
|
1955
2013
|
}
|
|
2014
|
+
/**
|
|
2015
|
+
* 模板列表
|
|
2016
|
+
*/
|
|
2017
|
+
export interface TemplateGroup {
|
|
2018
|
+
/**
|
|
2019
|
+
* 指标告警规则
|
|
2020
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2021
|
+
*/
|
|
2022
|
+
Conditions: Array<Condition>;
|
|
2023
|
+
/**
|
|
2024
|
+
* 事件告警规则
|
|
2025
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2026
|
+
*/
|
|
2027
|
+
EventConditions: Array<EventCondition>;
|
|
2028
|
+
/**
|
|
2029
|
+
* 关联告警策略组
|
|
2030
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2031
|
+
*/
|
|
2032
|
+
PolicyGroups: Array<PolicyGroup>;
|
|
2033
|
+
/**
|
|
2034
|
+
* 模板策略组ID
|
|
2035
|
+
*/
|
|
2036
|
+
GroupID: number;
|
|
2037
|
+
/**
|
|
2038
|
+
* 模板策略组名称
|
|
2039
|
+
*/
|
|
2040
|
+
GroupName: string;
|
|
2041
|
+
/**
|
|
2042
|
+
* 创建时间
|
|
2043
|
+
*/
|
|
2044
|
+
InsertTime: number;
|
|
2045
|
+
/**
|
|
2046
|
+
* 最后修改人UIN
|
|
2047
|
+
*/
|
|
2048
|
+
LastEditUin: number;
|
|
2049
|
+
/**
|
|
2050
|
+
* 备注
|
|
2051
|
+
*/
|
|
2052
|
+
Remark: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* 更新时间
|
|
2055
|
+
*/
|
|
2056
|
+
UpdateTime: number;
|
|
2057
|
+
/**
|
|
2058
|
+
* 视图
|
|
2059
|
+
*/
|
|
2060
|
+
ViewName: string;
|
|
2061
|
+
/**
|
|
2062
|
+
* 是否为与关系
|
|
2063
|
+
*/
|
|
2064
|
+
IsUnionRule: number;
|
|
2065
|
+
}
|
|
1956
2066
|
/**
|
|
1957
2067
|
* 查询策略绑定对象列表接口返回的对象实例信息
|
|
1958
2068
|
*/
|
|
@@ -2742,6 +2852,75 @@ export interface DescribePolicyConditionListConfigManualCalcType {
|
|
|
2742
2852
|
*/
|
|
2743
2853
|
Need: boolean;
|
|
2744
2854
|
}
|
|
2855
|
+
/**
|
|
2856
|
+
* 告警条件
|
|
2857
|
+
*/
|
|
2858
|
+
export interface Condition {
|
|
2859
|
+
/**
|
|
2860
|
+
* 告警通知频率
|
|
2861
|
+
*/
|
|
2862
|
+
AlarmNotifyPeriod: number;
|
|
2863
|
+
/**
|
|
2864
|
+
* 重复通知策略预定义(0 - 只告警一次, 1 - 指数告警,2 - 连接告警)
|
|
2865
|
+
*/
|
|
2866
|
+
AlarmNotifyType: number;
|
|
2867
|
+
/**
|
|
2868
|
+
* 检测方式
|
|
2869
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2870
|
+
*/
|
|
2871
|
+
CalcType: string;
|
|
2872
|
+
/**
|
|
2873
|
+
* 检测值
|
|
2874
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2875
|
+
*/
|
|
2876
|
+
CalcValue: string;
|
|
2877
|
+
/**
|
|
2878
|
+
* 持续时间
|
|
2879
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2880
|
+
*/
|
|
2881
|
+
ContinueTime: string;
|
|
2882
|
+
/**
|
|
2883
|
+
* 指标ID
|
|
2884
|
+
*/
|
|
2885
|
+
MetricID: number;
|
|
2886
|
+
/**
|
|
2887
|
+
* 指标展示名称(对外)
|
|
2888
|
+
*/
|
|
2889
|
+
MetricDisplayName: string;
|
|
2890
|
+
/**
|
|
2891
|
+
* 周期
|
|
2892
|
+
*/
|
|
2893
|
+
Period: number;
|
|
2894
|
+
/**
|
|
2895
|
+
* 规则ID
|
|
2896
|
+
*/
|
|
2897
|
+
RuleID: number;
|
|
2898
|
+
/**
|
|
2899
|
+
* 指标单位
|
|
2900
|
+
*/
|
|
2901
|
+
Unit: string;
|
|
2902
|
+
}
|
|
2903
|
+
/**
|
|
2904
|
+
* PutMonitorData请求参数结构体
|
|
2905
|
+
*/
|
|
2906
|
+
export interface PutMonitorDataRequest {
|
|
2907
|
+
/**
|
|
2908
|
+
* 一组指标和数据
|
|
2909
|
+
*/
|
|
2910
|
+
Metrics: Array<MetricDatum>;
|
|
2911
|
+
/**
|
|
2912
|
+
* 上报时自行指定的 IP
|
|
2913
|
+
*/
|
|
2914
|
+
AnnounceIp?: string;
|
|
2915
|
+
/**
|
|
2916
|
+
* 上报时自行指定的时间戳
|
|
2917
|
+
*/
|
|
2918
|
+
AnnounceTimestamp?: number;
|
|
2919
|
+
/**
|
|
2920
|
+
* 上报时自行指定的 IP 或 产品实例ID
|
|
2921
|
+
*/
|
|
2922
|
+
AnnounceInstance?: string;
|
|
2923
|
+
}
|
|
2745
2924
|
/**
|
|
2746
2925
|
* ModifyAlarmPolicyStatus请求参数结构体
|
|
2747
2926
|
*/
|
|
@@ -3152,6 +3331,76 @@ export interface DescribeAllNamespacesRequest {
|
|
|
3152
3331
|
*/
|
|
3153
3332
|
Ids?: Array<string>;
|
|
3154
3333
|
}
|
|
3334
|
+
/**
|
|
3335
|
+
* 策略组信息
|
|
3336
|
+
*/
|
|
3337
|
+
export interface PolicyGroup {
|
|
3338
|
+
/**
|
|
3339
|
+
* 是否可设为默认告警策略
|
|
3340
|
+
*/
|
|
3341
|
+
CanSetDefault: boolean;
|
|
3342
|
+
/**
|
|
3343
|
+
* 告警策略组ID
|
|
3344
|
+
*/
|
|
3345
|
+
GroupID: number;
|
|
3346
|
+
/**
|
|
3347
|
+
* 告警策略组名称
|
|
3348
|
+
*/
|
|
3349
|
+
GroupName: string;
|
|
3350
|
+
/**
|
|
3351
|
+
* 创建时间
|
|
3352
|
+
*/
|
|
3353
|
+
InsertTime: number;
|
|
3354
|
+
/**
|
|
3355
|
+
* 是否为默认告警策略
|
|
3356
|
+
*/
|
|
3357
|
+
IsDefault: number;
|
|
3358
|
+
/**
|
|
3359
|
+
* 告警策略启用状态
|
|
3360
|
+
*/
|
|
3361
|
+
Enable: boolean;
|
|
3362
|
+
/**
|
|
3363
|
+
* 最后修改人UIN
|
|
3364
|
+
*/
|
|
3365
|
+
LastEditUin: number;
|
|
3366
|
+
/**
|
|
3367
|
+
* 未屏蔽的实例数
|
|
3368
|
+
*/
|
|
3369
|
+
NoShieldedInstanceCount: number;
|
|
3370
|
+
/**
|
|
3371
|
+
* 父策略组ID
|
|
3372
|
+
*/
|
|
3373
|
+
ParentGroupID: number;
|
|
3374
|
+
/**
|
|
3375
|
+
* 所属项目ID
|
|
3376
|
+
*/
|
|
3377
|
+
ProjectID: number;
|
|
3378
|
+
/**
|
|
3379
|
+
* 告警接收对象信息
|
|
3380
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3381
|
+
*/
|
|
3382
|
+
ReceiverInfos: Array<PolicyGroupReceiverInfo>;
|
|
3383
|
+
/**
|
|
3384
|
+
* 备注信息
|
|
3385
|
+
*/
|
|
3386
|
+
Remark: string;
|
|
3387
|
+
/**
|
|
3388
|
+
* 修改时间
|
|
3389
|
+
*/
|
|
3390
|
+
UpdateTime: number;
|
|
3391
|
+
/**
|
|
3392
|
+
* 总绑定实例数
|
|
3393
|
+
*/
|
|
3394
|
+
TotalInstanceCount: number;
|
|
3395
|
+
/**
|
|
3396
|
+
* 视图
|
|
3397
|
+
*/
|
|
3398
|
+
ViewName: string;
|
|
3399
|
+
/**
|
|
3400
|
+
* 是否为与关系规则
|
|
3401
|
+
*/
|
|
3402
|
+
IsUnionRule: number;
|
|
3403
|
+
}
|
|
3155
3404
|
/**
|
|
3156
3405
|
* UpdateAlertRule返回参数结构体
|
|
3157
3406
|
*/
|
|
@@ -3302,19 +3551,18 @@ export interface DescribeAlarmPoliciesRequest {
|
|
|
3302
3551
|
NeedCorrespondence?: number;
|
|
3303
3552
|
}
|
|
3304
3553
|
/**
|
|
3305
|
-
*
|
|
3554
|
+
* DescribeConditionsTemplateList返回参数结构体
|
|
3306
3555
|
*/
|
|
3307
|
-
export interface
|
|
3556
|
+
export interface DescribeConditionsTemplateListResponse {
|
|
3308
3557
|
/**
|
|
3309
|
-
*
|
|
3310
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
3558
|
+
* 模板总数
|
|
3311
3559
|
*/
|
|
3312
|
-
|
|
3560
|
+
Total: number;
|
|
3313
3561
|
/**
|
|
3314
|
-
*
|
|
3562
|
+
* 模板列表
|
|
3315
3563
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3316
3564
|
*/
|
|
3317
|
-
|
|
3565
|
+
TemplateGroupList: Array<TemplateGroup>;
|
|
3318
3566
|
/**
|
|
3319
3567
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3320
3568
|
*/
|
|
@@ -3446,6 +3694,69 @@ export interface MetricConfig {
|
|
|
3446
3694
|
*/
|
|
3447
3695
|
ContinuePeriod: Array<number>;
|
|
3448
3696
|
}
|
|
3697
|
+
/**
|
|
3698
|
+
* 2018版策略模板列表接收人信息
|
|
3699
|
+
*/
|
|
3700
|
+
export interface PolicyGroupReceiverInfo {
|
|
3701
|
+
/**
|
|
3702
|
+
* 有效时段结束时间
|
|
3703
|
+
*/
|
|
3704
|
+
EndTime: number;
|
|
3705
|
+
/**
|
|
3706
|
+
* 是否需要发送通知
|
|
3707
|
+
*/
|
|
3708
|
+
NeedSendNotice: number;
|
|
3709
|
+
/**
|
|
3710
|
+
* 告警接收渠道
|
|
3711
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3712
|
+
*/
|
|
3713
|
+
NotifyWay: Array<string>;
|
|
3714
|
+
/**
|
|
3715
|
+
* 电话告警对个人间隔(秒)
|
|
3716
|
+
*/
|
|
3717
|
+
PersonInterval: number;
|
|
3718
|
+
/**
|
|
3719
|
+
* 消息接收组列表
|
|
3720
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3721
|
+
*/
|
|
3722
|
+
ReceiverGroupList: Array<number>;
|
|
3723
|
+
/**
|
|
3724
|
+
* 接受者类型
|
|
3725
|
+
*/
|
|
3726
|
+
ReceiverType: string;
|
|
3727
|
+
/**
|
|
3728
|
+
* 接收人列表。通过平台接口查询到的接收人id列表
|
|
3729
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3730
|
+
*/
|
|
3731
|
+
ReceiverUserList: Array<number>;
|
|
3732
|
+
/**
|
|
3733
|
+
* 告警恢复通知方式
|
|
3734
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3735
|
+
*/
|
|
3736
|
+
RecoverNotify: Array<string>;
|
|
3737
|
+
/**
|
|
3738
|
+
* 电话告警每轮间隔(秒)
|
|
3739
|
+
*/
|
|
3740
|
+
RoundInterval: number;
|
|
3741
|
+
/**
|
|
3742
|
+
* 电话告警轮数
|
|
3743
|
+
*/
|
|
3744
|
+
RoundNumber: number;
|
|
3745
|
+
/**
|
|
3746
|
+
* 电话告警通知时机。可选"OCCUR"(告警时通知),"RECOVER"(恢复时通知)
|
|
3747
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3748
|
+
*/
|
|
3749
|
+
SendFor: Array<string>;
|
|
3750
|
+
/**
|
|
3751
|
+
* 有效时段开始时间
|
|
3752
|
+
*/
|
|
3753
|
+
StartTime: number;
|
|
3754
|
+
/**
|
|
3755
|
+
* 电话告警接收者uid
|
|
3756
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3757
|
+
*/
|
|
3758
|
+
UIDList: Array<number>;
|
|
3759
|
+
}
|
|
3449
3760
|
/**
|
|
3450
3761
|
* DescribeAlarmEvents请求参数结构体
|
|
3451
3762
|
*/
|
|
@@ -688,6 +688,11 @@ export interface PullSmsSendStatus {
|
|
|
688
688
|
* 用户接收短信状态描述。
|
|
689
689
|
*/
|
|
690
690
|
Description: string;
|
|
691
|
+
/**
|
|
692
|
+
* 用户的 session 内容。与请求中的 SessionContext 一致,默认为空,如需开通请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
|
693
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
694
|
+
*/
|
|
695
|
+
SessionContext: string;
|
|
691
696
|
}
|
|
692
697
|
/**
|
|
693
698
|
* DescribeSmsSignList返回参数结构体
|
|
@@ -807,7 +807,7 @@ export declare class Client extends AbstractClient {
|
|
|
807
807
|
*/
|
|
808
808
|
DescribeCrossBorderCompliance(req: DescribeCrossBorderComplianceRequest, cb?: (error: string, rep: DescribeCrossBorderComplianceResponse) => void): Promise<DescribeCrossBorderComplianceResponse>;
|
|
809
809
|
/**
|
|
810
|
-
* 本接口(CreateAddressTemplateGroup)用于创建IP
|
|
810
|
+
* 本接口(CreateAddressTemplateGroup)用于创建IP地址模板集合
|
|
811
811
|
*/
|
|
812
812
|
CreateAddressTemplateGroup(req: CreateAddressTemplateGroupRequest, cb?: (error: string, rep: CreateAddressTemplateGroupResponse) => void): Promise<CreateAddressTemplateGroupResponse>;
|
|
813
813
|
/**
|
|
@@ -1155,7 +1155,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
1155
1155
|
return this.request("DescribeCrossBorderCompliance", req, cb);
|
|
1156
1156
|
}
|
|
1157
1157
|
/**
|
|
1158
|
-
* 本接口(CreateAddressTemplateGroup)用于创建IP
|
|
1158
|
+
* 本接口(CreateAddressTemplateGroup)用于创建IP地址模板集合
|
|
1159
1159
|
*/
|
|
1160
1160
|
async CreateAddressTemplateGroup(req, cb) {
|
|
1161
1161
|
return this.request("CreateAddressTemplateGroup", req, cb);
|
|
@@ -3241,11 +3241,11 @@ export interface DescribeNetDetectsRequest {
|
|
|
3241
3241
|
*/
|
|
3242
3242
|
export interface CreateAddressTemplateGroupRequest {
|
|
3243
3243
|
/**
|
|
3244
|
-
* IP
|
|
3244
|
+
* IP地址模板集合名称。
|
|
3245
3245
|
*/
|
|
3246
3246
|
AddressTemplateGroupName: string;
|
|
3247
3247
|
/**
|
|
3248
|
-
* IP
|
|
3248
|
+
* IP地址模板实例ID,例如:ipm-mdunqeb6。
|
|
3249
3249
|
*/
|
|
3250
3250
|
AddressTemplateIds: Array<string>;
|
|
3251
3251
|
}
|
|
@@ -8658,7 +8658,7 @@ export interface CreateAddressTemplateGroupResponse {
|
|
|
8658
8658
|
/**
|
|
8659
8659
|
* IP地址模板集合对象。
|
|
8660
8660
|
*/
|
|
8661
|
-
AddressTemplateGroup
|
|
8661
|
+
AddressTemplateGroup: AddressTemplateGroup;
|
|
8662
8662
|
/**
|
|
8663
8663
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8664
8664
|
*/
|
|
@@ -10994,7 +10994,7 @@ export interface DescribeAddressTemplatesResponse {
|
|
|
10994
10994
|
*/
|
|
10995
10995
|
TotalCount: number;
|
|
10996
10996
|
/**
|
|
10997
|
-
* IP
|
|
10997
|
+
* IP地址模板。
|
|
10998
10998
|
*/
|
|
10999
10999
|
AddressTemplateSet: Array<AddressTemplate>;
|
|
11000
11000
|
/**
|
|
@@ -58,6 +58,16 @@ it("ame.v20190916.DescribeAuthInfo", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
+
it("ame.v20190916.BatchDescribeKTVMusicDetails", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.BatchDescribeKTVMusicDetails({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
61
71
|
it("ame.v20190916.DescribeCloudMusicPurchased", async function () {
|
|
62
72
|
try {
|
|
63
73
|
const data = await client.DescribeCloudMusicPurchased({})
|
|
@@ -518,6 +518,16 @@ it("dcdb.v20180411.CloneAccount", async function () {
|
|
|
518
518
|
}
|
|
519
519
|
})
|
|
520
520
|
|
|
521
|
+
it("dcdb.v20180411.CreateHourDCDBInstance", async function () {
|
|
522
|
+
try {
|
|
523
|
+
const data = await client.CreateHourDCDBInstance({})
|
|
524
|
+
expect(data).to.be.ok
|
|
525
|
+
} catch(error) {
|
|
526
|
+
expect(error.requestId).to.be.ok
|
|
527
|
+
expect(error.code).to.be.ok
|
|
528
|
+
}
|
|
529
|
+
})
|
|
530
|
+
|
|
521
531
|
it("dcdb.v20180411.DisassociateSecurityGroups", async function () {
|
|
522
532
|
try {
|
|
523
533
|
const data = await client.DisassociateSecurityGroups({})
|
|
@@ -68,6 +68,16 @@ it("monitor.v20180724.SendCustomAlarmMsg", async function () {
|
|
|
68
68
|
}
|
|
69
69
|
})
|
|
70
70
|
|
|
71
|
+
it("monitor.v20180724.DescribeConditionsTemplateList", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.DescribeConditionsTemplateList({})
|
|
74
|
+
expect(data).to.be.ok
|
|
75
|
+
} catch(error) {
|
|
76
|
+
expect(error.requestId).to.be.ok
|
|
77
|
+
expect(error.code).to.be.ok
|
|
78
|
+
}
|
|
79
|
+
})
|
|
80
|
+
|
|
71
81
|
it("monitor.v20180724.DescribeBindingPolicyObjectList", async function () {
|
|
72
82
|
try {
|
|
73
83
|
const data = await client.DescribeBindingPolicyObjectList({})
|