tencentcloud-sdk-nodejs-intl-en 3.0.560 → 3.0.562
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/package.json +1 -1
- package/tencentcloud/clb/v20180317/clb_client.js +41 -13
- package/tencentcloud/clb/v20180317/models.js +308 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/emr/v20190103/models.js +16 -1
- package/tencentcloud/es/v20180416/models.js +40 -1
- package/tencentcloud/privatedns/v20201028/models.js +101 -0
- package/tencentcloud/privatedns/v20201028/privatedns_client.js +13 -0
- package/tencentcloud/trtc/v20190722/models.js +99 -2
- package/tencentcloud/trtc/v20190722/trtc_client.js +3 -0
package/package.json
CHANGED
|
@@ -48,6 +48,7 @@ const DeregisterTargetsFromClassicalLBRequest = models.DeregisterTargetsFromClas
|
|
|
48
48
|
const SetSecurityGroupForLoadbalancersResponse = models.SetSecurityGroupForLoadbalancersResponse;
|
|
49
49
|
const BasicTargetGroupInfo = models.BasicTargetGroupInfo;
|
|
50
50
|
const ModifyTargetWeightResponse = models.ModifyTargetWeightResponse;
|
|
51
|
+
const ZoneResource = models.ZoneResource;
|
|
51
52
|
const DescribeTaskStatusRequest = models.DescribeTaskStatusRequest;
|
|
52
53
|
const TargetGroupInstance = models.TargetGroupInstance;
|
|
53
54
|
const DescribeClassicalLBByInstanceIdResponse = models.DescribeClassicalLBByInstanceIdResponse;
|
|
@@ -106,6 +107,7 @@ const MigrateClassicalLoadBalancersRequest = models.MigrateClassicalLoadBalancer
|
|
|
106
107
|
const DescribeLoadBalancersDetailRequest = models.DescribeLoadBalancersDetailRequest;
|
|
107
108
|
const TargetGroupBackend = models.TargetGroupBackend;
|
|
108
109
|
const DescribeClassicalLBByInstanceIdRequest = models.DescribeClassicalLBByInstanceIdRequest;
|
|
110
|
+
const DescribeResourcesResponse = models.DescribeResourcesResponse;
|
|
109
111
|
const ManualRewriteResponse = models.ManualRewriteResponse;
|
|
110
112
|
const ModifyBlockIPListRequest = models.ModifyBlockIPListRequest;
|
|
111
113
|
const ModifyBlockIPListResponse = models.ModifyBlockIPListResponse;
|
|
@@ -119,6 +121,7 @@ const ClassicalListener = models.ClassicalListener;
|
|
|
119
121
|
const DeleteLoadBalancerRequest = models.DeleteLoadBalancerRequest;
|
|
120
122
|
const CertificateInput = models.CertificateInput;
|
|
121
123
|
const DescribeCustomizedConfigAssociateListResponse = models.DescribeCustomizedConfigAssociateListResponse;
|
|
124
|
+
const SetCustomizedConfigForLoadBalancerRequest = models.SetCustomizedConfigForLoadBalancerRequest;
|
|
122
125
|
const CreateListenerResponse = models.CreateListenerResponse;
|
|
123
126
|
const CreateTargetGroupResponse = models.CreateTargetGroupResponse;
|
|
124
127
|
const MigrateClassicalLoadBalancersResponse = models.MigrateClassicalLoadBalancersResponse;
|
|
@@ -148,6 +151,7 @@ const ModifyDomainResponse = models.ModifyDomainResponse;
|
|
|
148
151
|
const RegisterTargetsResponse = models.RegisterTargetsResponse;
|
|
149
152
|
const DeregisterTargetsFromClassicalLBResponse = models.DeregisterTargetsFromClassicalLBResponse;
|
|
150
153
|
const DescribeLoadBalancersRequest = models.DescribeLoadBalancersRequest;
|
|
154
|
+
const SetCustomizedConfigForLoadBalancerResponse = models.SetCustomizedConfigForLoadBalancerResponse;
|
|
151
155
|
const DeleteLoadBalancerResponse = models.DeleteLoadBalancerResponse;
|
|
152
156
|
const AutoRewriteResponse = models.AutoRewriteResponse;
|
|
153
157
|
const DeregisterTargetsResponse = models.DeregisterTargetsResponse;
|
|
@@ -182,10 +186,12 @@ const RuleInput = models.RuleInput;
|
|
|
182
186
|
const TagInfo = models.TagInfo;
|
|
183
187
|
const SnatIp = models.SnatIp;
|
|
184
188
|
const DescribeBlockIPTaskResponse = models.DescribeBlockIPTaskResponse;
|
|
189
|
+
const DescribeResourcesRequest = models.DescribeResourcesRequest;
|
|
185
190
|
const DescribeClassicalLBListenersResponse = models.DescribeClassicalLBListenersResponse;
|
|
186
191
|
const ModifyTargetGroupAttributeResponse = models.ModifyTargetGroupAttributeResponse;
|
|
187
192
|
const ModifyLoadBalancerSlaRequest = models.ModifyLoadBalancerSlaRequest;
|
|
188
193
|
const DescribeBlockIPTaskRequest = models.DescribeBlockIPTaskRequest;
|
|
194
|
+
const Resource = models.Resource;
|
|
189
195
|
const CreateLoadBalancerResponse = models.CreateLoadBalancerResponse;
|
|
190
196
|
const DescribeRewriteResponse = models.DescribeRewriteResponse;
|
|
191
197
|
const Quota = models.Quota;
|
|
@@ -238,14 +244,15 @@ This is an async API. After it is returned successfully, you can call the Descri
|
|
|
238
244
|
}
|
|
239
245
|
|
|
240
246
|
/**
|
|
241
|
-
* This API is used to
|
|
242
|
-
|
|
243
|
-
* @param {
|
|
247
|
+
* This API is used to modify the domain name-level attributes of a layer-7 listener's forwarding rule, such as modifying the domain name, changing the DefaultServer, enabling/disabling HTTP/2, and modifying certificates.
|
|
248
|
+
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestId as an input parameter to check whether this task is successful.
|
|
249
|
+
* @param {ModifyDomainAttributesRequest} req
|
|
250
|
+
* @param {function(string, ModifyDomainAttributesResponse):void} cb
|
|
244
251
|
* @public
|
|
245
252
|
*/
|
|
246
|
-
|
|
247
|
-
let resp = new
|
|
248
|
-
this.request("
|
|
253
|
+
ModifyDomainAttributes(req, cb) {
|
|
254
|
+
let resp = new ModifyDomainAttributesResponse();
|
|
255
|
+
this.request("ModifyDomainAttributes", req, resp, cb);
|
|
249
256
|
}
|
|
250
257
|
|
|
251
258
|
/**
|
|
@@ -455,6 +462,17 @@ During an unbinding operation, the input parameters need to be all the security
|
|
|
455
462
|
this.request("DeleteTargetGroups", req, resp, cb);
|
|
456
463
|
}
|
|
457
464
|
|
|
465
|
+
/**
|
|
466
|
+
* This API is used to upgrade shared CLB instances to LCU-supported CLB instances.
|
|
467
|
+
* @param {ModifyLoadBalancerSlaRequest} req
|
|
468
|
+
* @param {function(string, ModifyLoadBalancerSlaResponse):void} cb
|
|
469
|
+
* @public
|
|
470
|
+
*/
|
|
471
|
+
ModifyLoadBalancerSla(req, cb) {
|
|
472
|
+
let resp = new ModifyLoadBalancerSlaResponse();
|
|
473
|
+
this.request("ModifyLoadBalancerSla", req, resp, cb);
|
|
474
|
+
}
|
|
475
|
+
|
|
458
476
|
/**
|
|
459
477
|
* This API is used to modify the client IP blocklist of a CLB instance. One forwarding rule supports blocking up to 2,000,000 IPs. One blocklist can contain up to 2,000,000 entries.
|
|
460
478
|
(This API is in beta test. To use it, please submit a ticket.)
|
|
@@ -513,15 +531,14 @@ This is an async API. After it is returned successfully, you can call the Descri
|
|
|
513
531
|
}
|
|
514
532
|
|
|
515
533
|
/**
|
|
516
|
-
* This API is used to
|
|
517
|
-
|
|
518
|
-
* @param {
|
|
519
|
-
* @param {function(string, ModifyDomainAttributesResponse):void} cb
|
|
534
|
+
* This API is used to query the list of AZs and resources supported for the user in the current region.
|
|
535
|
+
* @param {DescribeResourcesRequest} req
|
|
536
|
+
* @param {function(string, DescribeResourcesResponse):void} cb
|
|
520
537
|
* @public
|
|
521
538
|
*/
|
|
522
|
-
|
|
523
|
-
let resp = new
|
|
524
|
-
this.request("
|
|
539
|
+
DescribeResources(req, cb) {
|
|
540
|
+
let resp = new DescribeResourcesResponse();
|
|
541
|
+
this.request("DescribeResources", req, resp, cb);
|
|
525
542
|
}
|
|
526
543
|
|
|
527
544
|
/**
|
|
@@ -733,6 +750,17 @@ This is an async API. After it is returned successfully, you can call the Descri
|
|
|
733
750
|
this.request("DescribeTaskStatus", req, resp, cb);
|
|
734
751
|
}
|
|
735
752
|
|
|
753
|
+
/**
|
|
754
|
+
* This API is used to create or manage a user-defined CLB configuration template.
|
|
755
|
+
* @param {SetCustomizedConfigForLoadBalancerRequest} req
|
|
756
|
+
* @param {function(string, SetCustomizedConfigForLoadBalancerResponse):void} cb
|
|
757
|
+
* @public
|
|
758
|
+
*/
|
|
759
|
+
SetCustomizedConfigForLoadBalancer(req, cb) {
|
|
760
|
+
let resp = new SetCustomizedConfigForLoadBalancerResponse();
|
|
761
|
+
this.request("SetCustomizedConfigForLoadBalancer", req, resp, cb);
|
|
762
|
+
}
|
|
763
|
+
|
|
736
764
|
/**
|
|
737
765
|
* This API (ModifyRule) is used to modify the attributes of a forwarding rule under a layer-7 CLB listener, such as forwarding path, health check attribute, and forwarding policy.
|
|
738
766
|
This is an async API. After it is returned successfully, you can call the DescribeTaskStatus API with the returned RequestID as an input parameter to check whether this task is successful.
|
|
@@ -1828,6 +1828,79 @@ class ModifyTargetWeightResponse extends AbstractModel {
|
|
|
1828
1828
|
}
|
|
1829
1829
|
}
|
|
1830
1830
|
|
|
1831
|
+
/**
|
|
1832
|
+
* List of AZs
|
|
1833
|
+
* @class
|
|
1834
|
+
*/
|
|
1835
|
+
class ZoneResource extends AbstractModel {
|
|
1836
|
+
constructor(){
|
|
1837
|
+
super();
|
|
1838
|
+
|
|
1839
|
+
/**
|
|
1840
|
+
* Primary AZ, such as "ap-guangzhou-1".
|
|
1841
|
+
* @type {string || null}
|
|
1842
|
+
*/
|
|
1843
|
+
this.MasterZone = null;
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* List of resources
|
|
1847
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1848
|
+
* @type {Array.<Resource> || null}
|
|
1849
|
+
*/
|
|
1850
|
+
this.ResourceSet = null;
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* Secondary AZ, such as "ap-guangzhou-2".
|
|
1854
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1855
|
+
* @type {string || null}
|
|
1856
|
+
*/
|
|
1857
|
+
this.SlaveZone = null;
|
|
1858
|
+
|
|
1859
|
+
/**
|
|
1860
|
+
* IP version. Values: `IPv4`, `IPv6`, and `IPv6_Nat`.
|
|
1861
|
+
* @type {string || null}
|
|
1862
|
+
*/
|
|
1863
|
+
this.IPVersion = null;
|
|
1864
|
+
|
|
1865
|
+
/**
|
|
1866
|
+
* Region of the AZ, such as `ap-guangzhou`.
|
|
1867
|
+
* @type {string || null}
|
|
1868
|
+
*/
|
|
1869
|
+
this.ZoneRegion = null;
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* Whether the AZ is a `LocalZone`. Values: `true`, `false`.
|
|
1873
|
+
* @type {boolean || null}
|
|
1874
|
+
*/
|
|
1875
|
+
this.LocalZone = null;
|
|
1876
|
+
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
/**
|
|
1880
|
+
* @private
|
|
1881
|
+
*/
|
|
1882
|
+
deserialize(params) {
|
|
1883
|
+
if (!params) {
|
|
1884
|
+
return;
|
|
1885
|
+
}
|
|
1886
|
+
this.MasterZone = 'MasterZone' in params ? params.MasterZone : null;
|
|
1887
|
+
|
|
1888
|
+
if (params.ResourceSet) {
|
|
1889
|
+
this.ResourceSet = new Array();
|
|
1890
|
+
for (let z in params.ResourceSet) {
|
|
1891
|
+
let obj = new Resource();
|
|
1892
|
+
obj.deserialize(params.ResourceSet[z]);
|
|
1893
|
+
this.ResourceSet.push(obj);
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
this.SlaveZone = 'SlaveZone' in params ? params.SlaveZone : null;
|
|
1897
|
+
this.IPVersion = 'IPVersion' in params ? params.IPVersion : null;
|
|
1898
|
+
this.ZoneRegion = 'ZoneRegion' in params ? params.ZoneRegion : null;
|
|
1899
|
+
this.LocalZone = 'LocalZone' in params ? params.LocalZone : null;
|
|
1900
|
+
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1831
1904
|
/**
|
|
1832
1905
|
* DescribeTaskStatus request structure.
|
|
1833
1906
|
* @class
|
|
@@ -4820,6 +4893,56 @@ class DescribeClassicalLBByInstanceIdRequest extends AbstractModel {
|
|
|
4820
4893
|
}
|
|
4821
4894
|
}
|
|
4822
4895
|
|
|
4896
|
+
/**
|
|
4897
|
+
* DescribeResources response structure.
|
|
4898
|
+
* @class
|
|
4899
|
+
*/
|
|
4900
|
+
class DescribeResourcesResponse extends AbstractModel {
|
|
4901
|
+
constructor(){
|
|
4902
|
+
super();
|
|
4903
|
+
|
|
4904
|
+
/**
|
|
4905
|
+
* List of resources supported by the AZ
|
|
4906
|
+
* @type {Array.<ZoneResource> || null}
|
|
4907
|
+
*/
|
|
4908
|
+
this.ZoneResourceSet = null;
|
|
4909
|
+
|
|
4910
|
+
/**
|
|
4911
|
+
* Number of entries in the AZ resource list.
|
|
4912
|
+
* @type {number || null}
|
|
4913
|
+
*/
|
|
4914
|
+
this.TotalCount = null;
|
|
4915
|
+
|
|
4916
|
+
/**
|
|
4917
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
4918
|
+
* @type {string || null}
|
|
4919
|
+
*/
|
|
4920
|
+
this.RequestId = null;
|
|
4921
|
+
|
|
4922
|
+
}
|
|
4923
|
+
|
|
4924
|
+
/**
|
|
4925
|
+
* @private
|
|
4926
|
+
*/
|
|
4927
|
+
deserialize(params) {
|
|
4928
|
+
if (!params) {
|
|
4929
|
+
return;
|
|
4930
|
+
}
|
|
4931
|
+
|
|
4932
|
+
if (params.ZoneResourceSet) {
|
|
4933
|
+
this.ZoneResourceSet = new Array();
|
|
4934
|
+
for (let z in params.ZoneResourceSet) {
|
|
4935
|
+
let obj = new ZoneResource();
|
|
4936
|
+
obj.deserialize(params.ZoneResourceSet[z]);
|
|
4937
|
+
this.ZoneResourceSet.push(obj);
|
|
4938
|
+
}
|
|
4939
|
+
}
|
|
4940
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
4941
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4942
|
+
|
|
4943
|
+
}
|
|
4944
|
+
}
|
|
4945
|
+
|
|
4823
4946
|
/**
|
|
4824
4947
|
* ManualRewrite response structure.
|
|
4825
4948
|
* @class
|
|
@@ -5530,6 +5653,62 @@ class DescribeCustomizedConfigAssociateListResponse extends AbstractModel {
|
|
|
5530
5653
|
}
|
|
5531
5654
|
}
|
|
5532
5655
|
|
|
5656
|
+
/**
|
|
5657
|
+
* SetCustomizedConfigForLoadBalancer request structure.
|
|
5658
|
+
* @class
|
|
5659
|
+
*/
|
|
5660
|
+
class SetCustomizedConfigForLoadBalancerRequest extends AbstractModel {
|
|
5661
|
+
constructor(){
|
|
5662
|
+
super();
|
|
5663
|
+
|
|
5664
|
+
/**
|
|
5665
|
+
* Operation type: `ADD`, `DELETE`, `UPDATE`, `BIND`, `UNBIND`
|
|
5666
|
+
* @type {string || null}
|
|
5667
|
+
*/
|
|
5668
|
+
this.OperationType = null;
|
|
5669
|
+
|
|
5670
|
+
/**
|
|
5671
|
+
* This field is required except for creating custom configurations, such as "pz-1234abcd".
|
|
5672
|
+
* @type {string || null}
|
|
5673
|
+
*/
|
|
5674
|
+
this.UconfigId = null;
|
|
5675
|
+
|
|
5676
|
+
/**
|
|
5677
|
+
* This field is required when creating or modifying custom configurations.
|
|
5678
|
+
* @type {string || null}
|
|
5679
|
+
*/
|
|
5680
|
+
this.ConfigContent = null;
|
|
5681
|
+
|
|
5682
|
+
/**
|
|
5683
|
+
* This field is required when creating or renaming custom configurations.
|
|
5684
|
+
* @type {string || null}
|
|
5685
|
+
*/
|
|
5686
|
+
this.ConfigName = null;
|
|
5687
|
+
|
|
5688
|
+
/**
|
|
5689
|
+
* This field is required when binding/unbinding resources.
|
|
5690
|
+
* @type {Array.<string> || null}
|
|
5691
|
+
*/
|
|
5692
|
+
this.LoadBalancerIds = null;
|
|
5693
|
+
|
|
5694
|
+
}
|
|
5695
|
+
|
|
5696
|
+
/**
|
|
5697
|
+
* @private
|
|
5698
|
+
*/
|
|
5699
|
+
deserialize(params) {
|
|
5700
|
+
if (!params) {
|
|
5701
|
+
return;
|
|
5702
|
+
}
|
|
5703
|
+
this.OperationType = 'OperationType' in params ? params.OperationType : null;
|
|
5704
|
+
this.UconfigId = 'UconfigId' in params ? params.UconfigId : null;
|
|
5705
|
+
this.ConfigContent = 'ConfigContent' in params ? params.ConfigContent : null;
|
|
5706
|
+
this.ConfigName = 'ConfigName' in params ? params.ConfigName : null;
|
|
5707
|
+
this.LoadBalancerIds = 'LoadBalancerIds' in params ? params.LoadBalancerIds : null;
|
|
5708
|
+
|
|
5709
|
+
}
|
|
5710
|
+
}
|
|
5711
|
+
|
|
5533
5712
|
/**
|
|
5534
5713
|
* CreateListener response structure.
|
|
5535
5714
|
* @class
|
|
@@ -6956,7 +7135,7 @@ class DescribeLoadBalancersRequest extends AbstractModel {
|
|
|
6956
7135
|
super();
|
|
6957
7136
|
|
|
6958
7137
|
/**
|
|
6959
|
-
* CLB instance
|
|
7138
|
+
* CLB instance IDs. There can be up to 20 IDs.
|
|
6960
7139
|
* @type {Array.<string> || null}
|
|
6961
7140
|
*/
|
|
6962
7141
|
this.LoadBalancerIds = null;
|
|
@@ -7112,6 +7291,41 @@ Basic network does not support queries by VpcId.
|
|
|
7112
7291
|
}
|
|
7113
7292
|
}
|
|
7114
7293
|
|
|
7294
|
+
/**
|
|
7295
|
+
* SetCustomizedConfigForLoadBalancer response structure.
|
|
7296
|
+
* @class
|
|
7297
|
+
*/
|
|
7298
|
+
class SetCustomizedConfigForLoadBalancerResponse extends AbstractModel {
|
|
7299
|
+
constructor(){
|
|
7300
|
+
super();
|
|
7301
|
+
|
|
7302
|
+
/**
|
|
7303
|
+
* Configuration ID, such as "pz-1234abcd"
|
|
7304
|
+
* @type {string || null}
|
|
7305
|
+
*/
|
|
7306
|
+
this.ConfigId = null;
|
|
7307
|
+
|
|
7308
|
+
/**
|
|
7309
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
7310
|
+
* @type {string || null}
|
|
7311
|
+
*/
|
|
7312
|
+
this.RequestId = null;
|
|
7313
|
+
|
|
7314
|
+
}
|
|
7315
|
+
|
|
7316
|
+
/**
|
|
7317
|
+
* @private
|
|
7318
|
+
*/
|
|
7319
|
+
deserialize(params) {
|
|
7320
|
+
if (!params) {
|
|
7321
|
+
return;
|
|
7322
|
+
}
|
|
7323
|
+
this.ConfigId = 'ConfigId' in params ? params.ConfigId : null;
|
|
7324
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7325
|
+
|
|
7326
|
+
}
|
|
7327
|
+
}
|
|
7328
|
+
|
|
7115
7329
|
/**
|
|
7116
7330
|
* DeleteLoadBalancer response structure.
|
|
7117
7331
|
* @class
|
|
@@ -8960,6 +9174,58 @@ class DescribeBlockIPTaskResponse extends AbstractModel {
|
|
|
8960
9174
|
}
|
|
8961
9175
|
}
|
|
8962
9176
|
|
|
9177
|
+
/**
|
|
9178
|
+
* DescribeResources request structure.
|
|
9179
|
+
* @class
|
|
9180
|
+
*/
|
|
9181
|
+
class DescribeResourcesRequest extends AbstractModel {
|
|
9182
|
+
constructor(){
|
|
9183
|
+
super();
|
|
9184
|
+
|
|
9185
|
+
/**
|
|
9186
|
+
* Number of returned AZ resources. Default value: 20. Maximum value: 100.
|
|
9187
|
+
* @type {number || null}
|
|
9188
|
+
*/
|
|
9189
|
+
this.Limit = null;
|
|
9190
|
+
|
|
9191
|
+
/**
|
|
9192
|
+
* Starting offset of the returned AZ resource list. Default value: 0.
|
|
9193
|
+
* @type {number || null}
|
|
9194
|
+
*/
|
|
9195
|
+
this.Offset = null;
|
|
9196
|
+
|
|
9197
|
+
/**
|
|
9198
|
+
* Filter to query the list of AZ resources as detailed below:
|
|
9199
|
+
<li> `zone` - String - Optional - Filter by AZ, such as "ap-guangzhou-1".</li>
|
|
9200
|
+
<li> `isp` -- String - Optional - Filter by the ISP. Values: `BGP`, `CMCC`, `CUCC` and `CTCC`.</li>
|
|
9201
|
+
* @type {Array.<Filter> || null}
|
|
9202
|
+
*/
|
|
9203
|
+
this.Filters = null;
|
|
9204
|
+
|
|
9205
|
+
}
|
|
9206
|
+
|
|
9207
|
+
/**
|
|
9208
|
+
* @private
|
|
9209
|
+
*/
|
|
9210
|
+
deserialize(params) {
|
|
9211
|
+
if (!params) {
|
|
9212
|
+
return;
|
|
9213
|
+
}
|
|
9214
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
9215
|
+
this.Offset = 'Offset' in params ? params.Offset : null;
|
|
9216
|
+
|
|
9217
|
+
if (params.Filters) {
|
|
9218
|
+
this.Filters = new Array();
|
|
9219
|
+
for (let z in params.Filters) {
|
|
9220
|
+
let obj = new Filter();
|
|
9221
|
+
obj.deserialize(params.Filters[z]);
|
|
9222
|
+
this.Filters.push(obj);
|
|
9223
|
+
}
|
|
9224
|
+
}
|
|
9225
|
+
|
|
9226
|
+
}
|
|
9227
|
+
}
|
|
9228
|
+
|
|
8963
9229
|
/**
|
|
8964
9230
|
* DescribeClassicalLBListeners response structure.
|
|
8965
9231
|
* @class
|
|
@@ -9096,6 +9362,41 @@ class DescribeBlockIPTaskRequest extends AbstractModel {
|
|
|
9096
9362
|
}
|
|
9097
9363
|
}
|
|
9098
9364
|
|
|
9365
|
+
/**
|
|
9366
|
+
* Resource details
|
|
9367
|
+
* @class
|
|
9368
|
+
*/
|
|
9369
|
+
class Resource extends AbstractModel {
|
|
9370
|
+
constructor(){
|
|
9371
|
+
super();
|
|
9372
|
+
|
|
9373
|
+
/**
|
|
9374
|
+
* Specific ISP resource information, Vaules: `CMCC`, `CUCC`, `CTCC`, `BGP`, and `INTERNAL`.
|
|
9375
|
+
* @type {Array.<string> || null}
|
|
9376
|
+
*/
|
|
9377
|
+
this.Type = null;
|
|
9378
|
+
|
|
9379
|
+
/**
|
|
9380
|
+
* ISP information, such as `CMCC`, `CUCC`, `CTCC`, `BGP`, and `INTERNAL`.
|
|
9381
|
+
* @type {string || null}
|
|
9382
|
+
*/
|
|
9383
|
+
this.Isp = null;
|
|
9384
|
+
|
|
9385
|
+
}
|
|
9386
|
+
|
|
9387
|
+
/**
|
|
9388
|
+
* @private
|
|
9389
|
+
*/
|
|
9390
|
+
deserialize(params) {
|
|
9391
|
+
if (!params) {
|
|
9392
|
+
return;
|
|
9393
|
+
}
|
|
9394
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
9395
|
+
this.Isp = 'Isp' in params ? params.Isp : null;
|
|
9396
|
+
|
|
9397
|
+
}
|
|
9398
|
+
}
|
|
9399
|
+
|
|
9099
9400
|
/**
|
|
9100
9401
|
* CreateLoadBalancer response structure.
|
|
9101
9402
|
* @class
|
|
@@ -10938,6 +11239,7 @@ module.exports = {
|
|
|
10938
11239
|
SetSecurityGroupForLoadbalancersResponse: SetSecurityGroupForLoadbalancersResponse,
|
|
10939
11240
|
BasicTargetGroupInfo: BasicTargetGroupInfo,
|
|
10940
11241
|
ModifyTargetWeightResponse: ModifyTargetWeightResponse,
|
|
11242
|
+
ZoneResource: ZoneResource,
|
|
10941
11243
|
DescribeTaskStatusRequest: DescribeTaskStatusRequest,
|
|
10942
11244
|
TargetGroupInstance: TargetGroupInstance,
|
|
10943
11245
|
DescribeClassicalLBByInstanceIdResponse: DescribeClassicalLBByInstanceIdResponse,
|
|
@@ -10996,6 +11298,7 @@ module.exports = {
|
|
|
10996
11298
|
DescribeLoadBalancersDetailRequest: DescribeLoadBalancersDetailRequest,
|
|
10997
11299
|
TargetGroupBackend: TargetGroupBackend,
|
|
10998
11300
|
DescribeClassicalLBByInstanceIdRequest: DescribeClassicalLBByInstanceIdRequest,
|
|
11301
|
+
DescribeResourcesResponse: DescribeResourcesResponse,
|
|
10999
11302
|
ManualRewriteResponse: ManualRewriteResponse,
|
|
11000
11303
|
ModifyBlockIPListRequest: ModifyBlockIPListRequest,
|
|
11001
11304
|
ModifyBlockIPListResponse: ModifyBlockIPListResponse,
|
|
@@ -11009,6 +11312,7 @@ module.exports = {
|
|
|
11009
11312
|
DeleteLoadBalancerRequest: DeleteLoadBalancerRequest,
|
|
11010
11313
|
CertificateInput: CertificateInput,
|
|
11011
11314
|
DescribeCustomizedConfigAssociateListResponse: DescribeCustomizedConfigAssociateListResponse,
|
|
11315
|
+
SetCustomizedConfigForLoadBalancerRequest: SetCustomizedConfigForLoadBalancerRequest,
|
|
11012
11316
|
CreateListenerResponse: CreateListenerResponse,
|
|
11013
11317
|
CreateTargetGroupResponse: CreateTargetGroupResponse,
|
|
11014
11318
|
MigrateClassicalLoadBalancersResponse: MigrateClassicalLoadBalancersResponse,
|
|
@@ -11038,6 +11342,7 @@ module.exports = {
|
|
|
11038
11342
|
RegisterTargetsResponse: RegisterTargetsResponse,
|
|
11039
11343
|
DeregisterTargetsFromClassicalLBResponse: DeregisterTargetsFromClassicalLBResponse,
|
|
11040
11344
|
DescribeLoadBalancersRequest: DescribeLoadBalancersRequest,
|
|
11345
|
+
SetCustomizedConfigForLoadBalancerResponse: SetCustomizedConfigForLoadBalancerResponse,
|
|
11041
11346
|
DeleteLoadBalancerResponse: DeleteLoadBalancerResponse,
|
|
11042
11347
|
AutoRewriteResponse: AutoRewriteResponse,
|
|
11043
11348
|
DeregisterTargetsResponse: DeregisterTargetsResponse,
|
|
@@ -11072,10 +11377,12 @@ module.exports = {
|
|
|
11072
11377
|
TagInfo: TagInfo,
|
|
11073
11378
|
SnatIp: SnatIp,
|
|
11074
11379
|
DescribeBlockIPTaskResponse: DescribeBlockIPTaskResponse,
|
|
11380
|
+
DescribeResourcesRequest: DescribeResourcesRequest,
|
|
11075
11381
|
DescribeClassicalLBListenersResponse: DescribeClassicalLBListenersResponse,
|
|
11076
11382
|
ModifyTargetGroupAttributeResponse: ModifyTargetGroupAttributeResponse,
|
|
11077
11383
|
ModifyLoadBalancerSlaRequest: ModifyLoadBalancerSlaRequest,
|
|
11078
11384
|
DescribeBlockIPTaskRequest: DescribeBlockIPTaskRequest,
|
|
11385
|
+
Resource: Resource,
|
|
11079
11386
|
CreateLoadBalancerResponse: CreateLoadBalancerResponse,
|
|
11080
11387
|
DescribeRewriteResponse: DescribeRewriteResponse,
|
|
11081
11388
|
Quota: Quota,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.562";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -4855,7 +4855,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4855
4855
|
this.CurrentTime = null;
|
|
4856
4856
|
|
|
4857
4857
|
/**
|
|
4858
|
-
* Whether
|
|
4858
|
+
* Whether it is used in a federation. Valid values: `0` (no), `1` (yes).
|
|
4859
4859
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4860
4860
|
* @type {number || null}
|
|
4861
4861
|
*/
|
|
@@ -5438,6 +5438,13 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
5438
5438
|
*/
|
|
5439
5439
|
this.IsMultiZoneCluster = null;
|
|
5440
5440
|
|
|
5441
|
+
/**
|
|
5442
|
+
* Whether it is a manually deployed cluster
|
|
5443
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
5444
|
+
* @type {boolean || null}
|
|
5445
|
+
*/
|
|
5446
|
+
this.IsHandsCluster = null;
|
|
5447
|
+
|
|
5441
5448
|
}
|
|
5442
5449
|
|
|
5443
5450
|
/**
|
|
@@ -5482,6 +5489,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
5482
5489
|
this.UniqSubnetId = 'UniqSubnetId' in params ? params.UniqSubnetId : null;
|
|
5483
5490
|
this.ClusterClass = 'ClusterClass' in params ? params.ClusterClass : null;
|
|
5484
5491
|
this.IsMultiZoneCluster = 'IsMultiZoneCluster' in params ? params.IsMultiZoneCluster : null;
|
|
5492
|
+
this.IsHandsCluster = 'IsHandsCluster' in params ? params.IsHandsCluster : null;
|
|
5485
5493
|
|
|
5486
5494
|
}
|
|
5487
5495
|
}
|
|
@@ -5924,6 +5932,12 @@ When `HardwareResourceType` is `pod`, this parameter does not take effect.
|
|
|
5924
5932
|
*/
|
|
5925
5933
|
this.ScaleOutServiceConfAssign = null;
|
|
5926
5934
|
|
|
5935
|
+
/**
|
|
5936
|
+
* Whether to enable auto-renewal. Valid values: `0` (no), `1` (yes).
|
|
5937
|
+
* @type {number || null}
|
|
5938
|
+
*/
|
|
5939
|
+
this.AutoRenew = null;
|
|
5940
|
+
|
|
5927
5941
|
}
|
|
5928
5942
|
|
|
5929
5943
|
/**
|
|
@@ -5984,6 +5998,7 @@ When `HardwareResourceType` is `pod`, this parameter does not take effect.
|
|
|
5984
5998
|
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
5985
5999
|
this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
|
|
5986
6000
|
this.ScaleOutServiceConfAssign = 'ScaleOutServiceConfAssign' in params ? params.ScaleOutServiceConfAssign : null;
|
|
6001
|
+
this.AutoRenew = 'AutoRenew' in params ? params.AutoRenew : null;
|
|
5987
6002
|
|
|
5988
6003
|
}
|
|
5989
6004
|
}
|
|
@@ -192,6 +192,13 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
192
192
|
*/
|
|
193
193
|
this.FrozenMinAge = null;
|
|
194
194
|
|
|
195
|
+
/**
|
|
196
|
+
* /
|
|
197
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
198
|
+
* @type {string || null}
|
|
199
|
+
*/
|
|
200
|
+
this.ColdAction = null;
|
|
201
|
+
|
|
195
202
|
}
|
|
196
203
|
|
|
197
204
|
/**
|
|
@@ -207,6 +214,7 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
207
214
|
this.ColdMinAge = 'ColdMinAge' in params ? params.ColdMinAge : null;
|
|
208
215
|
this.FrozenEnable = 'FrozenEnable' in params ? params.FrozenEnable : null;
|
|
209
216
|
this.FrozenMinAge = 'FrozenMinAge' in params ? params.FrozenMinAge : null;
|
|
217
|
+
this.ColdAction = 'ColdAction' in params ? params.ColdAction : null;
|
|
210
218
|
|
|
211
219
|
}
|
|
212
220
|
}
|
|
@@ -285,6 +293,13 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
285
293
|
*/
|
|
286
294
|
this.MemSize = null;
|
|
287
295
|
|
|
296
|
+
/**
|
|
297
|
+
* /
|
|
298
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
299
|
+
* @type {number || null}
|
|
300
|
+
*/
|
|
301
|
+
this.DiskEnhance = null;
|
|
302
|
+
|
|
288
303
|
}
|
|
289
304
|
|
|
290
305
|
/**
|
|
@@ -309,6 +324,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
309
324
|
this.DiskEncrypt = 'DiskEncrypt' in params ? params.DiskEncrypt : null;
|
|
310
325
|
this.CpuNum = 'CpuNum' in params ? params.CpuNum : null;
|
|
311
326
|
this.MemSize = 'MemSize' in params ? params.MemSize : null;
|
|
327
|
+
this.DiskEnhance = 'DiskEnhance' in params ? params.DiskEnhance : null;
|
|
312
328
|
|
|
313
329
|
}
|
|
314
330
|
}
|
|
@@ -1729,6 +1745,12 @@ Dedicated primary node disk size in GB, which is optional. If passed in, it can
|
|
|
1729
1745
|
*/
|
|
1730
1746
|
this.EnableHybridStorage = null;
|
|
1731
1747
|
|
|
1748
|
+
/**
|
|
1749
|
+
* Whether to enable enhanced SSD
|
|
1750
|
+
* @type {number || null}
|
|
1751
|
+
*/
|
|
1752
|
+
this.DiskEnhance = null;
|
|
1753
|
+
|
|
1732
1754
|
}
|
|
1733
1755
|
|
|
1734
1756
|
/**
|
|
@@ -1804,6 +1826,7 @@ Dedicated primary node disk size in GB, which is optional. If passed in, it can
|
|
|
1804
1826
|
this.OperationDuration = obj;
|
|
1805
1827
|
}
|
|
1806
1828
|
this.EnableHybridStorage = 'EnableHybridStorage' in params ? params.EnableHybridStorage : null;
|
|
1829
|
+
this.DiskEnhance = 'DiskEnhance' in params ? params.DiskEnhance : null;
|
|
1807
1830
|
|
|
1808
1831
|
}
|
|
1809
1832
|
}
|
|
@@ -1893,7 +1916,7 @@ class InstanceInfo extends AbstractModel {
|
|
|
1893
1916
|
this.SubnetUid = null;
|
|
1894
1917
|
|
|
1895
1918
|
/**
|
|
1896
|
-
* Instance status. 0
|
|
1919
|
+
* Instance status. `0`: Processing; `1`: Normal; `-1`: `Stopped`; `-2`: Being terminated; `-3`: Terminated; `2`: Initializing during the cluster creation.
|
|
1897
1920
|
* @type {number || null}
|
|
1898
1921
|
*/
|
|
1899
1922
|
this.Status = null;
|
|
@@ -2361,6 +2384,20 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2361
2384
|
*/
|
|
2362
2385
|
this.EnableHybridStorage = null;
|
|
2363
2386
|
|
|
2387
|
+
/**
|
|
2388
|
+
* The process progress
|
|
2389
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2390
|
+
* @type {number || null}
|
|
2391
|
+
*/
|
|
2392
|
+
this.ProcessPercent = null;
|
|
2393
|
+
|
|
2394
|
+
/**
|
|
2395
|
+
* The alerting policy of Kibana over the public network. <li>`OPEN`: Enable the policy;</li><li>`CLOSE`: Disable the policy.
|
|
2396
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2397
|
+
* @type {string || null}
|
|
2398
|
+
*/
|
|
2399
|
+
this.KibanaAlteringPublicAccess = null;
|
|
2400
|
+
|
|
2364
2401
|
}
|
|
2365
2402
|
|
|
2366
2403
|
/**
|
|
@@ -2529,6 +2566,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2529
2566
|
}
|
|
2530
2567
|
this.AutoIndexEnabled = 'AutoIndexEnabled' in params ? params.AutoIndexEnabled : null;
|
|
2531
2568
|
this.EnableHybridStorage = 'EnableHybridStorage' in params ? params.EnableHybridStorage : null;
|
|
2569
|
+
this.ProcessPercent = 'ProcessPercent' in params ? params.ProcessPercent : null;
|
|
2570
|
+
this.KibanaAlteringPublicAccess = 'KibanaAlteringPublicAccess' in params ? params.KibanaAlteringPublicAccess : null;
|
|
2532
2571
|
|
|
2533
2572
|
}
|
|
2534
2573
|
}
|
|
@@ -291,6 +291,55 @@ class AccountVpcInfoOutput extends AbstractModel {
|
|
|
291
291
|
}
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
+
/**
|
|
295
|
+
* ModifyRecordsStatus response structure.
|
|
296
|
+
* @class
|
|
297
|
+
*/
|
|
298
|
+
class ModifyRecordsStatusResponse extends AbstractModel {
|
|
299
|
+
constructor(){
|
|
300
|
+
super();
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* The private domain ID
|
|
304
|
+
* @type {string || null}
|
|
305
|
+
*/
|
|
306
|
+
this.ZoneId = null;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* The DNS record IDs.
|
|
310
|
+
* @type {Array.<number> || null}
|
|
311
|
+
*/
|
|
312
|
+
this.RecordIds = null;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* `enabled`: Enabled; `disabled`: Disabled.
|
|
316
|
+
* @type {string || null}
|
|
317
|
+
*/
|
|
318
|
+
this.Status = null;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
322
|
+
* @type {string || null}
|
|
323
|
+
*/
|
|
324
|
+
this.RequestId = null;
|
|
325
|
+
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* @private
|
|
330
|
+
*/
|
|
331
|
+
deserialize(params) {
|
|
332
|
+
if (!params) {
|
|
333
|
+
return;
|
|
334
|
+
}
|
|
335
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
336
|
+
this.RecordIds = 'RecordIds' in params ? params.RecordIds : null;
|
|
337
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
338
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
339
|
+
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
294
343
|
/**
|
|
295
344
|
* Time statistics
|
|
296
345
|
* @class
|
|
@@ -1446,6 +1495,48 @@ class Filter extends AbstractModel {
|
|
|
1446
1495
|
}
|
|
1447
1496
|
}
|
|
1448
1497
|
|
|
1498
|
+
/**
|
|
1499
|
+
* ModifyRecordsStatus request structure.
|
|
1500
|
+
* @class
|
|
1501
|
+
*/
|
|
1502
|
+
class ModifyRecordsStatusRequest extends AbstractModel {
|
|
1503
|
+
constructor(){
|
|
1504
|
+
super();
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* The private domain ID
|
|
1508
|
+
* @type {string || null}
|
|
1509
|
+
*/
|
|
1510
|
+
this.ZoneId = null;
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* The DNS record IDs.
|
|
1514
|
+
* @type {Array.<number> || null}
|
|
1515
|
+
*/
|
|
1516
|
+
this.RecordIds = null;
|
|
1517
|
+
|
|
1518
|
+
/**
|
|
1519
|
+
* `enabled`: Enable; `disabled`: Disable.
|
|
1520
|
+
* @type {string || null}
|
|
1521
|
+
*/
|
|
1522
|
+
this.Status = null;
|
|
1523
|
+
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
/**
|
|
1527
|
+
* @private
|
|
1528
|
+
*/
|
|
1529
|
+
deserialize(params) {
|
|
1530
|
+
if (!params) {
|
|
1531
|
+
return;
|
|
1532
|
+
}
|
|
1533
|
+
this.ZoneId = 'ZoneId' in params ? params.ZoneId : null;
|
|
1534
|
+
this.RecordIds = 'RecordIds' in params ? params.RecordIds : null;
|
|
1535
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1536
|
+
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1449
1540
|
/**
|
|
1450
1541
|
* CreatePrivateDNSAccount request structure.
|
|
1451
1542
|
* @class
|
|
@@ -1505,6 +1596,13 @@ class MetricData extends AbstractModel {
|
|
|
1505
1596
|
*/
|
|
1506
1597
|
this.DataSet = null;
|
|
1507
1598
|
|
|
1599
|
+
/**
|
|
1600
|
+
* The total number of requests within the query scope.
|
|
1601
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
1602
|
+
* @type {number || null}
|
|
1603
|
+
*/
|
|
1604
|
+
this.MetricCount = null;
|
|
1605
|
+
|
|
1508
1606
|
}
|
|
1509
1607
|
|
|
1510
1608
|
/**
|
|
@@ -1525,6 +1623,7 @@ class MetricData extends AbstractModel {
|
|
|
1525
1623
|
this.DataSet.push(obj);
|
|
1526
1624
|
}
|
|
1527
1625
|
}
|
|
1626
|
+
this.MetricCount = 'MetricCount' in params ? params.MetricCount : null;
|
|
1528
1627
|
|
|
1529
1628
|
}
|
|
1530
1629
|
}
|
|
@@ -1882,6 +1981,7 @@ module.exports = {
|
|
|
1882
1981
|
DescribePrivateDNSAccountListResponse: DescribePrivateDNSAccountListResponse,
|
|
1883
1982
|
PrivateDNSAccount: PrivateDNSAccount,
|
|
1884
1983
|
AccountVpcInfoOutput: AccountVpcInfoOutput,
|
|
1984
|
+
ModifyRecordsStatusResponse: ModifyRecordsStatusResponse,
|
|
1885
1985
|
DatePoint: DatePoint,
|
|
1886
1986
|
DescribeAccountVpcListResponse: DescribeAccountVpcListResponse,
|
|
1887
1987
|
AuditLogInfo: AuditLogInfo,
|
|
@@ -1908,6 +2008,7 @@ module.exports = {
|
|
|
1908
2008
|
SubscribePrivateZoneServiceResponse: SubscribePrivateZoneServiceResponse,
|
|
1909
2009
|
AccountVpcInfoOut: AccountVpcInfoOut,
|
|
1910
2010
|
Filter: Filter,
|
|
2011
|
+
ModifyRecordsStatusRequest: ModifyRecordsStatusRequest,
|
|
1911
2012
|
CreatePrivateDNSAccountRequest: CreatePrivateDNSAccountRequest,
|
|
1912
2013
|
MetricData: MetricData,
|
|
1913
2014
|
DescribePrivateZoneServiceRequest: DescribePrivateZoneServiceRequest,
|
|
@@ -22,6 +22,7 @@ const DescribeAuditLogResponse = models.DescribeAuditLogResponse;
|
|
|
22
22
|
const DescribePrivateDNSAccountListResponse = models.DescribePrivateDNSAccountListResponse;
|
|
23
23
|
const PrivateDNSAccount = models.PrivateDNSAccount;
|
|
24
24
|
const AccountVpcInfoOutput = models.AccountVpcInfoOutput;
|
|
25
|
+
const ModifyRecordsStatusResponse = models.ModifyRecordsStatusResponse;
|
|
25
26
|
const DatePoint = models.DatePoint;
|
|
26
27
|
const DescribeAccountVpcListResponse = models.DescribeAccountVpcListResponse;
|
|
27
28
|
const AuditLogInfo = models.AuditLogInfo;
|
|
@@ -48,6 +49,7 @@ const AuditLog = models.AuditLog;
|
|
|
48
49
|
const SubscribePrivateZoneServiceResponse = models.SubscribePrivateZoneServiceResponse;
|
|
49
50
|
const AccountVpcInfoOut = models.AccountVpcInfoOut;
|
|
50
51
|
const Filter = models.Filter;
|
|
52
|
+
const ModifyRecordsStatusRequest = models.ModifyRecordsStatusRequest;
|
|
51
53
|
const CreatePrivateDNSAccountRequest = models.CreatePrivateDNSAccountRequest;
|
|
52
54
|
const MetricData = models.MetricData;
|
|
53
55
|
const DescribePrivateZoneServiceRequest = models.DescribePrivateZoneServiceRequest;
|
|
@@ -146,6 +148,17 @@ class PrivatednsClient extends AbstractClient {
|
|
|
146
148
|
this.request("CreatePrivateZoneRecord", req, resp, cb);
|
|
147
149
|
}
|
|
148
150
|
|
|
151
|
+
/**
|
|
152
|
+
* This API is used to modify the DNS record status.
|
|
153
|
+
* @param {ModifyRecordsStatusRequest} req
|
|
154
|
+
* @param {function(string, ModifyRecordsStatusResponse):void} cb
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
ModifyRecordsStatus(req, cb) {
|
|
158
|
+
let resp = new ModifyRecordsStatusResponse();
|
|
159
|
+
this.request("ModifyRecordsStatus", req, resp, cb);
|
|
160
|
+
}
|
|
161
|
+
|
|
149
162
|
/**
|
|
150
163
|
* This API is used to create a private domain.
|
|
151
164
|
* @param {CreatePrivateZoneRequest} req
|
|
@@ -436,6 +436,12 @@ class UpdatePublishCdnStreamRequest extends AbstractModel {
|
|
|
436
436
|
*/
|
|
437
437
|
this.SeiParams = null;
|
|
438
438
|
|
|
439
|
+
/**
|
|
440
|
+
* The information of the room to which streams are relayed.
|
|
441
|
+
* @type {Array.<McuFeedBackRoomParams> || null}
|
|
442
|
+
*/
|
|
443
|
+
this.FeedBackRoomParams = null;
|
|
444
|
+
|
|
439
445
|
}
|
|
440
446
|
|
|
441
447
|
/**
|
|
@@ -483,6 +489,15 @@ class UpdatePublishCdnStreamRequest extends AbstractModel {
|
|
|
483
489
|
this.SeiParams = obj;
|
|
484
490
|
}
|
|
485
491
|
|
|
492
|
+
if (params.FeedBackRoomParams) {
|
|
493
|
+
this.FeedBackRoomParams = new Array();
|
|
494
|
+
for (let z in params.FeedBackRoomParams) {
|
|
495
|
+
let obj = new McuFeedBackRoomParams();
|
|
496
|
+
obj.deserialize(params.FeedBackRoomParams[z]);
|
|
497
|
+
this.FeedBackRoomParams.push(obj);
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
486
501
|
}
|
|
487
502
|
}
|
|
488
503
|
|
|
@@ -609,6 +624,55 @@ This parameter specifies the type of the stream displayed in the big window. If
|
|
|
609
624
|
}
|
|
610
625
|
}
|
|
611
626
|
|
|
627
|
+
/**
|
|
628
|
+
* Parameters for relaying to a TRTC room.
|
|
629
|
+
* @class
|
|
630
|
+
*/
|
|
631
|
+
class McuFeedBackRoomParams extends AbstractModel {
|
|
632
|
+
constructor(){
|
|
633
|
+
super();
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* The room ID.
|
|
637
|
+
* @type {string || null}
|
|
638
|
+
*/
|
|
639
|
+
this.RoomId = null;
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* The ID type of the room to which streams are relayed. `0` indicates integer, and `1` indicates string.
|
|
643
|
+
* @type {number || null}
|
|
644
|
+
*/
|
|
645
|
+
this.RoomIdType = null;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* The [user ID](https://intl.cloud.tencent.com/document/product/647/37714) of the relaying robot in the TRTC room, which cannot be the same as a user ID already in use. We recommend you include the room ID in this user ID.
|
|
649
|
+
* @type {string || null}
|
|
650
|
+
*/
|
|
651
|
+
this.UserId = null;
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* The signature (similar to login password) required for the relaying robot to enter the room. For information on how to calculate the signature, see [What is UserSig?](https://intl.cloud.tencent.com/document/product/647/38104).
|
|
655
|
+
* @type {string || null}
|
|
656
|
+
*/
|
|
657
|
+
this.UserSig = null;
|
|
658
|
+
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* @private
|
|
663
|
+
*/
|
|
664
|
+
deserialize(params) {
|
|
665
|
+
if (!params) {
|
|
666
|
+
return;
|
|
667
|
+
}
|
|
668
|
+
this.RoomId = 'RoomId' in params ? params.RoomId : null;
|
|
669
|
+
this.RoomIdType = 'RoomIdType' in params ? params.RoomIdType : null;
|
|
670
|
+
this.UserId = 'UserId' in params ? params.UserId : null;
|
|
671
|
+
this.UserSig = 'UserSig' in params ? params.UserSig : null;
|
|
672
|
+
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
|
|
612
676
|
/**
|
|
613
677
|
* DismissRoom response structure.
|
|
614
678
|
* @class
|
|
@@ -1995,6 +2059,12 @@ class StartPublishCdnStreamRequest extends AbstractModel {
|
|
|
1995
2059
|
*/
|
|
1996
2060
|
this.SeiParams = null;
|
|
1997
2061
|
|
|
2062
|
+
/**
|
|
2063
|
+
* The information of the room to which streams are relayed.
|
|
2064
|
+
* @type {Array.<McuFeedBackRoomParams> || null}
|
|
2065
|
+
*/
|
|
2066
|
+
this.FeedBackRoomParams = null;
|
|
2067
|
+
|
|
1998
2068
|
}
|
|
1999
2069
|
|
|
2000
2070
|
/**
|
|
@@ -2048,6 +2118,15 @@ class StartPublishCdnStreamRequest extends AbstractModel {
|
|
|
2048
2118
|
this.SeiParams = obj;
|
|
2049
2119
|
}
|
|
2050
2120
|
|
|
2121
|
+
if (params.FeedBackRoomParams) {
|
|
2122
|
+
this.FeedBackRoomParams = new Array();
|
|
2123
|
+
for (let z in params.FeedBackRoomParams) {
|
|
2124
|
+
let obj = new McuFeedBackRoomParams();
|
|
2125
|
+
obj.deserialize(params.FeedBackRoomParams[z]);
|
|
2126
|
+
this.FeedBackRoomParams.push(obj);
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2051
2130
|
}
|
|
2052
2131
|
}
|
|
2053
2132
|
|
|
@@ -2464,11 +2543,19 @@ class McuAudioParams extends AbstractModel {
|
|
|
2464
2543
|
this.AudioEncode = null;
|
|
2465
2544
|
|
|
2466
2545
|
/**
|
|
2467
|
-
* The
|
|
2546
|
+
* The audio mix allowlist. For the `StartPublishCdnStream` API, if you do not pass this parameter or leave it empty, the audios of all anchors will be mixed. For the `UpdatePublishCdnStream` API, if you do not pass this parameter, no changes will be made to the current allowlist; if you pass in an empty string, the audios of all anchors will be mixed.
|
|
2547
|
+
In cases where `SubscribeAudioList` and `UnSubscribeAudioList` are used at the same time, you need to specify both parameters. If you pass neither `SubscribeAudioList` nor `UnSubscribeAudioList`, no changes will be made. If a user is included in both parameters, the user’s audio will not be mixed.
|
|
2468
2548
|
* @type {Array.<McuUserInfoParams> || null}
|
|
2469
2549
|
*/
|
|
2470
2550
|
this.SubscribeAudioList = null;
|
|
2471
2551
|
|
|
2552
|
+
/**
|
|
2553
|
+
* The audio mix blocklist. If you do not pass this parameter or leave it empty, there won’t be a blocklist. For the `UpdatePublishCdnStream` API, if you do not pass this parameter, no changes will be made to the current blocklist; if you pass in an empty string, the blocklist will be reset.
|
|
2554
|
+
In cases where `SubscribeAudioList` and `UnSubscribeAudioList` are used at the same time, you need to specify both parameters. If you pass neither `SubscribeAudioList` nor `UnSubscribeAudioList`, no changes will be made. If a user is included in both parameters, the user’s audio will not be mixed.
|
|
2555
|
+
* @type {Array.<McuUserInfoParams> || null}
|
|
2556
|
+
*/
|
|
2557
|
+
this.UnSubscribeAudioList = null;
|
|
2558
|
+
|
|
2472
2559
|
}
|
|
2473
2560
|
|
|
2474
2561
|
/**
|
|
@@ -2494,6 +2581,15 @@ class McuAudioParams extends AbstractModel {
|
|
|
2494
2581
|
}
|
|
2495
2582
|
}
|
|
2496
2583
|
|
|
2584
|
+
if (params.UnSubscribeAudioList) {
|
|
2585
|
+
this.UnSubscribeAudioList = new Array();
|
|
2586
|
+
for (let z in params.UnSubscribeAudioList) {
|
|
2587
|
+
let obj = new McuUserInfoParams();
|
|
2588
|
+
obj.deserialize(params.UnSubscribeAudioList[z]);
|
|
2589
|
+
this.UnSubscribeAudioList.push(obj);
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2497
2593
|
}
|
|
2498
2594
|
}
|
|
2499
2595
|
|
|
@@ -2512,7 +2608,7 @@ class McuPublishCdnParam extends AbstractModel {
|
|
|
2512
2608
|
this.PublishCdnUrl = null;
|
|
2513
2609
|
|
|
2514
2610
|
/**
|
|
2515
|
-
* Whether to relay to Tencent Cloud’s CDN. 0
|
|
2611
|
+
* Whether to relay to Tencent Cloud’s CDN. 0: Third-party CDN; 1 (default): Tencent Cloud’s CDN. Relaying to a third-party CDN will incur fees. To avoid unexpected charges, we recommend you pass in a specific value. For details, see the API document.
|
|
2516
2612
|
* @type {number || null}
|
|
2517
2613
|
*/
|
|
2518
2614
|
this.IsTencentCdn = null;
|
|
@@ -2882,6 +2978,7 @@ module.exports = {
|
|
|
2882
2978
|
MixUserInfo: MixUserInfo,
|
|
2883
2979
|
UpdatePublishCdnStreamRequest: UpdatePublishCdnStreamRequest,
|
|
2884
2980
|
MixLayoutParams: MixLayoutParams,
|
|
2981
|
+
McuFeedBackRoomParams: McuFeedBackRoomParams,
|
|
2885
2982
|
DismissRoomResponse: DismissRoomResponse,
|
|
2886
2983
|
MixLayout: MixLayout,
|
|
2887
2984
|
McuVideoParams: McuVideoParams,
|
|
@@ -25,6 +25,7 @@ const DismissRoomByStrRoomIdRequest = models.DismissRoomByStrRoomIdRequest;
|
|
|
25
25
|
const MixUserInfo = models.MixUserInfo;
|
|
26
26
|
const UpdatePublishCdnStreamRequest = models.UpdatePublishCdnStreamRequest;
|
|
27
27
|
const MixLayoutParams = models.MixLayoutParams;
|
|
28
|
+
const McuFeedBackRoomParams = models.McuFeedBackRoomParams;
|
|
28
29
|
const DismissRoomResponse = models.DismissRoomResponse;
|
|
29
30
|
const MixLayout = models.MixLayout;
|
|
30
31
|
const McuVideoParams = models.McuVideoParams;
|
|
@@ -130,6 +131,7 @@ Key concepts:
|
|
|
130
131
|
|
|
131
132
|
/**
|
|
132
133
|
* This API is used to change the parameters of a relaying task.
|
|
134
|
+
Note: If `WithTranscoding` is not changed, you can pass in only the parameters you want to update. If `WithTranscoding` is changed, you need to pass in all the parameters.
|
|
133
135
|
* @param {UpdatePublishCdnStreamRequest} req
|
|
134
136
|
* @param {function(string, UpdatePublishCdnStreamResponse):void} cb
|
|
135
137
|
* @public
|
|
@@ -171,6 +173,7 @@ Key concepts:
|
|
|
171
173
|
- Screen sharing: This is designed for video conferencing and online education. The shared screen (or camera image of the anchor) is always displayed as the large main image, which occupies the left half of the screen, and the images of other users occupy the right half in up to two columns of up to eight small images each. Up to 1 large image and 15 small images can be displayed. If the upstream aspect ratio does not match the output, the large image on the left will be scaled and displayed in whole, while the small images on the right will be cropped.
|
|
172
174
|
4. Publish audio/video streams to up to 10 CDNs at a time. You can use `PublishCdnParams.PublishCdnUrl` to specify the URLs of the CDNs to publish to. To publish to Tencent Cloud’s CDN, set `PublishCdnParams.IsTencentCdn` to 1.
|
|
173
175
|
5. Configure a server-side callback to have Tencent Cloud send relay status updates to your server in the form of HTTP/HTTPS POST requests. To use the callback for relay events, please contact Technical Support.
|
|
176
|
+
6. The API supports four regions: Guangzhou, Shanghai, Beijing, and Hong Kong. If you relay to regions outside the Chinese mainland, select Hong Kong.
|
|
174
177
|
Notes:
|
|
175
178
|
1. **Because On-Cloud MixTranscoding is a paid feature, calling this API will incur MixTranscoding fees. For details, see [Billing of MixTranscoding and Relay to CDN](https://intl.cloud.tencent.com/document/product/647/47631?lang=en&pg=).**
|
|
176
179
|
2. **Relaying to third-party CDNs will incur relaying fees. For details, see [Billing of MixTranscoding and Relay to CDN](https://intl.cloud.tencent.com/document/product/647/47631?lang=en&pg=).**
|