tccli-intl-en 3.0.1274.1__py2.py3-none-any.whl → 3.0.1276.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +201 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/mdp/mdp_client.py +110 -4
- tccli/services/mdp/v20200527/api.json +86 -0
- tccli/services/mdp/v20200527/examples.json +16 -0
- tccli/services/mongodb/mongodb_client.py +53 -0
- tccli/services/mongodb/v20190725/api.json +278 -0
- tccli/services/mongodb/v20190725/examples.json +8 -0
- tccli/services/tcsas/v20250106/api.json +101 -61
- tccli/services/tcsas/v20250106/examples.json +2 -2
- tccli/services/teo/v20220901/api.json +29 -27
- {tccli_intl_en-3.0.1274.1.dist-info → tccli_intl_en-3.0.1276.1.dist-info}/METADATA +2 -2
- {tccli_intl_en-3.0.1274.1.dist-info → tccli_intl_en-3.0.1276.1.dist-info}/RECORD +19 -19
- {tccli_intl_en-3.0.1274.1.dist-info → tccli_intl_en-3.0.1276.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1274.1.dist-info → tccli_intl_en-3.0.1276.1.dist-info}/WHEEL +0 -0
- {tccli_intl_en-3.0.1274.1.dist-info → tccli_intl_en-3.0.1276.1.dist-info}/entry_points.txt +0 -0
- {tccli_intl_en-3.0.1274.1.dist-info → tccli_intl_en-3.0.1276.1.dist-info}/top_level.txt +0 -0
|
@@ -69,6 +69,58 @@ def doTerminateDBInstances(args, parsed_globals):
|
|
|
69
69
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
70
70
|
|
|
71
71
|
|
|
72
|
+
def doDescribeDBInstanceNodeProperty(args, parsed_globals):
|
|
73
|
+
g_param = parse_global_arg(parsed_globals)
|
|
74
|
+
|
|
75
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
76
|
+
cred = credential.CVMRoleCredential()
|
|
77
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
78
|
+
cred = credential.STSAssumeRoleCredential(
|
|
79
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
80
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
81
|
+
)
|
|
82
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
83
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
84
|
+
else:
|
|
85
|
+
cred = credential.Credential(
|
|
86
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
87
|
+
)
|
|
88
|
+
http_profile = HttpProfile(
|
|
89
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
90
|
+
reqMethod="POST",
|
|
91
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
92
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
93
|
+
)
|
|
94
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
|
95
|
+
if g_param[OptionsDefine.Language]:
|
|
96
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
97
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
98
|
+
client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
|
|
99
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
100
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
101
|
+
model = models.DescribeDBInstanceNodePropertyRequest()
|
|
102
|
+
model.from_json_string(json.dumps(args))
|
|
103
|
+
start_time = time.time()
|
|
104
|
+
while True:
|
|
105
|
+
rsp = client.DescribeDBInstanceNodeProperty(model)
|
|
106
|
+
result = rsp.to_json_string()
|
|
107
|
+
try:
|
|
108
|
+
json_obj = json.loads(result)
|
|
109
|
+
except TypeError as e:
|
|
110
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
111
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
112
|
+
break
|
|
113
|
+
cur_time = time.time()
|
|
114
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
115
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
116
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
117
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
118
|
+
else:
|
|
119
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
120
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
121
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
122
|
+
|
|
123
|
+
|
|
72
124
|
def doDescribeDBInstanceDeal(args, parsed_globals):
|
|
73
125
|
g_param = parse_global_arg(parsed_globals)
|
|
74
126
|
|
|
@@ -1693,6 +1745,7 @@ MODELS_MAP = {
|
|
|
1693
1745
|
|
|
1694
1746
|
ACTION_MAP = {
|
|
1695
1747
|
"TerminateDBInstances": doTerminateDBInstances,
|
|
1748
|
+
"DescribeDBInstanceNodeProperty": doDescribeDBInstanceNodeProperty,
|
|
1696
1749
|
"DescribeDBInstanceDeal": doDescribeDBInstanceDeal,
|
|
1697
1750
|
"DescribeDBInstanceNamespace": doDescribeDBInstanceNamespace,
|
|
1698
1751
|
"DescribeClientConnections": doDescribeClientConnections,
|
|
@@ -77,6 +77,13 @@
|
|
|
77
77
|
"output": "DescribeDBInstanceNamespaceResponse",
|
|
78
78
|
"status": "online"
|
|
79
79
|
},
|
|
80
|
+
"DescribeDBInstanceNodeProperty": {
|
|
81
|
+
"document": "This API is used to query node attributes, such as the AZ, node name, address, role, status, delay between primary and secondary nodes, priority, voting right, and tags.",
|
|
82
|
+
"input": "DescribeDBInstanceNodePropertyRequest",
|
|
83
|
+
"name": "Queries node attributes",
|
|
84
|
+
"output": "DescribeDBInstanceNodePropertyResponse",
|
|
85
|
+
"status": "online"
|
|
86
|
+
},
|
|
80
87
|
"DescribeDBInstances": {
|
|
81
88
|
"document": "This API is used to query the list of TencentDB for MongoDB instances. It supports filtering primary instances, disaster recovery instances, and read-only instances by project ID, instance ID, instance status, and other conditions.",
|
|
82
89
|
"input": "DescribeDBInstancesRequest",
|
|
@@ -1835,6 +1842,107 @@
|
|
|
1835
1842
|
],
|
|
1836
1843
|
"type": "object"
|
|
1837
1844
|
},
|
|
1845
|
+
"DescribeDBInstanceNodePropertyRequest": {
|
|
1846
|
+
"document": "DescribeDBInstanceNodeProperty request structure.",
|
|
1847
|
+
"members": [
|
|
1848
|
+
{
|
|
1849
|
+
"disabled": false,
|
|
1850
|
+
"document": "Instance ID. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb), and copy the instance ID from the instance list.",
|
|
1851
|
+
"example": "cmgo-p8vnipr5",
|
|
1852
|
+
"member": "string",
|
|
1853
|
+
"name": "InstanceId",
|
|
1854
|
+
"required": true,
|
|
1855
|
+
"type": "string"
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
"disabled": false,
|
|
1859
|
+
"document": "Node ID. Log in to the [TencentDB for MongoDB console](https://console.cloud.tencent.com/mongodb), go to Node Management, and copy the node ID.",
|
|
1860
|
+
"example": "[\"cmgo-6heje4jp_0-node-slave0\",\"cmgo-6heje4jp_1-node-slave0\"]",
|
|
1861
|
+
"member": "string",
|
|
1862
|
+
"name": "NodeIds",
|
|
1863
|
+
"required": false,
|
|
1864
|
+
"type": "list"
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"disabled": false,
|
|
1868
|
+
"document": "Node role. Valid values:\n- PRIMARY: primary node.\n- SECONDARY: secondary node.\n- READONLY: read-only node.\n- ARBITER: arbitration node.",
|
|
1869
|
+
"example": "[\"PRIMARY\"]",
|
|
1870
|
+
"member": "string",
|
|
1871
|
+
"name": "Roles",
|
|
1872
|
+
"required": false,
|
|
1873
|
+
"type": "list"
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
"disabled": false,
|
|
1877
|
+
"document": "Whether the node is a hidden node. Default value: false.",
|
|
1878
|
+
"example": "false",
|
|
1879
|
+
"member": "bool",
|
|
1880
|
+
"name": "OnlyHidden",
|
|
1881
|
+
"required": false,
|
|
1882
|
+
"type": "bool"
|
|
1883
|
+
},
|
|
1884
|
+
{
|
|
1885
|
+
"disabled": false,
|
|
1886
|
+
"document": "Priority of the node for electing it as the new primary node. Value range: [0, 100]. A larger value indicates a higher priority.",
|
|
1887
|
+
"example": "10",
|
|
1888
|
+
"member": "int64",
|
|
1889
|
+
"name": "Priority",
|
|
1890
|
+
"required": false,
|
|
1891
|
+
"type": "int"
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"disabled": false,
|
|
1895
|
+
"document": "Node voting right.- 1: The node has the right to vote.\n- 0: The node does not have the right to vote.",
|
|
1896
|
+
"example": "1",
|
|
1897
|
+
"member": "int64",
|
|
1898
|
+
"name": "Votes",
|
|
1899
|
+
"required": false,
|
|
1900
|
+
"type": "int"
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
"disabled": false,
|
|
1904
|
+
"document": "Node tag.",
|
|
1905
|
+
"example": "无",
|
|
1906
|
+
"member": "NodeTag",
|
|
1907
|
+
"name": "Tags",
|
|
1908
|
+
"required": false,
|
|
1909
|
+
"type": "list"
|
|
1910
|
+
}
|
|
1911
|
+
],
|
|
1912
|
+
"type": "object"
|
|
1913
|
+
},
|
|
1914
|
+
"DescribeDBInstanceNodePropertyResponse": {
|
|
1915
|
+
"document": "DescribeDBInstanceNodeProperty response structure.",
|
|
1916
|
+
"members": [
|
|
1917
|
+
{
|
|
1918
|
+
"disabled": false,
|
|
1919
|
+
"document": "Mongos node attributes.",
|
|
1920
|
+
"example": "无",
|
|
1921
|
+
"member": "NodeProperty",
|
|
1922
|
+
"name": "Mongos",
|
|
1923
|
+
"output_required": false,
|
|
1924
|
+
"type": "list",
|
|
1925
|
+
"value_allowed_null": false
|
|
1926
|
+
},
|
|
1927
|
+
{
|
|
1928
|
+
"disabled": false,
|
|
1929
|
+
"document": "Replica set node information.",
|
|
1930
|
+
"example": "无",
|
|
1931
|
+
"member": "ReplicateSetInfo",
|
|
1932
|
+
"name": "ReplicateSets",
|
|
1933
|
+
"output_required": true,
|
|
1934
|
+
"type": "list",
|
|
1935
|
+
"value_allowed_null": false
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
1939
|
+
"member": "string",
|
|
1940
|
+
"name": "RequestId",
|
|
1941
|
+
"type": "string"
|
|
1942
|
+
}
|
|
1943
|
+
],
|
|
1944
|
+
"type": "object"
|
|
1945
|
+
},
|
|
1838
1946
|
"DescribeDBInstancesRequest": {
|
|
1839
1947
|
"document": "DescribeDBInstances request structure.",
|
|
1840
1948
|
"members": [
|
|
@@ -3967,6 +4075,160 @@
|
|
|
3967
4075
|
],
|
|
3968
4076
|
"usage": "in"
|
|
3969
4077
|
},
|
|
4078
|
+
"NodeProperty": {
|
|
4079
|
+
"document": "Node attributes.",
|
|
4080
|
+
"members": [
|
|
4081
|
+
{
|
|
4082
|
+
"disabled": false,
|
|
4083
|
+
"document": "Node AZ.",
|
|
4084
|
+
"example": "ap-guangzhou-1",
|
|
4085
|
+
"member": "string",
|
|
4086
|
+
"name": "Zone",
|
|
4087
|
+
"output_required": false,
|
|
4088
|
+
"type": "string",
|
|
4089
|
+
"value_allowed_null": false
|
|
4090
|
+
},
|
|
4091
|
+
{
|
|
4092
|
+
"disabled": false,
|
|
4093
|
+
"document": "Node name.",
|
|
4094
|
+
"example": "cmgo-ocdv****_0-node-primary",
|
|
4095
|
+
"member": "string",
|
|
4096
|
+
"name": "NodeName",
|
|
4097
|
+
"output_required": false,
|
|
4098
|
+
"type": "string",
|
|
4099
|
+
"value_allowed_null": false
|
|
4100
|
+
},
|
|
4101
|
+
{
|
|
4102
|
+
"disabled": false,
|
|
4103
|
+
"document": "Node access address.",
|
|
4104
|
+
"example": "10.4.0.7:30000",
|
|
4105
|
+
"member": "string",
|
|
4106
|
+
"name": "Address",
|
|
4107
|
+
"output_required": false,
|
|
4108
|
+
"type": "string",
|
|
4109
|
+
"value_allowed_null": false
|
|
4110
|
+
},
|
|
4111
|
+
{
|
|
4112
|
+
"disabled": false,
|
|
4113
|
+
"document": "Public network access address (IP address or domain name) of the node. The example value is an IP address.",
|
|
4114
|
+
"example": "113.0.**.**:27017",
|
|
4115
|
+
"member": "string",
|
|
4116
|
+
"name": "WanServiceAddress",
|
|
4117
|
+
"output_required": false,
|
|
4118
|
+
"type": "string",
|
|
4119
|
+
"value_allowed_null": false
|
|
4120
|
+
},
|
|
4121
|
+
{
|
|
4122
|
+
"disabled": false,
|
|
4123
|
+
"document": "Node role.\n- PRIMARY: primary node.\n- SECONDARY: secondary node.\n- READONLY: read-only node.\n- ARBITER: arbitration node.",
|
|
4124
|
+
"example": "PRIMARY",
|
|
4125
|
+
"member": "string",
|
|
4126
|
+
"name": "Role",
|
|
4127
|
+
"output_required": false,
|
|
4128
|
+
"type": "string",
|
|
4129
|
+
"value_allowed_null": false
|
|
4130
|
+
},
|
|
4131
|
+
{
|
|
4132
|
+
"disabled": false,
|
|
4133
|
+
"document": "Whether the node is a hidden node.\n- true: a hidden node.\n- false: not a hidden node.",
|
|
4134
|
+
"example": "false",
|
|
4135
|
+
"member": "bool",
|
|
4136
|
+
"name": "Hidden",
|
|
4137
|
+
"output_required": false,
|
|
4138
|
+
"type": "bool",
|
|
4139
|
+
"value_allowed_null": false
|
|
4140
|
+
},
|
|
4141
|
+
{
|
|
4142
|
+
"disabled": false,
|
|
4143
|
+
"document": "Node status.\n- NORMAL: running normally.\n- STARTUP: starting.\n- STARTUP2: starting and processing the intermediate data.\n- RECOVERING: recovering and not available.\n- DOWN: offline.\n- UNKNOWN: unknown status.\n- ROLLBACK: rolling back.\n- REMOVED: removed.",
|
|
4144
|
+
"example": "NORMAL",
|
|
4145
|
+
"member": "string",
|
|
4146
|
+
"name": "Status",
|
|
4147
|
+
"output_required": false,
|
|
4148
|
+
"type": "string",
|
|
4149
|
+
"value_allowed_null": false
|
|
4150
|
+
},
|
|
4151
|
+
{
|
|
4152
|
+
"disabled": false,
|
|
4153
|
+
"document": "Delay time of primary-secondary synchronization, in seconds.",
|
|
4154
|
+
"example": "1",
|
|
4155
|
+
"member": "int64",
|
|
4156
|
+
"name": "SlaveDelay",
|
|
4157
|
+
"output_required": false,
|
|
4158
|
+
"type": "int",
|
|
4159
|
+
"value_allowed_null": false
|
|
4160
|
+
},
|
|
4161
|
+
{
|
|
4162
|
+
"disabled": false,
|
|
4163
|
+
"document": "Node priority. Value range: [0, 100]. A larger value indicates a higher priority.",
|
|
4164
|
+
"example": "10",
|
|
4165
|
+
"member": "int64",
|
|
4166
|
+
"name": "Priority",
|
|
4167
|
+
"output_required": false,
|
|
4168
|
+
"type": "int",
|
|
4169
|
+
"value_allowed_null": false
|
|
4170
|
+
},
|
|
4171
|
+
{
|
|
4172
|
+
"disabled": false,
|
|
4173
|
+
"document": "Node voting right.\n- 1: The node has the right to vote.\n- 0: The node does not have the right to vote.",
|
|
4174
|
+
"example": "1",
|
|
4175
|
+
"member": "int64",
|
|
4176
|
+
"name": "Votes",
|
|
4177
|
+
"output_required": false,
|
|
4178
|
+
"type": "int",
|
|
4179
|
+
"value_allowed_null": false
|
|
4180
|
+
},
|
|
4181
|
+
{
|
|
4182
|
+
"disabled": false,
|
|
4183
|
+
"document": "Node tag.\nNote: This field may return null, indicating that no valid values can be obtained.",
|
|
4184
|
+
"example": "[{\"TagKey\":\"role-cmgo\",\"TagValue\":\"primary-secondary-group\"}]",
|
|
4185
|
+
"member": "NodeTag",
|
|
4186
|
+
"name": "Tags",
|
|
4187
|
+
"output_required": false,
|
|
4188
|
+
"type": "list",
|
|
4189
|
+
"value_allowed_null": true
|
|
4190
|
+
},
|
|
4191
|
+
{
|
|
4192
|
+
"disabled": false,
|
|
4193
|
+
"document": "Replica set ID.",
|
|
4194
|
+
"example": "cmgo-ocdv****_0",
|
|
4195
|
+
"member": "string",
|
|
4196
|
+
"name": "ReplicateSetId",
|
|
4197
|
+
"output_required": false,
|
|
4198
|
+
"type": "string",
|
|
4199
|
+
"value_allowed_null": false
|
|
4200
|
+
}
|
|
4201
|
+
],
|
|
4202
|
+
"usage": "out"
|
|
4203
|
+
},
|
|
4204
|
+
"NodeTag": {
|
|
4205
|
+
"document": "Node tag.",
|
|
4206
|
+
"members": [
|
|
4207
|
+
{
|
|
4208
|
+
"disabled": false,
|
|
4209
|
+
"document": "Node tag key.",
|
|
4210
|
+
"example": "testKey",
|
|
4211
|
+
"member": "string",
|
|
4212
|
+
"name": "TagKey",
|
|
4213
|
+
"output_required": false,
|
|
4214
|
+
"required": false,
|
|
4215
|
+
"type": "string",
|
|
4216
|
+
"value_allowed_null": false
|
|
4217
|
+
},
|
|
4218
|
+
{
|
|
4219
|
+
"disabled": false,
|
|
4220
|
+
"document": "Node tag value.",
|
|
4221
|
+
"example": "testValue",
|
|
4222
|
+
"member": "string",
|
|
4223
|
+
"name": "TagValue",
|
|
4224
|
+
"output_required": false,
|
|
4225
|
+
"required": false,
|
|
4226
|
+
"type": "string",
|
|
4227
|
+
"value_allowed_null": false
|
|
4228
|
+
}
|
|
4229
|
+
],
|
|
4230
|
+
"usage": "both"
|
|
4231
|
+
},
|
|
3970
4232
|
"OfflineIsolatedDBInstanceRequest": {
|
|
3971
4233
|
"document": "OfflineIsolatedDBInstance request structure.",
|
|
3972
4234
|
"members": [
|
|
@@ -4124,6 +4386,22 @@
|
|
|
4124
4386
|
],
|
|
4125
4387
|
"usage": "in"
|
|
4126
4388
|
},
|
|
4389
|
+
"ReplicateSetInfo": {
|
|
4390
|
+
"document": "Replica set information.",
|
|
4391
|
+
"members": [
|
|
4392
|
+
{
|
|
4393
|
+
"disabled": false,
|
|
4394
|
+
"document": "Node attributes.",
|
|
4395
|
+
"example": "无",
|
|
4396
|
+
"member": "NodeProperty",
|
|
4397
|
+
"name": "Nodes",
|
|
4398
|
+
"output_required": false,
|
|
4399
|
+
"type": "list",
|
|
4400
|
+
"value_allowed_null": false
|
|
4401
|
+
}
|
|
4402
|
+
],
|
|
4403
|
+
"usage": "out"
|
|
4404
|
+
},
|
|
4127
4405
|
"ResetDBInstancePasswordRequest": {
|
|
4128
4406
|
"document": "ResetDBInstancePassword request structure.",
|
|
4129
4407
|
"members": [
|
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
"title": "Querying All Collections of the Specified Database"
|
|
95
95
|
}
|
|
96
96
|
],
|
|
97
|
+
"DescribeDBInstanceNodeProperty": [
|
|
98
|
+
{
|
|
99
|
+
"document": "This example shows you how to query the detailed attributes of an instance node.",
|
|
100
|
+
"input": "POST / HTTP/1.1\nHost: mongodb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstanceNodeProperty\n<Common request parameters>\n\n{\n \"InstanceId\": \"cmgo-by909vwp\"\n}",
|
|
101
|
+
"output": "{\n \"Response\": {\n \"Mongos\": [\n {\n \"Address\": \"10.8.16.37:30000\",\n \"Hidden\": false,\n \"NodeName\": \"mongos-0\",\n \"Priority\": 0,\n \"ReplicateSetId\": \"\",\n \"Role\": \"MONGOS\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 0,\n \"Zone\": \"ap-guangzhou-3\",\n \"WanServiceAddress\": \"\"\n }\n ],\n \"ReplicateSets\": [\n {\n \"Nodes\": [\n {\n \"Address\": \"\",\n \"Hidden\": false,\n \"NodeName\": \"cmgo-by909vwp_0-node-slave0\",\n \"Priority\": 1,\n \"ReplicateSetId\": \"cmgo-by909vwp_0\",\n \"Role\": \"SECONDARY\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"WanServiceAddress\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n }\n ]\n },\n {\n \"Nodes\": [\n {\n \"Address\": \"\",\n \"Hidden\": false,\n \"NodeName\": \"cmgo-by909vwp_1-node-slave0\",\n \"Priority\": 1,\n \"ReplicateSetId\": \"cmgo-by909vwp_1\",\n \"Role\": \"SECONDARY\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"WanServiceAddress\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"Address\": \"\",\n \"Hidden\": false,\n \"NodeName\": \"cmgo-by909vwp_1-node-primary\",\n \"Priority\": 1,\n \"ReplicateSetId\": \"cmgo-by909vwp_1\",\n \"Role\": \"PRIMARY\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"WanServiceAddress\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"Address\": \"\",\n \"Hidden\": true,\n \"NodeName\": \"cmgo-by909vwp_1-node-slave1\",\n \"Priority\": 0,\n \"ReplicateSetId\": \"cmgo-by909vwp_1\",\n \"Role\": \"SECONDARY\",\n \"SlaveDelay\": 0,\n \"Status\": \"NORMAL\",\n \"WanServiceAddress\": \"\",\n \"Tags\": [\n {\n \"TagKey\": \"role-cmgo\",\n \"TagValue\": \"primary-secondary-group\"\n }\n ],\n \"Votes\": 1,\n \"Zone\": \"ap-guangzhou-3\"\n }\n ]\n }\n ],\n \"RequestId\": \"14ab088a-9d69-44b4-b39d-e4b8fbbb8f25\"\n }\n}",
|
|
102
|
+
"title": "Querying the Information on an Instance Node"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
97
105
|
"DescribeDBInstances": [
|
|
98
106
|
{
|
|
99
107
|
"document": "Query Instance List",
|