Skip to content

Removing the master/slave words #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tencentcloud/batch/v20170312/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2785,7 +2785,7 @@ def _deserialize(self, params):


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

"""

Expand All @@ -2797,7 +2797,7 @@ def __init__(self):
:type ProjectId: int
: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.
:type HostIds: list of str
:param HostIps: Master host IP used to create the CVM
:param HostIps: Main host IP used to create the CVM
:type HostIps: list of str
:param HostId:
:type HostId: str
Expand Down
14 changes: 7 additions & 7 deletions tencentcloud/cdb/v20170320/cdb_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,14 +224,14 @@ def CreateDBImportJob(self, request):


def CreateDBInstanceHour(self, request):
"""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.
"""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.

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.

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;
2. You can create up to 100 instances at a time, with an instance validity period of up to 36 months;
3. MySQL v5.5, v5.6, and v5.7 are supported;
4. Master instances, read-only instances, and disaster recovery instances can be created;
4. Main instances, read-only instances, and disaster recovery instances can be created;
5. If `Port`, `ParamList`, or `Password` is set in the input parameters, the instance will be initialized.

:param request: Request instance for CreateDBInstanceHour.
Expand Down Expand Up @@ -936,7 +936,7 @@ def DescribeDBInstanceRebootTime(self, request):


def DescribeDBInstances(self, request):
"""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.
"""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.

:param request: Request instance for DescribeDBInstances.
:type request: :class:`tencentcloud.cdb.v20170320.models.DescribeDBInstancesRequest`
Expand Down Expand Up @@ -2292,7 +2292,7 @@ def RestartDBInstances(self, request):
"""This API (RestartDBInstances) is used to restart TencentDB instances.

Note:
1. This API only supports restarting master instances.
1. This API only supports restarting main instances.
2. The instance status must be normal, and no other async tasks are in progress.

:param request: Request instance for RestartDBInstances.
Expand Down Expand Up @@ -2377,7 +2377,7 @@ def StopDBImportJob(self, request):


def SwitchForUpgrade(self, request):
"""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.
"""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.

:param request: Request instance for SwitchForUpgrade.
:type request: :class:`tencentcloud.cdb.v20170320.models.SwitchForUpgradeRequest`
Expand Down Expand Up @@ -2405,7 +2405,7 @@ def SwitchForUpgrade(self, request):


def UpgradeDBInstance(self, request):
"""This API is used to upgrade or downgrade a TencentDB instance, which can be a master instance, disaster recovery instance, or read-only instance.
"""This API is used to upgrade or downgrade a TencentDB instance, which can be a main instance, disaster recovery instance, or read-only instance.

:param request: Request instance for UpgradeDBInstance.
:type request: :class:`tencentcloud.cdb.v20170320.models.UpgradeDBInstanceRequest`
Expand Down Expand Up @@ -2433,7 +2433,7 @@ def UpgradeDBInstance(self, request):


def UpgradeDBInstanceEngineVersion(self, request):
"""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.
"""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.

:param request: Request instance for UpgradeDBInstanceEngineVersion.
:type request: :class:`tencentcloud.cdb.v20170320.models.UpgradeDBInstanceEngineVersionRequest`
Expand Down
Loading