Skip to content

Commit d8cd833

Browse files
committed
Discarding the master-slave language
1 parent bff2fed commit d8cd833

File tree

23 files changed

+382
-382
lines changed

23 files changed

+382
-382
lines changed

tencentcloud/batch/v20170312/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2785,7 +2785,7 @@ def _deserialize(self, params):
27852785

27862786

27872787
class Placement(AbstractModel):
2788-
"""Describes the location of an instance, including its availability zone, project, host (for CDH products only), master host IP, etc.
2788+
"""Describes the location of an instance, including its availability zone, project, host (for CDH products only), main host IP, etc.
27892789
27902790
"""
27912791

@@ -2797,7 +2797,7 @@ def __init__(self):
27972797
:type ProjectId: int
27982798
:param HostIds: ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
27992799
:type HostIds: list of str
2800-
:param HostIps: Master host IP used to create the CVM
2800+
:param HostIps: Main host IP used to create the CVM
28012801
:type HostIps: list of str
28022802
:param HostId:
28032803
:type HostId: str

tencentcloud/cdb/v20170320/cdb_client.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -224,14 +224,14 @@ def CreateDBImportJob(self, request):
224224

225225

226226
def CreateDBInstanceHour(self, request):
227-
"""This API is used to create a pay-as-you-go TencentDB instance (which can be a master, disaster recovery, or read-only instance) by passing in information such as instance specifications, MySQL version number, and quantity.
227+
"""This API is used to create a pay-as-you-go TencentDB instance (which can be a main, disaster recovery, or read-only instance) by passing in information such as instance specifications, MySQL version number, and quantity.
228228
229229
This is an async API. You can also use the [DescribeDBInstances](https://cloud.tencent.com/document/api/236/15872) API to query the instance details. If the `Status` value of an instance is 1 and `TaskStatus` is 0, the instance has been successfully delivered.
230230
231231
1. Please use the [DescribeDBZoneConfig](https://cloud.tencent.com/document/api/236/17229) API to query the supported instance specifications first and then use the [DescribeDBPrice](https://cloud.tencent.com/document/api/236/18566) API to query the prices of the supported instances;
232232
2. You can create up to 100 instances at a time, with an instance validity period of up to 36 months;
233233
3. MySQL v5.5, v5.6, and v5.7 are supported;
234-
4. Master instances, read-only instances, and disaster recovery instances can be created;
234+
4. Main instances, read-only instances, and disaster recovery instances can be created;
235235
5. If `Port`, `ParamList`, or `Password` is set in the input parameters, the instance will be initialized.
236236
237237
:param request: Request instance for CreateDBInstanceHour.
@@ -936,7 +936,7 @@ def DescribeDBInstanceRebootTime(self, request):
936936

937937

938938
def DescribeDBInstances(self, request):
939-
"""This API (DescribeDBInstances) is used to query the list of TencentDB instances (which can be master, disaster recovery, or read-only instances). It supports filtering instances by project ID, instance ID, access address, and instance status.
939+
"""This API (DescribeDBInstances) is used to query the list of TencentDB instances (which can be main, disaster recovery, or read-only instances). It supports filtering instances by project ID, instance ID, access address, and instance status.
940940
941941
:param request: Request instance for DescribeDBInstances.
942942
:type request: :class:`tencentcloud.cdb.v20170320.models.DescribeDBInstancesRequest`
@@ -2292,7 +2292,7 @@ def RestartDBInstances(self, request):
22922292
"""This API (RestartDBInstances) is used to restart TencentDB instances.
22932293
22942294
Note:
2295-
1. This API only supports restarting master instances.
2295+
1. This API only supports restarting main instances.
22962296
2. The instance status must be normal, and no other async tasks are in progress.
22972297
22982298
:param request: Request instance for RestartDBInstances.
@@ -2377,7 +2377,7 @@ def StopDBImportJob(self, request):
23772377

23782378

23792379
def SwitchForUpgrade(self, request):
2380-
"""This API (SwitchForUpgrade) is used to switch to a new instance. You can initiate this process when the master instance being upgraded is pending switch.
2380+
"""This API (SwitchForUpgrade) is used to switch to a new instance. You can initiate this process when the main instance being upgraded is pending switch.
23812381
23822382
:param request: Request instance for SwitchForUpgrade.
23832383
:type request: :class:`tencentcloud.cdb.v20170320.models.SwitchForUpgradeRequest`
@@ -2405,7 +2405,7 @@ def SwitchForUpgrade(self, request):
24052405

24062406

24072407
def UpgradeDBInstance(self, request):
2408-
"""This API is used to upgrade or downgrade a TencentDB instance, which can be a master instance, disaster recovery instance, or read-only instance.
2408+
"""This API is used to upgrade or downgrade a TencentDB instance, which can be a main instance, disaster recovery instance, or read-only instance.
24092409
24102410
:param request: Request instance for UpgradeDBInstance.
24112411
:type request: :class:`tencentcloud.cdb.v20170320.models.UpgradeDBInstanceRequest`
@@ -2433,7 +2433,7 @@ def UpgradeDBInstance(self, request):
24332433

24342434

24352435
def UpgradeDBInstanceEngineVersion(self, request):
2436-
"""This API (UpgradeDBInstanceEngineVersion) is used to upgrade the version of a TencentDB instance, which can be a master instance, disaster recovery instance, or read-only instance.
2436+
"""This API (UpgradeDBInstanceEngineVersion) is used to upgrade the version of a TencentDB instance, which can be a main instance, disaster recovery instance, or read-only instance.
24372437
24382438
:param request: Request instance for UpgradeDBInstanceEngineVersion.
24392439
:type request: :class:`tencentcloud.cdb.v20170320.models.UpgradeDBInstanceEngineVersionRequest`

0 commit comments

Comments
 (0)