tencentcloud-sdk-nodejs-intl-en 3.0.743 → 3.0.745

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.743",
3
+ "version": "3.0.745",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -666,7 +666,6 @@ This is an async API. After it is returned successfully, you can call the API `D
666
666
 
667
667
  /**
668
668
  * This API is used to query the list of CLB instances in a region.
669
-
670
669
  * @param {DescribeLoadBalancersRequest} req
671
670
  * @param {function(string, DescribeLoadBalancersResponse):void} cb
672
671
  * @public
@@ -1051,17 +1050,27 @@ This is an async API. After it is returned successfully, you can check the task
1051
1050
  /**
1052
1051
  * This API is used to create a clone of the source CLB instance with the same forwarding rules and binding relations. Note that this API is asynchronous, which means that changes to the source CLB after invocation of the API are not included in the clone.
1053
1052
 
1054
- Use limits:
1055
- Unsupported instance types: Classic network CLB, Classic CLB, IPv6 CLB, and NAT64 CLB.
1056
- Monthly subscribed CLB instances are not supported.
1057
- QUIC and port listeners are not supported.
1058
- The CLB backend service cannot be a target group or an SCF function.
1059
- The following settings will not be cloned automatically and require manual configuration: "Custom Configuration", "Redirection Configuration" and "Allow Traffic by Default in Security Group".
1053
+ Limits:
1054
+ Instance attribute restrictions
1055
+ Only pay-as-you-go instances can be cloned. Monthly-subscribed instances cannot be cloned.
1056
+ CLB instances without any billable items cannot be cloned.
1057
+ Classic CLB instances and CLB u200dinstances created for Anti-DDoS service cannot be cloned.
1058
+ Classic network-based instances cannot be cloned.
1059
+ IPv6 instances, IPv6 NAT64 instances, and instances bound with both IPv4 and IPv6 cannot be cloned.
1060
+ The following settings will not be cloned: **Custom configuration**, **Redirection configurations**, and **Allow Traffic by Default** in security groups.
1061
+ Before cloning an instance, make sure all certificates used on the instance are valid. Cloning will fail if there are any expired certificates.
1062
+ Listener restrictions
1063
+ Instances with QUIC listeners or port range listeners cannot be cloned.
1064
+ Private network CLB instances with TCP_SSL listeners cannot be cloned.
1065
+ Instances with layer-7 listeners that have no forwarding rules cannot be cloned.
1066
+ u200dInstances u200dwith more than 50 listeners cannot be cloned.
1067
+ Backend service restrictions
1068
+ Instances with target groups and SCF cloud functions as the backend services cannot be cloned.
1060
1069
 
1061
1070
  Notes:
1062
1071
  If you are using a BGP bandwidth package, you need to pass the package ID.
1063
1072
  To create a dedicated cluster-based CLB by cloning the source CLB, you need to pass the cluster ID. Otherwise, a normal CLB is created.
1064
- This API is only available for beta users. If you want to try it out, please [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&step=1).
1073
+ This API is only available for beta users. To try it out, [submit a ticket](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&step=1).
1065
1074
  * @param {CloneLoadBalancerRequest} req
1066
1075
  * @param {function(string, CloneLoadBalancerResponse):void} cb
1067
1076
  * @public
@@ -476,7 +476,7 @@ Note: if the name of the new CLB instance already exists, a default name will be
476
476
  this.ProjectId = null;
477
477
 
478
478
  /**
479
- * IP version. Valid values: `IPV4` (default), `IPV6` (IPV6 NAT64 version) or `IPv6FullChain` (IPv6 version). This parameter is only for public network CLB instances.
479
+ * It's only applicable to public network CLB instances. IP version. Values: `IPV4`, `IPV6` and `IPv6FullChain` (case-insensitive). Default: `IPV4`. Note: `IPV6` indicates IPv6 NAT64, while `IPv6FullChain` indicates IPv6.
480
480
  * @type {string || null}
481
481
  */
482
482
  this.AddressIPVersion = null;
@@ -507,7 +507,7 @@ Note: By default, the traffic goes to the primary AZ. The secondary AZs only car
507
507
  this.InternetAccessible = null;
508
508
 
509
509
  /**
510
- * This parameter is applicable only to public network CLB instances. Valid values: CMCC (China Mobile), CTCC (China Telecom), CUCC (China Unicom). If this parameter is not specified, BGP will be used by default. ISPs supported in a region can be queried with the `DescribeSingleIsp` API. If an ISP is specified, only bill-by-bandwidth-package (BANDWIDTH_PACKAGE) can be used as the network billing mode.
510
+ * It's only applicable to public network CLB instances. u200dValues: `CMCC` (China Mobile), `CTCC(China Telecom) and `CUCC` (China Unicom). If it is not specified, BGP line is used by default. To query ISPs available in a region, use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). If this parameter is specified, the network billing mode must be `BANDWIDTH_PACKAGE`.
511
511
  * @type {string || null}
512
512
  */
513
513
  this.VipIsp = null;
@@ -539,9 +539,8 @@ Note: If the specified VIP is occupied or is not within the IP range of the spec
539
539
 
540
540
  /**
541
541
  * Creates an LCU-supported instance.
542
- <ul><li>To create an LCU-supported instance, set this parameter to `SLA`, which indicates that an LCU-supported instance is created with the default specification in pay-as-you-go mode.
543
- <ul><li>The default specification is Super Large 1.
544
- <li>If you have enabled Super Large LCU-supported instances, `SLA` corresponds to the Super Large 4 specification. Super Large LCU-supported specification is in beta now. To join the beta, [submit a ticket](https://console.cloud.tencent.com/workorder/category). </li></ul></li><li>It’s not required for a shared CLB instance. </li></ul>
542
+ <ul><li>To create an LCU-supported instance, this parameter must be set to `SLA`, which indicates the Super Large 1 specification.
543
+ <ul><li>If you have activated Super Large LCU-supported instances, `SLA` indicates the Super Large 4 specification. Super u200dLarge LCU-supported specification is in beta now. u200cu200dTo join the beta, [submit a ticket](https://console.cloud.tencent.com/workorder/category). </li></ul></li><li>It’s not required for a shared CLB instance. </li></ul>
545
544
  * @type {string || null}
546
545
  */
547
546
  this.SlaType = null;
@@ -832,7 +831,7 @@ Note: A secondary AZ will load traffic if the primary AZ is faulty. You can use
832
831
  this.InternetAccessible = null;
833
832
 
834
833
  /**
835
- * This parameter is applicable only to public network CLB instances. Valid values: CMCC (China Mobile), CTCC (China Telecom), CUCC (China Unicom). If this parameter is not specified, BGP will be used by default. ISPs supported in a region can be queried with the `DescribeSingleIsp` API. If an ISP is specified, only bill-by-bandwidth-package (BANDWIDTH_PACKAGE) can be used as the network billing mode.
834
+ * It's only applicable to public network CLB instances. u200dValues: `CMCC` (China Mobile), `CTCC(China Telecom) and `CUCC` (China Unicom). If it is not specified, BGP line is used by default. To query ISPs available in a region, use [DescribeResources](https://intl.cloud.tencent.com/document/api/214/70213?from_cn_redirect=1). If this parameter is specified, the network billing mode must be `BANDWIDTH_PACKAGE`.
836
835
  * @type {string || null}
837
836
  */
838
837
  this.VipIsp = null;
@@ -3629,9 +3628,8 @@ class SlaUpdateParam extends AbstractModel {
3629
3628
  this.LoadBalancerId = null;
3630
3629
 
3631
3630
  /**
3632
- * This parameter is set to a fixed value of `SLA`, which specifies to upgrade to an LCU-supported instance of default specification.
3633
- <ul><li>If you enable general LCU-supported instances, `SLA` corresponds to the Super Large 1 specification. General LCU-supported instances are in beta testing, [submit a ticket](https://intl.cloud.tencent.com/apply/p/hf45esx99lf?from_cn_redirect=1) for application.</li>
3634
- <li>If you enable ultra-large LCU-supported instances, SLA corresponds to the Super Large 4 specification. Ultra-large LCU-supported instances are in beta testing, [submit a ticket](https://console.cloud.tencent.com/workorder/category) for application.</li></ul>
3631
+ * u200dTo upgrade the instance to an LCU-support instance, set it to `SLA`. `SLA` indicates Super Large 1.
3632
+ If you have activated Super Large LCU-supported instances, `SLA` indicates the Super Large 4 specification. Super u200dLarge LCU-supported specification is in beta now. u200cu200dTo join the beta, [submit a ticket](https://console.cloud.tencent.com/workorder/category).
3635
3633
  * @type {string || null}
3636
3634
  */
3637
3635
  this.SlaType = null;
@@ -4467,13 +4465,13 @@ class ModifyListenerRequest extends AbstractModel {
4467
4465
  this.SessionExpireTime = null;
4468
4466
 
4469
4467
  /**
4470
- * Health check parameter, which is applicable only to TCP, UDP, and TCP_SSL listeners.
4468
+ * Health check parameter. It is only applicable only to TCP, UDP, TCP_SSL and QUIC listeners.
4471
4469
  * @type {HealthCheck || null}
4472
4470
  */
4473
4471
  this.HealthCheck = null;
4474
4472
 
4475
4473
  /**
4476
- * Certificate information. This parameter is only applicable to HTTPS/TCP_SSL listeners. `Certificate` and `MultiCertInfo` cannot be specified at the same time.
4474
+ * Certificate information. This parameter is only applicable to HTTPS/TCP_SSL/QUIC listeners. `Certificate` and `MultiCertInfo` cannot be both specified.
4477
4475
  * @type {CertificateInput || null}
4478
4476
  */
4479
4477
  this.Certificate = null;
@@ -4742,8 +4740,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
4742
4740
  this.HttpCheckPath = null;
4743
4741
 
4744
4742
  /**
4745
- * The target domain name for health check. It’s applicable only to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners. It’s required for TCP listeners.
4746
- Note: This field may return `null`, indicating that no valid values can be obtained.
4743
+ * Health check domain name. It is only applicable to HTTP/HTTPS forwarding rules and HTTP health checks of TCP listeners. For HTTP health checks of TCP listeners, this parameter is required.
4744
+ Note: u200dThis field may return null, indicating that no valid values can be obtained.
4747
4745
  * @type {string || null}
4748
4746
  */
4749
4747
  this.HttpCheckDomain = null;
@@ -4784,22 +4782,22 @@ Note: This field may return null, indicating that no valid values can be obtaine
4784
4782
  this.RecvContext = null;
4785
4783
 
4786
4784
  /**
4787
- * Health check protocol (a custom check parameter). Value range: TCP, HTTP, CUSTOM (applicable only to TCP/UDP listeners, where UDP listeners only support CUSTOM. If custom health check is used, this parameter is required).
4788
- Note: This field may return null, indicating that no valid values can be obtained.
4785
+ * u200dHealth check protocol. Values: `TCP`, `HTTP`, `HTTPS`, `GRPC`, `PING`, and `CUSTOM`. UDP listeners support `PING`/`CUSTOM`. TCP listener support `TCP`/`HTTP`/`CUSTOM`. TCP_SSL and QUIC listeners support `TCP`/`HTTP`. HTTP rules support `HTTP`/`GRPC. HTTPS rules support `HTTP`/`HTTPS`/`GRPC`.
4786
+ Note: u200dThis field may return null, indicating that no valid values can be obtained.
4789
4787
  * @type {string || null}
4790
4788
  */
4791
4789
  this.CheckType = null;
4792
4790
 
4793
4791
  /**
4794
- * Health check protocol (a custom check parameter), which is required if the value of CheckType is HTTP. This parameter represents the HTTP version of the real server. Value range: HTTP/1.0, HTTP/1.1. (Applicable only to TCP listeners.)
4795
- Note: This field may return null, indicating that no valid values can be obtained.
4792
+ * HTTP version. HTTP version of the backend service. Values: `HTTP/1.0`, HTTP/1.1`. It is only applicable to TCP listeners, and is required when `CheckType`=`HTTP`.
4793
+ Note: u200dThis field may return null, indicating that no valid values can be obtained.
4796
4794
  * @type {string || null}
4797
4795
  */
4798
4796
  this.HttpVersion = null;
4799
4797
 
4800
4798
  /**
4801
- * Specifies the type of IP for health check. `0` (default): CLB VIP. `1`: Use the IP range starting with 100.64 as the source IP.
4802
- Note: This field may return `null`, indicating that no valid values can be obtained.
4799
+ * Specifies the type of health check source IP. `0` (default): CLB VIP. `1`: 100.64 IP range.
4800
+ Note: u200dThis field may return null, indicating that no valid values can be obtained.
4803
4801
  * @type {number || null}
4804
4802
  */
4805
4803
  this.SourceIpType = null;
@@ -5798,7 +5796,7 @@ class DescribeListenersRequest extends AbstractModel {
5798
5796
  this.ListenerIds = null;
5799
5797
 
5800
5798
  /**
5801
- * Type of the listener protocols to be queried. Valid values: TCP, UDP, HTTP, HTTPS, and TCP_SSL.
5799
+ * Type of the listener protocols to be queried. Values: TCP`, `UDP`, `HTTP`, `HTTPS`, `TCP_SSL` and `QUIC`.
5802
5800
  * @type {string || null}
5803
5801
  */
5804
5802
  this.Protocol = null;
@@ -7520,7 +7518,7 @@ class CreateListenerRequest extends AbstractModel {
7520
7518
  this.ListenerNames = null;
7521
7519
 
7522
7520
  /**
7523
- * Health check parameter, which is applicable only to TCP, UDP, and TCP_SSL listeners.
7521
+ * Health check parameter. It is only applicable only to TCP, UDP, TCP_SSL and QUIC listeners.
7524
7522
  * @type {HealthCheck || null}
7525
7523
  */
7526
7524
  this.HealthCheck = null;
@@ -7538,8 +7536,8 @@ class CreateListenerRequest extends AbstractModel {
7538
7536
  this.SessionExpireTime = null;
7539
7537
 
7540
7538
  /**
7541
- * Forwarding method of a listener. Value range: WRR, LEAST_CONN.
7542
- They represent weighted round robin and least connections, respectively. Default value: WRR. This parameter is applicable only to TCP/UDP/TCP_SSL listeners.
7539
+ * Listener forwarding mode. u200dValues: `WRR` (weighted round robin) and `LEAST_CONN` (least connections).
7540
+ Default value: `WRR`. This parameter is only applicable to TCP, UDP, TCP_SSL and QUIC listeners.
7543
7541
  * @type {string || null}
7544
7542
  */
7545
7543
  this.Scheduler = null;
@@ -7881,7 +7879,7 @@ OPEN: public network; INTERNAL: private network.
7881
7879
  this.LoadBalancerName = null;
7882
7880
 
7883
7881
  /**
7884
- * Domain name assigned to a CLB instance by Tencent Cloud. This parameter is meaningful only for the public network classic CLB.
7882
+ * The domain name that Tencent Cloud assigned for the CLB instance.
7885
7883
  * @type {string || null}
7886
7884
  */
7887
7885
  this.Domain = null;
@@ -9776,7 +9774,7 @@ They represent weighted round robin, least connections, and IP hash, respectivel
9776
9774
  this.Scheduler = null;
9777
9775
 
9778
9776
  /**
9779
- * Forwarding protocol between the CLB instance and real server. HTTP/HTTPS/TRPC are supported. TRPC is now only available for internal usage.
9777
+ * Forwarding protocol between the CLB instance and backend service. Values: `HTTP`, `HTTPS`, `GRPC` and `TRPC` (only for internal usage). It defaults to `HTTP`.
9780
9778
  * @type {string || null}
9781
9779
  */
9782
9780
  this.ForwardType = null;
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.743";
1
+ const sdkVersion = "3.0.745";
2
2
  module.exports = sdkVersion
@@ -2067,19 +2067,26 @@ class UpgradeInstanceVersionRequest extends AbstractModel {
2067
2067
  super();
2068
2068
 
2069
2069
  /**
2070
- * Target instance type after the change, which is the same as the `Type` of the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API.
2070
+ * Target instance type after the change, which is the same as the `TypeId` of the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API.
2071
+ - For Redis 4.0 or later, a standard architecture instance can be upgraded to a cluster architecture instance on the same version; for example, you can upgrade from Redis 4.0 Standard Architecture to Redis 4.0 Cluster Architecture.
2072
+ - Cross-version architecture upgrade is not supported; for example, you cannot upgrade from Redis 4.0 Standard Architecture to Redis 5.0 Cluster Architecture.
2073
+ - The architecture of Redis 2.8 cannot be upgraded.
2074
+ - Cluster architecture cannot be downgraded to standard architecture.
2075
+
2071
2076
  * @type {string || null}
2072
2077
  */
2073
2078
  this.TargetInstanceType = null;
2074
2079
 
2075
2080
  /**
2076
- * Switch mode. Valid values: 1 (switch during the maintenance time), 2 (switch now).
2081
+ * Switch time. Valid values:
2082
+ - `1`: Switch in the maintenance time.
2083
+ - `2` (default value): Switch now.
2077
2084
  * @type {number || null}
2078
2085
  */
2079
2086
  this.SwitchOption = null;
2080
2087
 
2081
2088
  /**
2082
- * Instance ID
2089
+ * ID of the specified instance, such as `crs-xjhsdj****`. Log in to the [Redis console](https://console.cloud.tencent.com/redis#/), and copy it in the instance list.
2083
2090
  * @type {string || null}
2084
2091
  */
2085
2092
  this.InstanceId = null;
@@ -3743,17 +3750,28 @@ class ChangeMasterInstanceRequest extends AbstractModel {
3743
3750
  super();
3744
3751
 
3745
3752
  /**
3746
- * Replication group ID
3753
+ * Replication group ID, such as `crs-rpl-m3zt****`. It is the unique identifier automatically assigned by the system when creating a replication group. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis/replication), and get it in the global replication list.
3754
+
3747
3755
  * @type {string || null}
3748
3756
  */
3749
3757
  this.GroupId = null;
3750
3758
 
3751
3759
  /**
3752
- * Instance ID
3760
+ * ID of the read-only instance to be promoted to the master instance, such as `crs-xjhsdj****`. Log in to the the [TencentDB for Redis console](https://console.cloud.tencent.com/redis), and copy it in the instance list.
3761
+
3762
+
3753
3763
  * @type {string || null}
3754
3764
  */
3755
3765
  this.InstanceId = null;
3756
3766
 
3767
+ /**
3768
+ * Whether to promote the read-only instance to the master instance forcibly. Valid values:
3769
+ - `true`: Yes
3770
+ - `false`: No
3771
+ * @type {boolean || null}
3772
+ */
3773
+ this.ForceSwitch = null;
3774
+
3757
3775
  }
3758
3776
 
3759
3777
  /**
@@ -3765,6 +3783,7 @@ class ChangeMasterInstanceRequest extends AbstractModel {
3765
3783
  }
3766
3784
  this.GroupId = 'GroupId' in params ? params.GroupId : null;
3767
3785
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
3786
+ this.ForceSwitch = 'ForceSwitch' in params ? params.ForceSwitch : null;
3768
3787
 
3769
3788
  }
3770
3789
  }
@@ -5647,13 +5666,13 @@ class DescribeReplicationGroupRequest extends AbstractModel {
5647
5666
  this.Offset = null;
5648
5667
 
5649
5668
  /**
5650
- * Replication group ID
5669
+ * ID of the specified replication group, such as `crs-rpl-m3zt****`. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis/replication), and get it in the global replication group list.
5651
5670
  * @type {string || null}
5652
5671
  */
5653
5672
  this.GroupId = null;
5654
5673
 
5655
5674
  /**
5656
- * Key words for fuzzy query, which can be set as the ID or name of a replication group.
5675
+ * Keyword for fuzzy query, which can be a replication group ID or name. Log in to the [TencentDB for Redis console](https://console.cloud.tencent.com/redis/replication), and get u200dthem in the global replication group list.
5657
5676
  * @type {string || null}
5658
5677
  */
5659
5678
  this.SearchKey = null;
@@ -7428,7 +7447,12 @@ class DescribeTaskInfoResponse extends AbstractModel {
7428
7447
  super();
7429
7448
 
7430
7449
  /**
7431
- * Task status. preparing: to be run; running: running; succeed: succeeded; failed: failed; error: running error.
7450
+ * Task status. Valid values:
7451
+ - `preparing`: To be run
7452
+ - `running`: Running
7453
+ - `succeed`: Succeedu200ded
7454
+ - `failed`: Failed
7455
+ - `Error`: Error occurred while running
7432
7456
  * @type {string || null}
7433
7457
  */
7434
7458
  this.Status = null;
@@ -7440,7 +7464,7 @@ class DescribeTaskInfoResponse extends AbstractModel {
7440
7464
  this.StartTime = null;
7441
7465
 
7442
7466
  /**
7443
- * Task type
7467
+ * Task type, including `Create`, `Configure`, u200d`Disable Instance`, `Clear Instance`, `Reset Password`, `Upgrade Version`, `Back up Instance`, `Modify Network`, `Migrate to New AZ` and `Promote to Master`.
7444
7468
  * @type {string || null}
7445
7469
  */
7446
7470
  this.TaskType = null;
@@ -7452,7 +7476,7 @@ class DescribeTaskInfoResponse extends AbstractModel {
7452
7476
  this.InstanceId = null;
7453
7477
 
7454
7478
  /**
7455
- * Task message, which is displayed in case of an error. It will be blank if the status is running or succeeded.
7479
+ * Message returned by task execution, which will be au200dn error message when execution fails or be empty when the status is `running `or `succeed-`.
7456
7480
  * @type {string || null}
7457
7481
  */
7458
7482
  this.TaskMessage = null;
@@ -7611,7 +7635,7 @@ class Groups extends AbstractModel {
7611
7635
  this.AppId = null;
7612
7636
 
7613
7637
  /**
7614
- * Region ID
7638
+ * Region ID. Valid values:
7615
7639
  - `1`: Guangzhou
7616
7640
  - `4`: Shanghai
7617
7641
  - `5`: Hong Kong (China)
@@ -7628,7 +7652,6 @@ class Groups extends AbstractModel {
7628
7652
  - `21`: India
7629
7653
  - `22`: Virginia (East US)
7630
7654
  - `23`: Thailand
7631
- - `24`: Russia
7632
7655
  - `25`: Japan
7633
7656
  * @type {number || null}
7634
7657
  */
@@ -11636,7 +11659,7 @@ class Instances extends AbstractModel {
11636
11659
 
11637
11660
  /**
11638
11661
  * Instance disk size
11639
- Note: This field may return `null`, indicating that no valid values can be obtained.
11662
+ Note: u200dThis field may return null, indicating that no valid values can be obtained.
11640
11663
  * @type {number || null}
11641
11664
  */
11642
11665
  this.DiskSize = null;
@@ -329,7 +329,7 @@ class RedisClient extends AbstractClient {
329
329
  }
330
330
 
331
331
  /**
332
- * This API is used to upgrade compatible instance version (for example, from Redis 2.8 to 4.0), or upgrade instance architecture (for example, from standard architecture to cluster architecture).
332
+ * This API is used to upgrade the instance to a later version or u200dto upgrade the current standard architecture to the cluster architecture.
333
333
  * @param {UpgradeInstanceVersionRequest} req
334
334
  * @param {function(string, UpgradeInstanceVersionResponse):void} cb
335
335
  * @public
@@ -351,7 +351,7 @@ class RedisClient extends AbstractClient {
351
351
  }
352
352
 
353
353
  /**
354
- * This API is used to query the task result.
354
+ * This API is used to get the execution of a specified task.
355
355
  * @param {DescribeTaskInfoRequest} req
356
356
  * @param {function(string, DescribeTaskInfoResponse):void} cb
357
357
  * @public
@@ -1121,7 +1121,7 @@ class RedisClient extends AbstractClient {
1121
1121
  }
1122
1122
 
1123
1123
  /**
1124
- * This API is used to switch with master instance in a replication group.
1124
+ * This API is used to set a read-only instance in a replication group as a master instance.
1125
1125
  * @param {ChangeMasterInstanceRequest} req
1126
1126
  * @param {function(string, ChangeMasterInstanceResponse):void} cb
1127
1127
  * @public