tccli 3.0.1379.1__py2.py3-none-any.whl → 3.0.1381.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/cbs/v20170312/api.json +6 -6
- tccli/services/cbs/v20170312/examples.json +6 -6
- tccli/services/dcdb/dcdb_client.py +243 -31
- tccli/services/dcdb/v20180411/api.json +348 -0
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/emr/v20190103/api.json +1 -1
- tccli/services/ioa/v20220601/api.json +22 -13
- tccli/services/iotexplorer/iotexplorer_client.py +269 -57
- tccli/services/iotexplorer/v20190423/api.json +357 -0
- tccli/services/iotexplorer/v20190423/examples.json +32 -0
- tccli/services/lke/v20231130/api.json +91 -8
- tccli/services/lkeap/v20240522/api.json +65 -19
- tccli/services/lkeap/v20240522/examples.json +6 -0
- tccli/services/mariadb/mariadb_client.py +220 -8
- tccli/services/mariadb/v20170312/api.json +330 -0
- tccli/services/mariadb/v20170312/examples.json +32 -0
- tccli/services/mna/mna_client.py +53 -0
- tccli/services/mna/v20210119/api.json +137 -0
- tccli/services/mna/v20210119/examples.json +8 -0
- tccli/services/monitor/v20180724/api.json +2 -2
- tccli/services/oceanus/v20190422/api.json +105 -17
- tccli/services/redis/v20180412/api.json +3 -3
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/tcb/v20180608/api.json +10 -0
- tccli/services/tcbr/v20220217/api.json +10 -0
- tccli/services/teo/v20220901/api.json +1 -1
- tccli/services/tke/v20180525/api.json +11 -11
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/tsf/v20180326/examples.json +1 -1
- tccli/services/vclm/v20240523/api.json +1 -1
- tccli/services/waf/v20180125/api.json +1541 -158
- tccli/services/waf/v20180125/examples.json +56 -0
- tccli/services/waf/waf_client.py +391 -20
- tccli/services/wsa/v20250508/api.json +1 -1
- {tccli-3.0.1379.1.dist-info → tccli-3.0.1381.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1379.1.dist-info → tccli-3.0.1381.1.dist-info}/RECORD +40 -40
- {tccli-3.0.1379.1.dist-info → tccli-3.0.1381.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1379.1.dist-info → tccli-3.0.1381.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1379.1.dist-info → tccli-3.0.1381.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1381.1'
|
@@ -1333,7 +1333,7 @@
|
|
1333
1333
|
{
|
1334
1334
|
"disabled": false,
|
1335
1335
|
"document": "传入True时,云盘将创建为共享型云盘,默认为False。因共享型云盘不支持加密,此参数与Encrypt参数不可同时传入。",
|
1336
|
-
"example": "
|
1336
|
+
"example": "true",
|
1337
1337
|
"member": "bool",
|
1338
1338
|
"name": "Shareable",
|
1339
1339
|
"required": false,
|
@@ -1396,7 +1396,7 @@
|
|
1396
1396
|
{
|
1397
1397
|
"disabled": false,
|
1398
1398
|
"document": "创建云盘时是否开启性能突发。当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)且云盘大小不小于460GiB。",
|
1399
|
-
"example": "
|
1399
|
+
"example": "true",
|
1400
1400
|
"member": "bool",
|
1401
1401
|
"name": "BurstPerformance",
|
1402
1402
|
"required": false,
|
@@ -2171,7 +2171,7 @@
|
|
2171
2171
|
{
|
2172
2172
|
"disabled": false,
|
2173
2173
|
"document": "云盘详情中是否需要返回云盘绑定的定期快照策略ID,TRUE表示需要返回,FALSE表示不返回。",
|
2174
|
-
"example": "
|
2174
|
+
"example": "false",
|
2175
2175
|
"member": "bool",
|
2176
2176
|
"name": "ReturnBindAutoSnapshotPolicy",
|
2177
2177
|
"required": false,
|
@@ -2430,7 +2430,7 @@
|
|
2430
2430
|
{
|
2431
2431
|
"disabled": false,
|
2432
2432
|
"document": "要查询快照的ID列表。参数不支持同时指定`SnapshotIds`和`Filters`。",
|
2433
|
-
"example": "snap-j1ytqxx7",
|
2433
|
+
"example": "[\"snap-j1ytqxx7\"]",
|
2434
2434
|
"member": "string",
|
2435
2435
|
"name": "SnapshotIds",
|
2436
2436
|
"required": false,
|
@@ -4260,7 +4260,7 @@
|
|
4260
4260
|
},
|
4261
4261
|
{
|
4262
4262
|
"disabled": false,
|
4263
|
-
"document": "实例所属项目ID,可通过
|
4263
|
+
"document": "实例所属项目ID,可通过DescribeProject获取。不填默认为0,表示默认项目。",
|
4264
4264
|
"example": "0",
|
4265
4265
|
"member": "uint64",
|
4266
4266
|
"name": "ProjectId",
|
@@ -4272,7 +4272,7 @@
|
|
4272
4272
|
{
|
4273
4273
|
"disabled": false,
|
4274
4274
|
"document": "实例所属项目名称,可通过[DescribeProject](/document/api/651/78725)获取。\n注意:此字段可能返回 null,表示取不到有效值。",
|
4275
|
-
"example": "
|
4275
|
+
"example": "name",
|
4276
4276
|
"member": "string",
|
4277
4277
|
"name": "ProjectName",
|
4278
4278
|
"output_required": true,
|
@@ -66,7 +66,7 @@
|
|
66
66
|
],
|
67
67
|
"CreateDisks": [
|
68
68
|
{
|
69
|
-
"document": "
|
69
|
+
"document": "新购云盘具体配置如下:云盘所在位置为广州三区,云盘大小50GiB,云盘类型为普通云盘,所属项目ID为0,付费模式为预付费,购买时长1个月,通知过期且自动续费。",
|
70
70
|
"input": "POST / HTTP/1.1\nHost: cbs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDisks\n<公共请求参数>\n\n{\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-guangzhou-2\"\n },\n \"DiskChargeType\": \"PREPAID\",\n \"DiskCount\": 1,\n \"DiskType\": \"CLOUD_HSSD\",\n \"ThroughputPerformance\": 100,\n \"DiskSize\": 500,\n \"DiskChargePrepaid\": {\n \"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\",\n \"Period\": 1\n }\n}",
|
71
71
|
"output": "{\n \"Response\": {\n \"DiskIdSet\": [\n \"disk-lzrg2pwi\"\n ],\n \"RequestId\": \"6a57da9a-2049-7182-2de3-5a1f8014ccfd\"\n }\n}",
|
72
72
|
"title": "使用基本参数购买"
|
@@ -176,7 +176,7 @@
|
|
176
176
|
{
|
177
177
|
"document": "用于查询所有已挂载的数据盘",
|
178
178
|
"input": "POST / HTTP/1.1\nHost: cbs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDisks\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"ATTACHED\"\n ],\n \"Name\": \"disk-state\"\n },\n {\n \"Values\": [\n \"DATA_DISK\"\n ],\n \"Name\": \"disk-usage\"\n }\n ]\n}",
|
179
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"e2386a23-48c1-4c18-9a36-4e7354f333b2\",\n \"DiskSet\": [\n {\n \"DeleteWithInstance\": false,\n \"Encrypt\": false,\n \"DiskType\": \"CLOUD_BSSD\",\n \"AutoRenewFlagError\": false,\n \"Rollbacking\": false,\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"DiskName\": \"my-data-disk\",\n \"Tags\": [],\n \"InstanceId\": \"\",\n \"DifferDaysOfDeadline\": 1,\n \"DiskId\": \"disk-b94t5dzt\",\n \"DiskState\": \"ATTACHED\",\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-guangzhou-
|
179
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"RequestId\": \"e2386a23-48c1-4c18-9a36-4e7354f333b2\",\n \"DiskSet\": [\n {\n \"DeleteWithInstance\": false,\n \"Encrypt\": false,\n \"DiskType\": \"CLOUD_BSSD\",\n \"AutoRenewFlagError\": false,\n \"Rollbacking\": false,\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"DiskName\": \"my-data-disk\",\n \"Tags\": [],\n \"InstanceId\": \"\",\n \"DifferDaysOfDeadline\": 1,\n \"DiskId\": \"disk-b94t5dzt\",\n \"DiskState\": \"ATTACHED\",\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-guangzhou-3\",\n \"ProjectName\": \"默认项目\",\n \"CageId\": \"cage-bdq5l1mx\",\n \"CdcName\": \"my-cloud-dedicated-cbs\",\n \"CdcId\": \"cdc-1648zauv\",\n \"DedicatedClusterId\": \"cluster-o42khj98\"\n },\n \"IsReturnable\": false,\n \"DeadlineTime\": \"2018-10-26 10:55:43\",\n \"Attached\": true,\n \"DiskSize\": 10,\n \"DiskUsage\": \"DATA_DISK\",\n \"Portable\": true,\n \"DiskChargeType\": \"PREPAID\",\n \"SnapshotAbility\": true,\n \"DeadlineError\": false,\n \"RollbackPercent\": 100,\n \"AutoSnapshotPolicyIds\": null,\n \"ReturnFailCode\": 3,\n \"CreateTime\": \"2018-09-26 17:36:07\",\n \"ThroughputPerformance\": 1,\n \"Migrating\": true,\n \"InstanceIdList\": [\n \"ins-agp4l0lx\"\n ],\n \"Shareable\": true,\n \"MigratePercent\": 100,\n \"SnapshotSize\": 100,\n \"SnapshotCount\": 0,\n \"BackupDisk\": true,\n \"AttachMode\": \"PF\",\n \"DiskBackupQuota\": 1,\n \"DiskBackupCount\": 1,\n \"DeleteSnapshot\": 0,\n \"InstanceType\": \"CVM\",\n \"BurstPerformance\": false,\n \"ErrorPrompt\": \"Detach disk timeout, please retry later\",\n \"LastAttachInsId\": \"ins-agp4l0lx\"\n }\n ]\n }\n}",
|
180
180
|
"title": "查询所有已挂载的数据盘"
|
181
181
|
}
|
182
182
|
],
|
@@ -214,10 +214,10 @@
|
|
214
214
|
],
|
215
215
|
"DescribeSnapshots": [
|
216
216
|
{
|
217
|
-
"document": "
|
218
|
-
"input": "POST / HTTP/1.1\nHost: cbs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSnapshots\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"snapshot-state\",\n \"Values\": [\n \"NORMAL\"\n ]\n },\n {\n \"Name\": \"zone\",\n \"Values\": [\n \"ap-guangzhou-
|
219
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"RequestId\": \"7974489b-8d50-4bbd-8dd2-b700bb98b8cf\",\n \"SnapshotSet\": [\n {\n \"Tags\": [],\n \"Placement\": {\n \"CageId\": \"\",\n \"Zone\": \"ap-guangzhou-
|
220
|
-
"title": "
|
217
|
+
"document": "查询广州三区状态为NORMAL的快照",
|
218
|
+
"input": "POST / HTTP/1.1\nHost: cbs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSnapshots\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"snapshot-state\",\n \"Values\": [\n \"NORMAL\"\n ]\n },\n {\n \"Name\": \"zone\",\n \"Values\": [\n \"ap-guangzhou-3\"\n ]\n }\n ]\n}",
|
219
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"RequestId\": \"7974489b-8d50-4bbd-8dd2-b700bb98b8cf\",\n \"SnapshotSet\": [\n {\n \"Tags\": [],\n \"Placement\": {\n \"CageId\": \"\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ProjectId\": 0,\n \"CdcName\": \"\",\n \"CdcId\": \"\",\n \"ProjectName\": \"\",\n \"DedicatedClusterId\": \"\"\n },\n \"CopyFromRemote\": false,\n \"IsPermanent\": true,\n \"DiskUsage\": \"DATA_DISK\",\n \"DeadlineTime\": \"2023-04-09 10:45:11\",\n \"Percent\": 100,\n \"SnapshotId\": \"snap-0jfkjwl1\",\n \"ShareReference\": 0,\n \"SnapshotType\": \"PRIVATE_SNAPSHOT\",\n \"DiskSize\": 70,\n \"DiskId\": \"disk-omp7wl2m\",\n \"SnapshotName\": \"TEST\",\n \"Images\": [],\n \"CopyingToRegions\": [],\n \"Encrypt\": false,\n \"CreateTime\": \"2023-03-09 10:45:11\",\n \"TimeStartShare\": \"2023-03-09\",\n \"ImageCount\": 0,\n \"SnapshotState\": \"NORMAL\"\n },\n {\n \"Tags\": [],\n \"Placement\": {\n \"CageId\": \"\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ProjectId\": 0,\n \"CdcName\": \"\",\n \"CdcId\": \"\",\n \"ProjectName\": \"\",\n \"DedicatedClusterId\": \"\"\n },\n \"CopyFromRemote\": false,\n \"IsPermanent\": true,\n \"DiskUsage\": \"SYSTEM_DISK\",\n \"DeadlineTime\": \"2023-04-09 10:45:11\",\n \"Percent\": 100,\n \"SnapshotId\": \"snap-obgelzpb\",\n \"ShareReference\": 0,\n \"SnapshotType\": \"PRIVATE_SNAPSHOT\",\n \"DiskSize\": 50,\n \"DiskId\": \"disk-1en5p0sq\",\n \"SnapshotName\": \"test-stevenkli\",\n \"Images\": [],\n \"CopyingToRegions\": [],\n \"Encrypt\": false,\n \"CreateTime\": \"2023-03-08 17:12:42\",\n \"ImageCount\": 0,\n \"TimeStartShare\": \"2023-03-09\",\n \"SnapshotState\": \"NORMAL\"\n }\n ]\n }\n}",
|
220
|
+
"title": "查询广州三区状态为NORMAL的快照"
|
221
221
|
}
|
222
222
|
],
|
223
223
|
"DetachDisks": [
|
@@ -173,7 +173,7 @@ def doDescribeDBSecurityGroups(args, parsed_globals):
|
|
173
173
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
174
174
|
|
175
175
|
|
176
|
-
def
|
176
|
+
def doActiveHourDCDBInstance(args, parsed_globals):
|
177
177
|
g_param = parse_global_arg(parsed_globals)
|
178
178
|
|
179
179
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -202,11 +202,11 @@ def doDescribeOrders(args, parsed_globals):
|
|
202
202
|
client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
|
203
203
|
client._sdkVersion += ("_CLI_" + __version__)
|
204
204
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
205
|
-
model = models.
|
205
|
+
model = models.ActiveHourDCDBInstanceRequest()
|
206
206
|
model.from_json_string(json.dumps(args))
|
207
207
|
start_time = time.time()
|
208
208
|
while True:
|
209
|
-
rsp = client.
|
209
|
+
rsp = client.ActiveHourDCDBInstance(model)
|
210
210
|
result = rsp.to_json_string()
|
211
211
|
try:
|
212
212
|
json_obj = json.loads(result)
|
@@ -693,6 +693,58 @@ def doDisassociateSecurityGroups(args, parsed_globals):
|
|
693
693
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
694
694
|
|
695
695
|
|
696
|
+
def doDescribeInstanceSSLAttributes(args, parsed_globals):
|
697
|
+
g_param = parse_global_arg(parsed_globals)
|
698
|
+
|
699
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
700
|
+
cred = credential.CVMRoleCredential()
|
701
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
702
|
+
cred = credential.STSAssumeRoleCredential(
|
703
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
704
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
705
|
+
)
|
706
|
+
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):
|
707
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
708
|
+
else:
|
709
|
+
cred = credential.Credential(
|
710
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
711
|
+
)
|
712
|
+
http_profile = HttpProfile(
|
713
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
714
|
+
reqMethod="POST",
|
715
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
716
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
717
|
+
)
|
718
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
719
|
+
if g_param[OptionsDefine.Language]:
|
720
|
+
profile.language = g_param[OptionsDefine.Language]
|
721
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
722
|
+
client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
|
723
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
724
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
725
|
+
model = models.DescribeInstanceSSLAttributesRequest()
|
726
|
+
model.from_json_string(json.dumps(args))
|
727
|
+
start_time = time.time()
|
728
|
+
while True:
|
729
|
+
rsp = client.DescribeInstanceSSLAttributes(model)
|
730
|
+
result = rsp.to_json_string()
|
731
|
+
try:
|
732
|
+
json_obj = json.loads(result)
|
733
|
+
except TypeError as e:
|
734
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
735
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
736
|
+
break
|
737
|
+
cur_time = time.time()
|
738
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
739
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
740
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
741
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
742
|
+
else:
|
743
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
744
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
745
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
746
|
+
|
747
|
+
|
696
748
|
def doResetAccountPassword(args, parsed_globals):
|
697
749
|
g_param = parse_global_arg(parsed_globals)
|
698
750
|
|
@@ -953,6 +1005,58 @@ def doDescribeDBSlowLogs(args, parsed_globals):
|
|
953
1005
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
954
1006
|
|
955
1007
|
|
1008
|
+
def doDestroyDCDBInstance(args, parsed_globals):
|
1009
|
+
g_param = parse_global_arg(parsed_globals)
|
1010
|
+
|
1011
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1012
|
+
cred = credential.CVMRoleCredential()
|
1013
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1014
|
+
cred = credential.STSAssumeRoleCredential(
|
1015
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1016
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1017
|
+
)
|
1018
|
+
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):
|
1019
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1020
|
+
else:
|
1021
|
+
cred = credential.Credential(
|
1022
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1023
|
+
)
|
1024
|
+
http_profile = HttpProfile(
|
1025
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1026
|
+
reqMethod="POST",
|
1027
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1028
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1029
|
+
)
|
1030
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1031
|
+
if g_param[OptionsDefine.Language]:
|
1032
|
+
profile.language = g_param[OptionsDefine.Language]
|
1033
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1034
|
+
client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
|
1035
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1036
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1037
|
+
model = models.DestroyDCDBInstanceRequest()
|
1038
|
+
model.from_json_string(json.dumps(args))
|
1039
|
+
start_time = time.time()
|
1040
|
+
while True:
|
1041
|
+
rsp = client.DestroyDCDBInstance(model)
|
1042
|
+
result = rsp.to_json_string()
|
1043
|
+
try:
|
1044
|
+
json_obj = json.loads(result)
|
1045
|
+
except TypeError as e:
|
1046
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1047
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1048
|
+
break
|
1049
|
+
cur_time = time.time()
|
1050
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1051
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1052
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1053
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1054
|
+
else:
|
1055
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1056
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1057
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1058
|
+
|
1059
|
+
|
956
1060
|
def doDescribeFlow(args, parsed_globals):
|
957
1061
|
g_param = parse_global_arg(parsed_globals)
|
958
1062
|
|
@@ -1161,7 +1265,7 @@ def doDescribeAccounts(args, parsed_globals):
|
|
1161
1265
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1162
1266
|
|
1163
1267
|
|
1164
|
-
def
|
1268
|
+
def doCreateDedicatedClusterDCDBInstance(args, parsed_globals):
|
1165
1269
|
g_param = parse_global_arg(parsed_globals)
|
1166
1270
|
|
1167
1271
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1190,11 +1294,11 @@ def doActiveHourDCDBInstance(args, parsed_globals):
|
|
1190
1294
|
client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
|
1191
1295
|
client._sdkVersion += ("_CLI_" + __version__)
|
1192
1296
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1193
|
-
model = models.
|
1297
|
+
model = models.CreateDedicatedClusterDCDBInstanceRequest()
|
1194
1298
|
model.from_json_string(json.dumps(args))
|
1195
1299
|
start_time = time.time()
|
1196
1300
|
while True:
|
1197
|
-
rsp = client.
|
1301
|
+
rsp = client.CreateDedicatedClusterDCDBInstance(model)
|
1198
1302
|
result = rsp.to_json_string()
|
1199
1303
|
try:
|
1200
1304
|
json_obj = json.loads(result)
|
@@ -1577,6 +1681,58 @@ def doDescribeDBLogFiles(args, parsed_globals):
|
|
1577
1681
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1578
1682
|
|
1579
1683
|
|
1684
|
+
def doModifyInstanceProtectedProperty(args, parsed_globals):
|
1685
|
+
g_param = parse_global_arg(parsed_globals)
|
1686
|
+
|
1687
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1688
|
+
cred = credential.CVMRoleCredential()
|
1689
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1690
|
+
cred = credential.STSAssumeRoleCredential(
|
1691
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1692
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1693
|
+
)
|
1694
|
+
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):
|
1695
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1696
|
+
else:
|
1697
|
+
cred = credential.Credential(
|
1698
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1699
|
+
)
|
1700
|
+
http_profile = HttpProfile(
|
1701
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1702
|
+
reqMethod="POST",
|
1703
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1704
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1705
|
+
)
|
1706
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1707
|
+
if g_param[OptionsDefine.Language]:
|
1708
|
+
profile.language = g_param[OptionsDefine.Language]
|
1709
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1710
|
+
client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
|
1711
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1712
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1713
|
+
model = models.ModifyInstanceProtectedPropertyRequest()
|
1714
|
+
model.from_json_string(json.dumps(args))
|
1715
|
+
start_time = time.time()
|
1716
|
+
while True:
|
1717
|
+
rsp = client.ModifyInstanceProtectedProperty(model)
|
1718
|
+
result = rsp.to_json_string()
|
1719
|
+
try:
|
1720
|
+
json_obj = json.loads(result)
|
1721
|
+
except TypeError as e:
|
1722
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1723
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1724
|
+
break
|
1725
|
+
cur_time = time.time()
|
1726
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1727
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1728
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1729
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1730
|
+
else:
|
1731
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1732
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1733
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1734
|
+
|
1735
|
+
|
1580
1736
|
def doCreateOnlineDDLJob(args, parsed_globals):
|
1581
1737
|
g_param = parse_global_arg(parsed_globals)
|
1582
1738
|
|
@@ -2201,7 +2357,7 @@ def doModifyAccountPrivileges(args, parsed_globals):
|
|
2201
2357
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2202
2358
|
|
2203
2359
|
|
2204
|
-
def
|
2360
|
+
def doModifyDBInstanceSecurityGroups(args, parsed_globals):
|
2205
2361
|
g_param = parse_global_arg(parsed_globals)
|
2206
2362
|
|
2207
2363
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2230,11 +2386,11 @@ def doDestroyDCDBInstance(args, parsed_globals):
|
|
2230
2386
|
client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
|
2231
2387
|
client._sdkVersion += ("_CLI_" + __version__)
|
2232
2388
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2233
|
-
model = models.
|
2389
|
+
model = models.ModifyDBInstanceSecurityGroupsRequest()
|
2234
2390
|
model.from_json_string(json.dumps(args))
|
2235
2391
|
start_time = time.time()
|
2236
2392
|
while True:
|
2237
|
-
rsp = client.
|
2393
|
+
rsp = client.ModifyDBInstanceSecurityGroups(model)
|
2238
2394
|
result = rsp.to_json_string()
|
2239
2395
|
try:
|
2240
2396
|
json_obj = json.loads(result)
|
@@ -2461,7 +2617,7 @@ def doCloseDBExtranetAccess(args, parsed_globals):
|
|
2461
2617
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2462
2618
|
|
2463
2619
|
|
2464
|
-
def
|
2620
|
+
def doDescribeDCDBShards(args, parsed_globals):
|
2465
2621
|
g_param = parse_global_arg(parsed_globals)
|
2466
2622
|
|
2467
2623
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2490,11 +2646,11 @@ def doDescribeBackupFiles(args, parsed_globals):
|
|
2490
2646
|
client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
|
2491
2647
|
client._sdkVersion += ("_CLI_" + __version__)
|
2492
2648
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2493
|
-
model = models.
|
2649
|
+
model = models.DescribeDCDBShardsRequest()
|
2494
2650
|
model.from_json_string(json.dumps(args))
|
2495
2651
|
start_time = time.time()
|
2496
2652
|
while True:
|
2497
|
-
rsp = client.
|
2653
|
+
rsp = client.DescribeDCDBShards(model)
|
2498
2654
|
result = rsp.to_json_string()
|
2499
2655
|
try:
|
2500
2656
|
json_obj = json.loads(result)
|
@@ -2513,7 +2669,7 @@ def doDescribeBackupFiles(args, parsed_globals):
|
|
2513
2669
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2514
2670
|
|
2515
2671
|
|
2516
|
-
def
|
2672
|
+
def doDescribeBackupFiles(args, parsed_globals):
|
2517
2673
|
g_param = parse_global_arg(parsed_globals)
|
2518
2674
|
|
2519
2675
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2542,11 +2698,11 @@ def doGrantAccountPrivileges(args, parsed_globals):
|
|
2542
2698
|
client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
|
2543
2699
|
client._sdkVersion += ("_CLI_" + __version__)
|
2544
2700
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2545
|
-
model = models.
|
2701
|
+
model = models.DescribeBackupFilesRequest()
|
2546
2702
|
model.from_json_string(json.dumps(args))
|
2547
2703
|
start_time = time.time()
|
2548
2704
|
while True:
|
2549
|
-
rsp = client.
|
2705
|
+
rsp = client.DescribeBackupFiles(model)
|
2550
2706
|
result = rsp.to_json_string()
|
2551
2707
|
try:
|
2552
2708
|
json_obj = json.loads(result)
|
@@ -2773,7 +2929,7 @@ def doModifyDBEncryptAttributes(args, parsed_globals):
|
|
2773
2929
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2774
2930
|
|
2775
2931
|
|
2776
|
-
def
|
2932
|
+
def doGrantAccountPrivileges(args, parsed_globals):
|
2777
2933
|
g_param = parse_global_arg(parsed_globals)
|
2778
2934
|
|
2779
2935
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2802,11 +2958,11 @@ def doCreateDedicatedClusterDCDBInstance(args, parsed_globals):
|
|
2802
2958
|
client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
|
2803
2959
|
client._sdkVersion += ("_CLI_" + __version__)
|
2804
2960
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2805
|
-
model = models.
|
2961
|
+
model = models.GrantAccountPrivilegesRequest()
|
2806
2962
|
model.from_json_string(json.dumps(args))
|
2807
2963
|
start_time = time.time()
|
2808
2964
|
while True:
|
2809
|
-
rsp = client.
|
2965
|
+
rsp = client.GrantAccountPrivileges(model)
|
2810
2966
|
result = rsp.to_json_string()
|
2811
2967
|
try:
|
2812
2968
|
json_obj = json.loads(result)
|
@@ -2981,7 +3137,7 @@ def doDescribeDBTmpInstances(args, parsed_globals):
|
|
2981
3137
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2982
3138
|
|
2983
3139
|
|
2984
|
-
def
|
3140
|
+
def doModifyInstanceSSLAttributes(args, parsed_globals):
|
2985
3141
|
g_param = parse_global_arg(parsed_globals)
|
2986
3142
|
|
2987
3143
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3010,11 +3166,11 @@ def doDescribeDCDBShards(args, parsed_globals):
|
|
3010
3166
|
client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
|
3011
3167
|
client._sdkVersion += ("_CLI_" + __version__)
|
3012
3168
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3013
|
-
model = models.
|
3169
|
+
model = models.ModifyInstanceSSLAttributesRequest()
|
3014
3170
|
model.from_json_string(json.dumps(args))
|
3015
3171
|
start_time = time.time()
|
3016
3172
|
while True:
|
3017
|
-
rsp = client.
|
3173
|
+
rsp = client.ModifyInstanceSSLAttributes(model)
|
3018
3174
|
result = rsp.to_json_string()
|
3019
3175
|
try:
|
3020
3176
|
json_obj = json.loads(result)
|
@@ -3709,6 +3865,58 @@ def doCreateAccount(args, parsed_globals):
|
|
3709
3865
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3710
3866
|
|
3711
3867
|
|
3868
|
+
def doDescribeProcessList(args, parsed_globals):
|
3869
|
+
g_param = parse_global_arg(parsed_globals)
|
3870
|
+
|
3871
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3872
|
+
cred = credential.CVMRoleCredential()
|
3873
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3874
|
+
cred = credential.STSAssumeRoleCredential(
|
3875
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3876
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3877
|
+
)
|
3878
|
+
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):
|
3879
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3880
|
+
else:
|
3881
|
+
cred = credential.Credential(
|
3882
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3883
|
+
)
|
3884
|
+
http_profile = HttpProfile(
|
3885
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3886
|
+
reqMethod="POST",
|
3887
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3888
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3889
|
+
)
|
3890
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3891
|
+
if g_param[OptionsDefine.Language]:
|
3892
|
+
profile.language = g_param[OptionsDefine.Language]
|
3893
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3894
|
+
client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
|
3895
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3896
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3897
|
+
model = models.DescribeProcessListRequest()
|
3898
|
+
model.from_json_string(json.dumps(args))
|
3899
|
+
start_time = time.time()
|
3900
|
+
while True:
|
3901
|
+
rsp = client.DescribeProcessList(model)
|
3902
|
+
result = rsp.to_json_string()
|
3903
|
+
try:
|
3904
|
+
json_obj = json.loads(result)
|
3905
|
+
except TypeError as e:
|
3906
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3907
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3908
|
+
break
|
3909
|
+
cur_time = time.time()
|
3910
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3911
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3912
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3913
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3914
|
+
else:
|
3915
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3916
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3917
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3918
|
+
|
3919
|
+
|
3712
3920
|
def doModifyBackupConfigs(args, parsed_globals):
|
3713
3921
|
g_param = parse_global_arg(parsed_globals)
|
3714
3922
|
|
@@ -4073,7 +4281,7 @@ def doDescribeDCDBRenewalPrice(args, parsed_globals):
|
|
4073
4281
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4074
4282
|
|
4075
4283
|
|
4076
|
-
def
|
4284
|
+
def doDescribeOrders(args, parsed_globals):
|
4077
4285
|
g_param = parse_global_arg(parsed_globals)
|
4078
4286
|
|
4079
4287
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4102,11 +4310,11 @@ def doModifyDBInstanceSecurityGroups(args, parsed_globals):
|
|
4102
4310
|
client = mod.DcdbClient(cred, g_param[OptionsDefine.Region], profile)
|
4103
4311
|
client._sdkVersion += ("_CLI_" + __version__)
|
4104
4312
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4105
|
-
model = models.
|
4313
|
+
model = models.DescribeOrdersRequest()
|
4106
4314
|
model.from_json_string(json.dumps(args))
|
4107
4315
|
start_time = time.time()
|
4108
4316
|
while True:
|
4109
|
-
rsp = client.
|
4317
|
+
rsp = client.DescribeOrders(model)
|
4110
4318
|
result = rsp.to_json_string()
|
4111
4319
|
try:
|
4112
4320
|
json_obj = json.loads(result)
|
@@ -4139,7 +4347,7 @@ ACTION_MAP = {
|
|
4139
4347
|
"DescribeAccountPrivileges": doDescribeAccountPrivileges,
|
4140
4348
|
"ModifyAccountConfig": doModifyAccountConfig,
|
4141
4349
|
"DescribeDBSecurityGroups": doDescribeDBSecurityGroups,
|
4142
|
-
"
|
4350
|
+
"ActiveHourDCDBInstance": doActiveHourDCDBInstance,
|
4143
4351
|
"DescribeDatabaseObjects": doDescribeDatabaseObjects,
|
4144
4352
|
"DescribeShardSpec": doDescribeShardSpec,
|
4145
4353
|
"DescribeDCDBUpgradePrice": doDescribeDCDBUpgradePrice,
|
@@ -4149,16 +4357,18 @@ ACTION_MAP = {
|
|
4149
4357
|
"ModifyRealServerAccessStrategy": doModifyRealServerAccessStrategy,
|
4150
4358
|
"DescribeFileDownloadUrl": doDescribeFileDownloadUrl,
|
4151
4359
|
"DisassociateSecurityGroups": doDisassociateSecurityGroups,
|
4360
|
+
"DescribeInstanceSSLAttributes": doDescribeInstanceSSLAttributes,
|
4152
4361
|
"ResetAccountPassword": doResetAccountPassword,
|
4153
4362
|
"DescribeUserTasks": doDescribeUserTasks,
|
4154
4363
|
"ModifyDBParameters": doModifyDBParameters,
|
4155
4364
|
"DescribeDCDBSaleInfo": doDescribeDCDBSaleInfo,
|
4156
4365
|
"DescribeDBSlowLogs": doDescribeDBSlowLogs,
|
4366
|
+
"DestroyDCDBInstance": doDestroyDCDBInstance,
|
4157
4367
|
"DescribeFlow": doDescribeFlow,
|
4158
4368
|
"SwitchDBInstanceHA": doSwitchDBInstanceHA,
|
4159
4369
|
"CloneAccount": doCloneAccount,
|
4160
4370
|
"DescribeAccounts": doDescribeAccounts,
|
4161
|
-
"
|
4371
|
+
"CreateDedicatedClusterDCDBInstance": doCreateDedicatedClusterDCDBInstance,
|
4162
4372
|
"RenewDCDBInstance": doRenewDCDBInstance,
|
4163
4373
|
"DeleteAccount": doDeleteAccount,
|
4164
4374
|
"DescribeDBParameters": doDescribeDBParameters,
|
@@ -4166,6 +4376,7 @@ ACTION_MAP = {
|
|
4166
4376
|
"ModifyInstanceVip": doModifyInstanceVip,
|
4167
4377
|
"DescribeOnlineDDLJob": doDescribeOnlineDDLJob,
|
4168
4378
|
"DescribeDBLogFiles": doDescribeDBLogFiles,
|
4379
|
+
"ModifyInstanceProtectedProperty": doModifyInstanceProtectedProperty,
|
4169
4380
|
"CreateOnlineDDLJob": doCreateOnlineDDLJob,
|
4170
4381
|
"IsolateHourDCDBInstance": doIsolateHourDCDBInstance,
|
4171
4382
|
"DescribeBackupConfigs": doDescribeBackupConfigs,
|
@@ -4178,22 +4389,22 @@ ACTION_MAP = {
|
|
4178
4389
|
"KillSession": doKillSession,
|
4179
4390
|
"OpenDBExtranetAccess": doOpenDBExtranetAccess,
|
4180
4391
|
"ModifyAccountPrivileges": doModifyAccountPrivileges,
|
4181
|
-
"
|
4392
|
+
"ModifyDBInstanceSecurityGroups": doModifyDBInstanceSecurityGroups,
|
4182
4393
|
"UpgradeDCDBInstance": doUpgradeDCDBInstance,
|
4183
4394
|
"ModifyDBSyncMode": doModifyDBSyncMode,
|
4184
4395
|
"DescribeProjects": doDescribeProjects,
|
4185
4396
|
"CloseDBExtranetAccess": doCloseDBExtranetAccess,
|
4397
|
+
"DescribeDCDBShards": doDescribeDCDBShards,
|
4186
4398
|
"DescribeBackupFiles": doDescribeBackupFiles,
|
4187
|
-
"GrantAccountPrivileges": doGrantAccountPrivileges,
|
4188
4399
|
"DescribeProjectSecurityGroups": doDescribeProjectSecurityGroups,
|
4189
4400
|
"DescribeDCDBInstances": doDescribeDCDBInstances,
|
4190
4401
|
"DescribeDcnDetail": doDescribeDcnDetail,
|
4191
4402
|
"ModifyDBEncryptAttributes": doModifyDBEncryptAttributes,
|
4192
|
-
"
|
4403
|
+
"GrantAccountPrivileges": doGrantAccountPrivileges,
|
4193
4404
|
"CancelOnlineDDLJob": doCancelOnlineDDLJob,
|
4194
4405
|
"CopyAccountPrivileges": doCopyAccountPrivileges,
|
4195
4406
|
"DescribeDBTmpInstances": doDescribeDBTmpInstances,
|
4196
|
-
"
|
4407
|
+
"ModifyInstanceSSLAttributes": doModifyInstanceSSLAttributes,
|
4197
4408
|
"CreateDCDBInstance": doCreateDCDBInstance,
|
4198
4409
|
"DescribeDatabases": doDescribeDatabases,
|
4199
4410
|
"DestroyHourDCDBInstance": doDestroyHourDCDBInstance,
|
@@ -4207,6 +4418,7 @@ ACTION_MAP = {
|
|
4207
4418
|
"InitDCDBInstances": doInitDCDBInstances,
|
4208
4419
|
"DescribeDCDBInstanceDetail": doDescribeDCDBInstanceDetail,
|
4209
4420
|
"CreateAccount": doCreateAccount,
|
4421
|
+
"DescribeProcessList": doDescribeProcessList,
|
4210
4422
|
"ModifyBackupConfigs": doModifyBackupConfigs,
|
4211
4423
|
"ModifyDBInstanceName": doModifyDBInstanceName,
|
4212
4424
|
"DescribeLogFileRetentionPeriod": doDescribeLogFileRetentionPeriod,
|
@@ -4214,7 +4426,7 @@ ACTION_MAP = {
|
|
4214
4426
|
"FlushBinlog": doFlushBinlog,
|
4215
4427
|
"DescribeDBEncryptAttributes": doDescribeDBEncryptAttributes,
|
4216
4428
|
"DescribeDCDBRenewalPrice": doDescribeDCDBRenewalPrice,
|
4217
|
-
"
|
4429
|
+
"DescribeOrders": doDescribeOrders,
|
4218
4430
|
|
4219
4431
|
}
|
4220
4432
|
|