tencentcloud-sdk-nodejs 4.0.233 → 4.0.237

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.
Files changed (98) hide show
  1. package/CHANGELOG.md +443 -85
  2. package/package.json +1 -1
  3. package/products.md +28 -27
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/as/v20180419/as_client.ts +0 -12
  6. package/src/services/as/v20180419/as_models.ts +0 -75
  7. package/src/services/ccc/v20200210/ccc_models.ts +6 -0
  8. package/src/services/cdb/v20170320/cdb_client.ts +37 -12
  9. package/src/services/cdb/v20170320/cdb_models.ts +163 -68
  10. package/src/services/cdn/v20180606/cdn_models.ts +15 -9
  11. package/src/services/clb/v20180317/clb_client.ts +14 -1
  12. package/src/services/clb/v20180317/clb_models.ts +54 -19
  13. package/src/services/cloudaudit/v20190319/cloudaudit_models.ts +6 -0
  14. package/src/services/cme/v20191029/cme_models.ts +4 -4
  15. package/src/services/cpdp/v20190820/cpdp_client.ts +39 -14
  16. package/src/services/cpdp/v20190820/cpdp_models.ts +774 -637
  17. package/src/services/cvm/v20170312/cvm_models.ts +3 -3
  18. package/src/services/dcdb/v20180411/dcdb_models.ts +1 -1
  19. package/src/services/ecm/v20190719/ecm_models.ts +6 -1
  20. package/src/services/ie/v20200304/ie_models.ts +1 -1
  21. package/src/services/index.ts +1 -0
  22. package/src/services/live/v20180801/live_client.ts +2 -2
  23. package/src/services/monitor/v20180724/monitor_models.ts +1 -1
  24. package/src/services/mrs/v20200910/mrs_client.ts +11 -5
  25. package/src/services/mrs/v20200910/mrs_models.ts +249 -81
  26. package/src/services/oceanus/v20190422/oceanus_models.ts +15 -5
  27. package/src/services/ocr/v20181119/ocr_models.ts +3 -3
  28. package/src/services/postgres/v20170312/postgres_models.ts +12 -9
  29. package/src/services/sms/v20210111/sms_client.ts +1 -1
  30. package/src/services/sms/v20210111/sms_models.ts +18 -6
  31. package/src/services/tcb/v20180608/tcb_client.ts +18 -6
  32. package/src/services/tcb/v20180608/tcb_models.ts +87 -0
  33. package/src/services/tcm/index.ts +5 -0
  34. package/src/services/tcm/v20210413/index.ts +6 -0
  35. package/src/services/tcm/v20210413/tcm_client.ts +88 -0
  36. package/src/services/tcm/v20210413/tcm_models.ts +891 -0
  37. package/src/services/tiw/v20190919/tiw_models.ts +5 -4
  38. package/src/services/trtc/v20190722/trtc_client.ts +1 -1
  39. package/src/services/trtc/v20190722/trtc_models.ts +6 -6
  40. package/src/services/tse/v20201207/tse_models.ts +24 -0
  41. package/src/services/tsf/v20180326/tsf_models.ts +146 -16
  42. package/tencentcloud/common/sdk_version.d.ts +1 -1
  43. package/tencentcloud/common/sdk_version.js +1 -1
  44. package/tencentcloud/services/as/v20180419/as_client.d.ts +1 -5
  45. package/tencentcloud/services/as/v20180419/as_client.js +0 -6
  46. package/tencentcloud/services/as/v20180419/as_models.d.ts +0 -62
  47. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -0
  48. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +11 -3
  49. package/tencentcloud/services/cdb/v20170320/cdb_client.js +15 -3
  50. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +141 -61
  51. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +14 -8
  52. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +5 -1
  53. package/tencentcloud/services/clb/v20180317/clb_client.js +6 -0
  54. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +47 -16
  55. package/tencentcloud/services/cloudaudit/v20190319/cloudaudit_models.d.ts +5 -0
  56. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +4 -4
  57. package/tencentcloud/services/cpdp/v20190820/cpdp_client.d.ts +9 -1
  58. package/tencentcloud/services/cpdp/v20190820/cpdp_client.js +12 -0
  59. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +569 -451
  60. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +3 -3
  61. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +1 -1
  62. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +5 -1
  63. package/tencentcloud/services/ie/v20200304/ie_models.d.ts +1 -1
  64. package/tencentcloud/services/index.d.ts +1 -0
  65. package/tencentcloud/services/index.js +2 -0
  66. package/tencentcloud/services/live/v20180801/live_client.d.ts +2 -2
  67. package/tencentcloud/services/live/v20180801/live_client.js +2 -2
  68. package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +1 -1
  69. package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +220 -75
  70. package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +12 -4
  71. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +3 -3
  72. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +12 -9
  73. package/tencentcloud/services/sms/v20210111/sms_client.d.ts +1 -1
  74. package/tencentcloud/services/sms/v20210111/sms_client.js +1 -1
  75. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +15 -5
  76. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +7 -3
  77. package/tencentcloud/services/tcb/v20180608/tcb_client.js +9 -3
  78. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +72 -0
  79. package/tencentcloud/services/tcm/index.d.ts +6 -0
  80. package/tencentcloud/services/tcm/index.js +7 -0
  81. package/tencentcloud/services/tcm/v20210413/index.d.ts +6 -0
  82. package/tencentcloud/services/tcm/v20210413/index.js +9 -0
  83. package/tencentcloud/services/tcm/v20210413/tcm_client.d.ts +18 -0
  84. package/tencentcloud/services/tcm/v20210413/tcm_client.js +43 -0
  85. package/tencentcloud/services/tcm/v20210413/tcm_models.d.ts +746 -0
  86. package/tencentcloud/services/tcm/v20210413/tcm_models.js +18 -0
  87. package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +5 -4
  88. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +1 -1
  89. package/tencentcloud/services/trtc/v20190722/trtc_client.js +1 -1
  90. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -6
  91. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +20 -0
  92. package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +120 -16
  93. package/test/as.v20180419.test.js +0 -10
  94. package/test/cdb.v20170320.test.js +22 -2
  95. package/test/clb.v20180317.test.js +10 -0
  96. package/test/cpdp.v20190820.test.js +20 -0
  97. package/test/tcb.v20180608.test.js +12 -2
  98. package/test/tcm.v20210413.test.js +41 -0
@@ -15,6 +15,16 @@
15
15
  * under the License.
16
16
  */
17
17
 
18
+ /**
19
+ * ModifyInstanceTag返回参数结构体
20
+ */
21
+ export interface ModifyInstanceTagResponse {
22
+ /**
23
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
24
+ */
25
+ RequestId?: string
26
+ }
27
+
18
28
  /**
19
29
  * ModifyAuditConfig请求参数结构体
20
30
  */
@@ -1844,13 +1854,33 @@ export interface RollbackTimeRange {
1844
1854
  }
1845
1855
 
1846
1856
  /**
1847
- * ModifyInstanceTag返回参数结构体
1857
+ * ModifyBackupDownloadRestriction请求参数结构体
1848
1858
  */
1849
- export interface ModifyInstanceTagResponse {
1859
+ export interface ModifyBackupDownloadRestrictionRequest {
1850
1860
  /**
1851
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
1861
+ * NoLimit 不限制,内外网都可以下载; LimitOnlyIntranet 仅内网可下载; Customize 用户自定义vpc:ip可下载。 只有该值为 Customize 时,才可以设置 LimitVpc 和 LimitIp
1852
1862
  */
1853
- RequestId?: string
1863
+ LimitType: string
1864
+
1865
+ /**
1866
+ * 该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。默认为In。
1867
+ */
1868
+ VpcComparisonSymbol?: string
1869
+
1870
+ /**
1871
+ * In: 指定的ip可以下载; NotIn: 指定的ip不可以下载。 默认为In。
1872
+ */
1873
+ IpComparisonSymbol?: string
1874
+
1875
+ /**
1876
+ * 限制下载的vpc设置。
1877
+ */
1878
+ LimitVpc?: Array<BackupLimitVpcItem>
1879
+
1880
+ /**
1881
+ * 限制下载的ip设置
1882
+ */
1883
+ LimitIp?: Array<string>
1854
1884
  }
1855
1885
 
1856
1886
  /**
@@ -1928,6 +1958,26 @@ export interface ModifyAccountMaxUserConnectionsRequest {
1928
1958
  MaxUserConnections: number
1929
1959
  }
1930
1960
 
1961
+ /**
1962
+ * ModifyAccountDescription请求参数结构体
1963
+ */
1964
+ export interface ModifyAccountDescriptionRequest {
1965
+ /**
1966
+ * 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
1967
+ */
1968
+ InstanceId: string
1969
+
1970
+ /**
1971
+ * 云数据库账号。
1972
+ */
1973
+ Accounts: Array<Account>
1974
+
1975
+ /**
1976
+ * 数据库账号的备注信息。
1977
+ */
1978
+ Description?: string
1979
+ }
1980
+
1931
1981
  /**
1932
1982
  * ReleaseIsolatedDBInstances请求参数结构体
1933
1983
  */
@@ -3041,6 +3091,41 @@ export interface RenewDBInstanceRequest {
3041
3091
  ModifyPayType?: string
3042
3092
  }
3043
3093
 
3094
+ /**
3095
+ * 慢查询日志详情
3096
+ */
3097
+ export interface SlowLogInfo {
3098
+ /**
3099
+ * 备份文件名
3100
+ */
3101
+ Name: string
3102
+
3103
+ /**
3104
+ * 备份文件大小,单位:Byte
3105
+ */
3106
+ Size: number
3107
+
3108
+ /**
3109
+ * 备份快照时间,时间格式:2016-03-17 02:10:37
3110
+ */
3111
+ Date: string
3112
+
3113
+ /**
3114
+ * 内网下载地址
3115
+ */
3116
+ IntranetUrl: string
3117
+
3118
+ /**
3119
+ * 外网下载地址
3120
+ */
3121
+ InternetUrl: string
3122
+
3123
+ /**
3124
+ * 日志具体类型,可能的值:slowlog - 慢日志
3125
+ */
3126
+ Type: string
3127
+ }
3128
+
3044
3129
  /**
3045
3130
  * 用于回档的数据库表名
3046
3131
  */
@@ -3411,18 +3496,13 @@ export interface CreateRoInstanceIpResponse {
3411
3496
  }
3412
3497
 
3413
3498
  /**
3414
- * DescribeBackupDatabases返回参数结构体
3499
+ * CreateAuditPolicy返回参数结构体
3415
3500
  */
3416
- export interface DescribeBackupDatabasesResponse {
3417
- /**
3418
- * 返回的数据个数。
3419
- */
3420
- TotalCount?: number
3421
-
3501
+ export interface CreateAuditPolicyResponse {
3422
3502
  /**
3423
- * 符合查询条件的数据库数组。
3503
+ * 审计策略 ID。
3424
3504
  */
3425
- Items?: Array<DatabaseName>
3505
+ PolicyId: string
3426
3506
 
3427
3507
  /**
3428
3508
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -3749,13 +3829,18 @@ export interface DescribeDBImportRecordsResponse {
3749
3829
  }
3750
3830
 
3751
3831
  /**
3752
- * CreateAuditPolicy返回参数结构体
3832
+ * DescribeBackupDatabases返回参数结构体
3753
3833
  */
3754
- export interface CreateAuditPolicyResponse {
3834
+ export interface DescribeBackupDatabasesResponse {
3755
3835
  /**
3756
- * 审计策略 ID。
3836
+ * 返回的数据个数。
3757
3837
  */
3758
- PolicyId: string
3838
+ TotalCount?: number
3839
+
3840
+ /**
3841
+ * 符合查询条件的数据库数组。
3842
+ */
3843
+ Items?: Array<DatabaseName>
3759
3844
 
3760
3845
  /**
3761
3846
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -4426,6 +4511,26 @@ export interface DescribeAsyncRequestInfoRequest {
4426
4511
  AsyncRequestId: string
4427
4512
  }
4428
4513
 
4514
+ /**
4515
+ * DescribeInstanceParams返回参数结构体
4516
+ */
4517
+ export interface DescribeInstanceParamsResponse {
4518
+ /**
4519
+ * 实例的参数总数。
4520
+ */
4521
+ TotalCount?: number
4522
+
4523
+ /**
4524
+ * 参数详情。
4525
+ */
4526
+ Items?: Array<ParameterDetail>
4527
+
4528
+ /**
4529
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4530
+ */
4531
+ RequestId?: string
4532
+ }
4533
+
4429
4534
  /**
4430
4535
  * 数据库表权限
4431
4536
  */
@@ -5147,23 +5252,38 @@ export interface ModifyDBInstanceNameResponse {
5147
5252
  }
5148
5253
 
5149
5254
  /**
5150
- * ModifyAccountDescription请求参数结构体
5255
+ * DescribeBackupDownloadRestriction返回参数结构体
5151
5256
  */
5152
- export interface ModifyAccountDescriptionRequest {
5257
+ export interface DescribeBackupDownloadRestrictionResponse {
5153
5258
  /**
5154
- * 实例 ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
5259
+ * NoLimit 不限制,内外网都可以下载; LimitOnlyIntranet 仅内网可下载; Customize 用户自定义vpc:ip可下载。 只有该值为 Customize 时, LimitVpc 和 LimitIp 才有意义。
5155
5260
  */
5156
- InstanceId: string
5261
+ LimitType: string
5157
5262
 
5158
5263
  /**
5159
- * 云数据库账号。
5264
+ * 该参数仅支持 In, 表示 LimitVpc 指定的vpc可以下载。
5160
5265
  */
5161
- Accounts: Array<Account>
5266
+ VpcComparisonSymbol: string
5162
5267
 
5163
5268
  /**
5164
- * 数据库账号的备注信息。
5269
+ * In: 指定的ip可以下载; NotIn: 指定的ip不可以下载。
5165
5270
  */
5166
- Description?: string
5271
+ IpComparisonSymbol: string
5272
+
5273
+ /**
5274
+ * 限制下载的vpc设置。
5275
+ */
5276
+ LimitVpc: Array<BackupLimitVpcItem>
5277
+
5278
+ /**
5279
+ * 限制下载的ip设置。
5280
+ */
5281
+ LimitIp: Array<string>
5282
+
5283
+ /**
5284
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5285
+ */
5286
+ RequestId?: string
5167
5287
  }
5168
5288
 
5169
5289
  /**
@@ -5758,6 +5878,16 @@ export interface CreateAuditRuleRequest {
5758
5878
  AuditAll?: boolean
5759
5879
  }
5760
5880
 
5881
+ /**
5882
+ * ModifyBackupDownloadRestriction返回参数结构体
5883
+ */
5884
+ export interface ModifyBackupDownloadRestrictionResponse {
5885
+ /**
5886
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5887
+ */
5888
+ RequestId?: string
5889
+ }
5890
+
5761
5891
  /**
5762
5892
  * ModifyTimeWindow请求参数结构体
5763
5893
  */
@@ -6510,39 +6640,9 @@ export interface DescribeParamTemplateInfoRequest {
6510
6640
  }
6511
6641
 
6512
6642
  /**
6513
- * 慢查询日志详情
6643
+ * DescribeBackupDownloadRestriction请求参数结构体
6514
6644
  */
6515
- export interface SlowLogInfo {
6516
- /**
6517
- * 备份文件名
6518
- */
6519
- Name: string
6520
-
6521
- /**
6522
- * 备份文件大小,单位:Byte
6523
- */
6524
- Size: number
6525
-
6526
- /**
6527
- * 备份快照时间,时间格式:2016-03-17 02:10:37
6528
- */
6529
- Date: string
6530
-
6531
- /**
6532
- * 内网下载地址
6533
- */
6534
- IntranetUrl: string
6535
-
6536
- /**
6537
- * 外网下载地址
6538
- */
6539
- InternetUrl: string
6540
-
6541
- /**
6542
- * 日志具体类型,可能的值:slowlog - 慢日志
6543
- */
6544
- Type: string
6545
- }
6645
+ export type DescribeBackupDownloadRestrictionRequest = null
6546
6646
 
6547
6647
  /**
6548
6648
  * InitDBInstances返回参数结构体
@@ -6665,23 +6765,18 @@ export interface DescribeDBInstanceInfoRequest {
6665
6765
  }
6666
6766
 
6667
6767
  /**
6668
- * DescribeInstanceParams返回参数结构体
6768
+ * 备份文件限制下载来源VPC设置项
6669
6769
  */
6670
- export interface DescribeInstanceParamsResponse {
6671
- /**
6672
- * 实例的参数总数。
6673
- */
6674
- TotalCount?: number
6675
-
6770
+ export interface BackupLimitVpcItem {
6676
6771
  /**
6677
- * 参数详情。
6772
+ * 限制下载来源的地域。目前仅支持当前地域。
6678
6773
  */
6679
- Items?: Array<ParameterDetail>
6774
+ Region: string
6680
6775
 
6681
6776
  /**
6682
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6777
+ * 限制下载的vpc列表。
6683
6778
  */
6684
- RequestId?: string
6779
+ VpcList: Array<string>
6685
6780
  }
6686
6781
 
6687
6782
  /**
@@ -787,13 +787,15 @@ export interface CreateClsLogTopicResponse {
787
787
  */
788
788
  export interface RemoteAuthenticationRule {
789
789
  /**
790
- * 远程鉴权服务http url
791
- */
790
+ * 远程鉴权Server。
791
+ 默认值:和上层配置的"Server"一致;
792
+ */
792
793
  Server: string
793
794
 
794
795
  /**
795
- * 请求远程鉴权服务器的http方法;取值范围[get,post,head,all]; all 表示不限制请求方法;
796
- all: 不指定访问访问方法;
796
+ * 请求远程鉴权服务器的http方法;取值范围[get,post,head,all];
797
+ all: 表示"遵循终端用户请求方法"
798
+ 默认值: all
797
799
  */
798
800
  AuthMethod: string
799
801
 
@@ -801,8 +803,9 @@ all: 不指定访问访问方法;
801
803
  * 规则类型:
802
804
  all:所有文件生效
803
805
  file:指定文件后缀生效
804
- directory:指定路径生效
805
- path:指定绝对路径生效
806
+ directory:指定目录生效
807
+ path:指定文件绝对路径生效
808
+ 默认值:all
806
809
  */
807
810
  RuleType: string
808
811
 
@@ -813,19 +816,22 @@ file 时填充后缀名,如 jpg、txt
813
816
  directory 时填充路径,如 /xxx/test
814
817
  path 时填充绝对路径,如 /xxx/test.html
815
818
  index 时填充 /
819
+ 默认值:*
816
820
  */
817
821
  RulePaths: Array<string>
818
822
 
819
823
  /**
820
824
  * 请求远程鉴权服务器超时时间,单位毫秒;
821
825
  取值范围:[1,30 000]
826
+ 默认值:20000
822
827
  */
823
828
  AuthTimeout: number
824
829
 
825
830
  /**
826
831
  * 请求远程鉴权服务器超时后执行拦截或者放行;
827
832
  RETURN_200: 超时后放行;
828
- RETURN_403:超时返回403;
833
+ RETURN_403:超时拦截;
834
+ 默认值:RETURN_200
829
835
  */
830
836
  AuthTimeoutAction: string
831
837
  }
@@ -8183,8 +8189,8 @@ export interface StatusCodeCacheRule {
8183
8189
 
8184
8190
  /**
8185
8191
  * 远程鉴权规则配置,可以包含多种规则配置。
8186
- RemoteAuthenticationRule 和Server 互斥,配置其中一个。
8187
- 若只配置Server ,规则参数将采用默认参数;
8192
+ RemoteAuthenticationRules和Server 互斥,只需要配置其中一个。
8193
+ 若只配置Server ,RemoteAuthenticationRules中详细规则参数将采用默认参数;默认参数值见各个配置项中说明;
8188
8194
  */
8189
8195
  export interface RemoteAuthentication {
8190
8196
  /**
@@ -62,7 +62,7 @@ import {
62
62
  RegisterTargetsWithClassicalLBResponse,
63
63
  DescribeTargetGroupsResponse,
64
64
  LoadBalancerHealth,
65
- SetLoadBalancerClsLogRequest,
65
+ ModifyLoadBalancerSlaResponse,
66
66
  DeleteLoadBalancerListenersRequest,
67
67
  BlockedIP,
68
68
  ModifyRuleResponse,
@@ -76,6 +76,7 @@ import {
76
76
  BatchRegisterTargetsResponse,
77
77
  ModifyLoadBalancerAttributesRequest,
78
78
  DescribeLBListenersRequest,
79
+ SlaUpdateParam,
79
80
  Target,
80
81
  DescribeLoadBalancerTrafficRequest,
81
82
  DescribeBlockIPListRequest,
@@ -182,10 +183,12 @@ import {
182
183
  DescribeBlockIPTaskResponse,
183
184
  DescribeClassicalLBListenersResponse,
184
185
  DescribeExclusiveClustersRequest,
186
+ ModifyLoadBalancerSlaRequest,
185
187
  DescribeBlockIPTaskRequest,
186
188
  CreateLoadBalancerResponse,
187
189
  DescribeRewriteResponse,
188
190
  Quota,
191
+ SetLoadBalancerClsLogRequest,
189
192
  LBItem,
190
193
  ModifyTargetGroupAttributeResponse,
191
194
  DeleteLoadBalancerListenersResponse,
@@ -231,6 +234,16 @@ export class Client extends AbstractClient {
231
234
  return this.request("RegisterTargets", req, cb)
232
235
  }
233
236
 
237
+ /**
238
+ * 升、降配接口。支持共享型clb升级到性能保障型clb。支持性能保障型提升等级。支持性能保障降低规格。(不支持性能保障降级到共享型)。
239
+ */
240
+ async ModifyLoadBalancerSla(
241
+ req: ModifyLoadBalancerSlaRequest,
242
+ cb?: (error: string, rep: ModifyLoadBalancerSlaResponse) => void
243
+ ): Promise<ModifyLoadBalancerSlaResponse> {
244
+ return this.request("ModifyLoadBalancerSla", req, cb)
245
+ }
246
+
234
247
  /**
235
248
  * 根据证书ID查询其在一个地域中所关联到负载均衡实例列表
236
249
  */
@@ -1103,28 +1103,13 @@ export interface LoadBalancerHealth {
1103
1103
  }
1104
1104
 
1105
1105
  /**
1106
- * SetLoadBalancerClsLog请求参数结构体
1106
+ * ModifyLoadBalancerSla返回参数结构体
1107
1107
  */
1108
- export interface SetLoadBalancerClsLogRequest {
1109
- /**
1110
- * 负载均衡实例 ID。
1111
- */
1112
- LoadBalancerId: string
1113
-
1114
- /**
1115
- * 日志服务(CLS)的日志集ID。
1116
- */
1117
- LogSetId: string
1118
-
1108
+ export interface ModifyLoadBalancerSlaResponse {
1119
1109
  /**
1120
- * 日志服务(CLS)的日志主题ID。
1121
- */
1122
- LogTopicId: string
1123
-
1124
- /**
1125
- * 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
1110
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
1126
1111
  */
1127
- LogType?: string
1112
+ RequestId?: string
1128
1113
  }
1129
1114
 
1130
1115
  /**
@@ -1380,6 +1365,21 @@ export interface DescribeLBListenersRequest {
1380
1365
  Backends: Array<LbRsItem>
1381
1366
  }
1382
1367
 
1368
+ /**
1369
+ * 性能保障变配参数
1370
+ */
1371
+ export interface SlaUpdateParam {
1372
+ /**
1373
+ * lb的字符串ID
1374
+ */
1375
+ LoadBalancerId: string
1376
+
1377
+ /**
1378
+ * 需要变更的性能保障级别
1379
+ */
1380
+ SlaType: string
1381
+ }
1382
+
1383
1383
  /**
1384
1384
  * 转发目标,即绑定在负载均衡上的后端服务
1385
1385
  */
@@ -4353,6 +4353,16 @@ export interface DescribeExclusiveClustersRequest {
4353
4353
  Filters?: Array<Filter>
4354
4354
  }
4355
4355
 
4356
+ /**
4357
+ * ModifyLoadBalancerSla请求参数结构体
4358
+ */
4359
+ export interface ModifyLoadBalancerSlaRequest {
4360
+ /**
4361
+ * 负载均衡性能保障实例ID和变配的目标规格
4362
+ */
4363
+ LoadBalancerSla: Array<SlaUpdateParam>
4364
+ }
4365
+
4356
4366
  /**
4357
4367
  * DescribeBlockIPTask请求参数结构体
4358
4368
  */
@@ -4419,6 +4429,31 @@ export interface Quota {
4419
4429
  QuotaLimit: number
4420
4430
  }
4421
4431
 
4432
+ /**
4433
+ * SetLoadBalancerClsLog请求参数结构体
4434
+ */
4435
+ export interface SetLoadBalancerClsLogRequest {
4436
+ /**
4437
+ * 负载均衡实例 ID。
4438
+ */
4439
+ LoadBalancerId: string
4440
+
4441
+ /**
4442
+ * 日志服务(CLS)的日志集ID。
4443
+ */
4444
+ LogSetId: string
4445
+
4446
+ /**
4447
+ * 日志服务(CLS)的日志主题ID。
4448
+ */
4449
+ LogTopicId: string
4450
+
4451
+ /**
4452
+ * 日志类型,ACCESS:访问日志,HEALTH:健康检查日志,默认ACCESS。
4453
+ */
4454
+ LogType?: string
4455
+ }
4456
+
4422
4457
  /**
4423
4458
  * 反查Lb绑定关系。
4424
4459
  */
@@ -175,6 +175,12 @@ export interface DescribeEventsResponse {
175
175
  */
176
176
  Events: Array<Event>
177
177
 
178
+ /**
179
+ * 总数
180
+ 注意:此字段可能返回 null,表示取不到有效值。
181
+ */
182
+ TotalCount: number
183
+
178
184
  /**
179
185
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
180
186
  */
@@ -2657,12 +2657,12 @@ export interface DescribeResourceAuthorizationRequest {
2657
2657
  /**
2658
2658
  * 归属者。
2659
2659
  */
2660
- Owner: Entity
2660
+ Owner?: Entity
2661
2661
 
2662
2662
  /**
2663
2663
  * 资源。
2664
2664
  */
2665
- Resource: Resource
2665
+ Resource?: Resource
2666
2666
 
2667
2667
  /**
2668
2668
  * 操作者。填写用户的 Id,用于标识调用者及校验操作权限。
@@ -3222,12 +3222,12 @@ export interface DescribeResourceAuthorizationResponse {
3222
3222
  * 符合条件的资源授权记录总数。
3223
3223
  注意:此字段可能返回 null,表示取不到有效值。
3224
3224
  */
3225
- TotalCount?: number
3225
+ TotalCount: number
3226
3226
 
3227
3227
  /**
3228
3228
  * 授权信息列表。
3229
3229
  */
3230
- AuthorizationInfoSet?: Array<AuthorizationInfo>
3230
+ AuthorizationInfoSet: Array<AuthorizationInfo>
3231
3231
 
3232
3232
  /**
3233
3233
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。