tccli 3.0.896.1__py2.py3-none-any.whl → 3.0.898.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/cdb/v20170320/CreateDatabase.md +22 -0
- tccli/examples/cdn/v20180606/ModifyDomainConfig.md +88 -0
- tccli/examples/ckafka/v20190819/CreatePostPaidInstance.md +154 -0
- tccli/examples/cynosdb/v20190107/DescribeProxySpecs.md +56 -0
- tccli/examples/cynosdb/v20190107/DescribeSupportProxyVersion.md +24 -0
- tccli/examples/ess/v20201111/CreateFlowApprovers.md +3 -1
- tccli/examples/ess/v20201111/DescribeThirdPartyAuthCode.md +1 -1
- tccli/examples/postgres/v20170312/CreateReadOnlyDBInstance.md +1 -1
- tccli/examples/postgres/v20170312/UpgradeDBInstanceKernelVersion.md +1 -1
- tccli/examples/sqlserver/v20180328/DescribeDBInstancesAttribute.md +6 -1
- tccli/examples/sqlserver/v20180328/DescribeDBs.md +1 -1
- tccli/examples/tdmq/v20200217/CreateCmqQueue.md +2 -2
- tccli/examples/tke/v20180525/CreateClusterEndpointVip.md +1 -1
- tccli/examples/trp/v20210515/CreateCodeBatch.md +11 -5
- tccli/examples/trp/v20210515/DescribeScanLogs.md +1 -1
- tccli/examples/trp/v20210515/DescribeTraceCodeById.md +16 -11
- tccli/examples/trp/v20210515/ModifyCodeBatch.md +3 -3
- tccli/examples/vod/v20180717/CreateQualityInspectTemplate.md +24 -0
- tccli/examples/vod/v20180717/DeleteQualityInspectTemplate.md +20 -0
- tccli/examples/vod/v20180717/DescribeQualityInspectTemplates.md +44 -0
- tccli/examples/vod/v20180717/DescribeTaskDetail.md +4 -0
- tccli/examples/vod/v20180717/InspectMediaQuality.md +22 -0
- tccli/examples/vod/v20180717/ModifyQualityInspectTemplate.md +21 -0
- tccli/examples/yinsuda/v20220527/DescribeKTVMusicAccompanySegmentUrl.md +70 -0
- tccli/services/cdb/cdb_client.py +57 -4
- tccli/services/cdb/v20170320/api.json +52 -0
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/cdn/cdn_client.py +57 -4
- tccli/services/cdn/v20180606/api.json +52 -0
- tccli/services/cdn/v20180606/examples.json +26 -0
- tccli/services/ckafka/ckafka_client.py +61 -8
- tccli/services/ckafka/v20190819/api.json +303 -7
- tccli/services/ckafka/v20190819/examples.json +20 -0
- tccli/services/clb/v20180317/api.json +3 -1
- tccli/services/cynosdb/cynosdb_client.py +106 -0
- tccli/services/cynosdb/v20190107/api.json +134 -0
- tccli/services/cynosdb/v20190107/examples.json +22 -0
- tccli/services/emr/v20190103/api.json +6 -2
- tccli/services/ess/v20201111/api.json +42 -11
- tccli/services/ess/v20201111/examples.json +3 -3
- tccli/services/essbasic/v20210526/api.json +27 -1
- tccli/services/ocr/v20181119/api.json +4 -2
- tccli/services/postgres/v20170312/api.json +2 -31
- tccli/services/postgres/v20170312/examples.json +2 -2
- tccli/services/sqlserver/v20180328/api.json +72 -15
- tccli/services/sqlserver/v20180328/examples.json +3 -3
- tccli/services/tbaas/tbaas_client.py +4 -322
- tccli/services/tbaas/v20180416/api.json +108 -810
- tccli/services/tbaas/v20180416/examples.json +0 -48
- tccli/services/tbp/v20190311/api.json +10 -10
- tccli/services/tdid/tdid_client.py +67 -1551
- tccli/services/tdid/v20210519/api.json +331 -3504
- tccli/services/tdid/v20210519/examples.json +0 -224
- tccli/services/tdmq/v20200217/api.json +2 -19
- tccli/services/tdmq/v20200217/examples.json +2 -2
- tccli/services/tione/v20211111/api.json +24 -2
- tccli/services/tke/v20180525/api.json +4 -6
- tccli/services/tke/v20180525/examples.json +2 -2
- tccli/services/trp/v20210515/api.json +285 -113
- tccli/services/trp/v20210515/examples.json +6 -6
- tccli/services/vod/v20180717/api.json +1346 -2
- tccli/services/vod/v20180717/examples.json +44 -4
- tccli/services/vod/vod_client.py +287 -22
- tccli/services/yinsuda/v20220527/api.json +159 -0
- tccli/services/yinsuda/v20220527/examples.json +14 -0
- tccli/services/yinsuda/yinsuda_client.py +53 -0
- {tccli-3.0.896.1.dist-info → tccli-3.0.898.1.dist-info}/METADATA +2 -2
- {tccli-3.0.896.1.dist-info → tccli-3.0.898.1.dist-info}/RECORD +72 -61
- {tccli-3.0.896.1.dist-info → tccli-3.0.898.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.896.1.dist-info → tccli-3.0.898.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.896.1.dist-info → tccli-3.0.898.1.dist-info}/license_files/LICENSE +0 -0
@@ -589,6 +589,58 @@ def doDescribeResourcePackageList(args, parsed_globals):
|
|
589
589
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
590
590
|
|
591
591
|
|
592
|
+
def doDescribeSupportProxyVersion(args, parsed_globals):
|
593
|
+
g_param = parse_global_arg(parsed_globals)
|
594
|
+
|
595
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
596
|
+
cred = credential.CVMRoleCredential()
|
597
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
598
|
+
cred = credential.STSAssumeRoleCredential(
|
599
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
600
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
601
|
+
)
|
602
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
603
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
604
|
+
else:
|
605
|
+
cred = credential.Credential(
|
606
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
607
|
+
)
|
608
|
+
http_profile = HttpProfile(
|
609
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
610
|
+
reqMethod="POST",
|
611
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
612
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
613
|
+
)
|
614
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
615
|
+
if g_param[OptionsDefine.Language]:
|
616
|
+
profile.language = g_param[OptionsDefine.Language]
|
617
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
618
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
619
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
620
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
621
|
+
model = models.DescribeSupportProxyVersionRequest()
|
622
|
+
model.from_json_string(json.dumps(args))
|
623
|
+
start_time = time.time()
|
624
|
+
while True:
|
625
|
+
rsp = client.DescribeSupportProxyVersion(model)
|
626
|
+
result = rsp.to_json_string()
|
627
|
+
try:
|
628
|
+
json_obj = json.loads(result)
|
629
|
+
except TypeError as e:
|
630
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
631
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
632
|
+
break
|
633
|
+
cur_time = time.time()
|
634
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
635
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
636
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
637
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
638
|
+
else:
|
639
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
640
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
641
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
642
|
+
|
643
|
+
|
592
644
|
def doCreateAuditLogFile(args, parsed_globals):
|
593
645
|
g_param = parse_global_arg(parsed_globals)
|
594
646
|
|
@@ -745,6 +797,58 @@ def doCloseProxy(args, parsed_globals):
|
|
745
797
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
746
798
|
|
747
799
|
|
800
|
+
def doDescribeProxySpecs(args, parsed_globals):
|
801
|
+
g_param = parse_global_arg(parsed_globals)
|
802
|
+
|
803
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
804
|
+
cred = credential.CVMRoleCredential()
|
805
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
806
|
+
cred = credential.STSAssumeRoleCredential(
|
807
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
808
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')]
|
809
|
+
)
|
810
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
811
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
812
|
+
else:
|
813
|
+
cred = credential.Credential(
|
814
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
815
|
+
)
|
816
|
+
http_profile = HttpProfile(
|
817
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
818
|
+
reqMethod="POST",
|
819
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
820
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
821
|
+
)
|
822
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
823
|
+
if g_param[OptionsDefine.Language]:
|
824
|
+
profile.language = g_param[OptionsDefine.Language]
|
825
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
826
|
+
client = mod.CynosdbClient(cred, g_param[OptionsDefine.Region], profile)
|
827
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
828
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
829
|
+
model = models.DescribeProxySpecsRequest()
|
830
|
+
model.from_json_string(json.dumps(args))
|
831
|
+
start_time = time.time()
|
832
|
+
while True:
|
833
|
+
rsp = client.DescribeProxySpecs(model)
|
834
|
+
result = rsp.to_json_string()
|
835
|
+
try:
|
836
|
+
json_obj = json.loads(result)
|
837
|
+
except TypeError as e:
|
838
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
839
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
840
|
+
break
|
841
|
+
cur_time = time.time()
|
842
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
843
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
844
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
845
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
846
|
+
else:
|
847
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
848
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
849
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
850
|
+
|
851
|
+
|
748
852
|
def doDescribeClusterDetail(args, parsed_globals):
|
749
853
|
g_param = parse_global_arg(parsed_globals)
|
750
854
|
|
@@ -6591,9 +6695,11 @@ ACTION_MAP = {
|
|
6591
6695
|
"CopyClusterPasswordComplexity": doCopyClusterPasswordComplexity,
|
6592
6696
|
"CloseAuditService": doCloseAuditService,
|
6593
6697
|
"DescribeResourcePackageList": doDescribeResourcePackageList,
|
6698
|
+
"DescribeSupportProxyVersion": doDescribeSupportProxyVersion,
|
6594
6699
|
"CreateAuditLogFile": doCreateAuditLogFile,
|
6595
6700
|
"SwitchClusterVpc": doSwitchClusterVpc,
|
6596
6701
|
"CloseProxy": doCloseProxy,
|
6702
|
+
"DescribeProxySpecs": doDescribeProxySpecs,
|
6597
6703
|
"DescribeClusterDetail": doDescribeClusterDetail,
|
6598
6704
|
"DescribeBackupConfig": doDescribeBackupConfig,
|
6599
6705
|
"DescribeBinlogDownloadUrl": doDescribeBinlogDownloadUrl,
|
@@ -420,6 +420,13 @@
|
|
420
420
|
"output": "DescribeProxyNodesResponse",
|
421
421
|
"status": "online"
|
422
422
|
},
|
423
|
+
"DescribeProxySpecs": {
|
424
|
+
"document": "查询数据库代理规格",
|
425
|
+
"input": "DescribeProxySpecsRequest",
|
426
|
+
"name": "查询数据库代理规格",
|
427
|
+
"output": "DescribeProxySpecsResponse",
|
428
|
+
"status": "online"
|
429
|
+
},
|
423
430
|
"DescribeResourcePackageDetail": {
|
424
431
|
"document": "查询资源包使用详情",
|
425
432
|
"input": "DescribeResourcePackageDetailRequest",
|
@@ -462,6 +469,13 @@
|
|
462
469
|
"output": "DescribeRollbackTimeValidityResponse",
|
463
470
|
"status": "online"
|
464
471
|
},
|
472
|
+
"DescribeSupportProxyVersion": {
|
473
|
+
"document": "查询支持的数据库代理版本",
|
474
|
+
"input": "DescribeSupportProxyVersionRequest",
|
475
|
+
"name": "查询支持的数据库代理版本",
|
476
|
+
"output": "DescribeSupportProxyVersionResponse",
|
477
|
+
"status": "online"
|
478
|
+
},
|
465
479
|
"DescribeZones": {
|
466
480
|
"document": "本接口(DescribeZones)用于查询可售卖地域可用区信息。",
|
467
481
|
"input": "DescribeZonesRequest",
|
@@ -3306,6 +3320,7 @@
|
|
3306
3320
|
"example": "20190522160000003106844584180998",
|
3307
3321
|
"member": "string",
|
3308
3322
|
"name": "TranId",
|
3323
|
+
"output_required": true,
|
3309
3324
|
"type": "string",
|
3310
3325
|
"value_allowed_null": true
|
3311
3326
|
},
|
@@ -3315,6 +3330,7 @@
|
|
3315
3330
|
"example": "[\"20190522112283\"]",
|
3316
3331
|
"member": "string",
|
3317
3332
|
"name": "DealNames",
|
3333
|
+
"output_required": true,
|
3318
3334
|
"type": "list",
|
3319
3335
|
"value_allowed_null": true
|
3320
3336
|
},
|
@@ -3324,6 +3340,7 @@
|
|
3324
3340
|
"example": "[\"cynosdbpg-ins-67rmucgk\"]",
|
3325
3341
|
"member": "string",
|
3326
3342
|
"name": "ResourceIds",
|
3343
|
+
"output_required": true,
|
3327
3344
|
"type": "list",
|
3328
3345
|
"value_allowed_null": true
|
3329
3346
|
},
|
@@ -3333,6 +3350,7 @@
|
|
3333
3350
|
"example": "[\"cynosdbmysql-sls-9nts65r2\"]",
|
3334
3351
|
"member": "string",
|
3335
3352
|
"name": "ClusterIds",
|
3353
|
+
"output_required": true,
|
3336
3354
|
"type": "list",
|
3337
3355
|
"value_allowed_null": true
|
3338
3356
|
},
|
@@ -3342,6 +3360,7 @@
|
|
3342
3360
|
"example": "[\"xxx\"]",
|
3343
3361
|
"member": "string",
|
3344
3362
|
"name": "BigDealIds",
|
3363
|
+
"output_required": true,
|
3345
3364
|
"type": "list",
|
3346
3365
|
"value_allowed_null": true
|
3347
3366
|
},
|
@@ -9090,6 +9109,33 @@
|
|
9090
9109
|
],
|
9091
9110
|
"type": "object"
|
9092
9111
|
},
|
9112
|
+
"DescribeProxySpecsRequest": {
|
9113
|
+
"document": "DescribeProxySpecs请求参数结构体",
|
9114
|
+
"members": [],
|
9115
|
+
"type": "object"
|
9116
|
+
},
|
9117
|
+
"DescribeProxySpecsResponse": {
|
9118
|
+
"document": "DescribeProxySpecs返回参数结构体",
|
9119
|
+
"members": [
|
9120
|
+
{
|
9121
|
+
"disabled": false,
|
9122
|
+
"document": "数据库代理规格列表",
|
9123
|
+
"example": "无",
|
9124
|
+
"member": "ProxySpec",
|
9125
|
+
"name": "ProxySpecs",
|
9126
|
+
"required": true,
|
9127
|
+
"type": "list",
|
9128
|
+
"value_allowed_null": false
|
9129
|
+
},
|
9130
|
+
{
|
9131
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
9132
|
+
"member": "string",
|
9133
|
+
"name": "RequestId",
|
9134
|
+
"type": "string"
|
9135
|
+
}
|
9136
|
+
],
|
9137
|
+
"type": "object"
|
9138
|
+
},
|
9093
9139
|
"DescribeResourcePackageDetailRequest": {
|
9094
9140
|
"document": "DescribeResourcePackageDetail请求参数结构体",
|
9095
9141
|
"members": [
|
@@ -9561,6 +9607,64 @@
|
|
9561
9607
|
],
|
9562
9608
|
"type": "object"
|
9563
9609
|
},
|
9610
|
+
"DescribeSupportProxyVersionRequest": {
|
9611
|
+
"document": "DescribeSupportProxyVersion请求参数结构体",
|
9612
|
+
"members": [
|
9613
|
+
{
|
9614
|
+
"default": "",
|
9615
|
+
"disabled": false,
|
9616
|
+
"document": "集群ID",
|
9617
|
+
"example": "cynosdbmysql-xxxxxxx",
|
9618
|
+
"member": "string",
|
9619
|
+
"name": "ClusterId",
|
9620
|
+
"required": true,
|
9621
|
+
"type": "string"
|
9622
|
+
},
|
9623
|
+
{
|
9624
|
+
"default": "",
|
9625
|
+
"disabled": false,
|
9626
|
+
"document": "数据库代理组ID",
|
9627
|
+
"example": "无",
|
9628
|
+
"member": "string",
|
9629
|
+
"name": "ProxyGroupId",
|
9630
|
+
"required": false,
|
9631
|
+
"type": "string"
|
9632
|
+
}
|
9633
|
+
],
|
9634
|
+
"type": "object"
|
9635
|
+
},
|
9636
|
+
"DescribeSupportProxyVersionResponse": {
|
9637
|
+
"document": "DescribeSupportProxyVersion返回参数结构体",
|
9638
|
+
"members": [
|
9639
|
+
{
|
9640
|
+
"disabled": false,
|
9641
|
+
"document": "支持的数据库代理版本集合\n注意:此字段可能返回 null,表示取不到有效值。",
|
9642
|
+
"example": "无",
|
9643
|
+
"member": "string",
|
9644
|
+
"name": "SupportProxyVersions",
|
9645
|
+
"required": true,
|
9646
|
+
"type": "list",
|
9647
|
+
"value_allowed_null": true
|
9648
|
+
},
|
9649
|
+
{
|
9650
|
+
"disabled": false,
|
9651
|
+
"document": "当前proxy版本号\n注意:此字段可能返回 null,表示取不到有效值。",
|
9652
|
+
"example": "无",
|
9653
|
+
"member": "string",
|
9654
|
+
"name": "CurrentProxyVersion",
|
9655
|
+
"required": true,
|
9656
|
+
"type": "string",
|
9657
|
+
"value_allowed_null": true
|
9658
|
+
},
|
9659
|
+
{
|
9660
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
9661
|
+
"member": "string",
|
9662
|
+
"name": "RequestId",
|
9663
|
+
"type": "string"
|
9664
|
+
}
|
9665
|
+
],
|
9666
|
+
"type": "object"
|
9667
|
+
},
|
9564
9668
|
"DescribeZonesRequest": {
|
9565
9669
|
"document": "DescribeZones请求参数结构体",
|
9566
9670
|
"members": [
|
@@ -14414,6 +14518,34 @@
|
|
14414
14518
|
],
|
14415
14519
|
"usage": "out"
|
14416
14520
|
},
|
14521
|
+
"ProxySpec": {
|
14522
|
+
"document": "数据库代理规格",
|
14523
|
+
"members": [
|
14524
|
+
{
|
14525
|
+
"default": "",
|
14526
|
+
"disabled": false,
|
14527
|
+
"document": "数据库代理cpu核数",
|
14528
|
+
"example": "无",
|
14529
|
+
"member": "int64",
|
14530
|
+
"name": "Cpu",
|
14531
|
+
"required": true,
|
14532
|
+
"type": "int",
|
14533
|
+
"value_allowed_null": false
|
14534
|
+
},
|
14535
|
+
{
|
14536
|
+
"default": "",
|
14537
|
+
"disabled": false,
|
14538
|
+
"document": "数据库代理内存",
|
14539
|
+
"example": "无",
|
14540
|
+
"member": "int64",
|
14541
|
+
"name": "Mem",
|
14542
|
+
"required": true,
|
14543
|
+
"type": "int",
|
14544
|
+
"value_allowed_null": false
|
14545
|
+
}
|
14546
|
+
],
|
14547
|
+
"usage": "out"
|
14548
|
+
},
|
14417
14549
|
"ProxyZone": {
|
14418
14550
|
"document": "proxy节点可用区内个数",
|
14419
14551
|
"members": [
|
@@ -14749,6 +14881,7 @@
|
|
14749
14881
|
"example": "package-123456",
|
14750
14882
|
"member": "string",
|
14751
14883
|
"name": "PackageId",
|
14884
|
+
"output_required": true,
|
14752
14885
|
"required": false,
|
14753
14886
|
"type": "string",
|
14754
14887
|
"value_allowed_null": true
|
@@ -14759,6 +14892,7 @@
|
|
14759
14892
|
"example": "CCU",
|
14760
14893
|
"member": "string",
|
14761
14894
|
"name": "PackageType",
|
14895
|
+
"output_required": true,
|
14762
14896
|
"required": false,
|
14763
14897
|
"type": "string",
|
14764
14898
|
"value_allowed_null": true
|
@@ -486,6 +486,20 @@
|
|
486
486
|
"title": "查询数据库代理节点列表"
|
487
487
|
}
|
488
488
|
],
|
489
|
+
"DescribeProxySpecs": [
|
490
|
+
{
|
491
|
+
"document": "",
|
492
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProxySpecs\n<公共请求参数>\n\n{}",
|
493
|
+
"output": "{\n \"Response\": {\n \"ProxySpecs\": [\n {\n \"Mem\": 0,\n \"Cpu\": 0\n }\n ],\n \"RequestId\": \"request-756112\"\n }\n}",
|
494
|
+
"title": "查询数据库代理规格"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"document": "",
|
498
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProxySpecs\n<公共请求参数>\n\n{}",
|
499
|
+
"output": "{\n \"Response\": {\n \"ProxySpecs\": [\n {\n \"Cpu\": 2,\n \"Mem\": 4000\n },\n {\n \"Cpu\": 4,\n \"Mem\": 8000\n },\n {\n \"Cpu\": 8,\n \"Mem\": 16000\n }\n ],\n \"RequestId\": \"f4479b74-e428-40d9-a81f-e34cac00ae70\"\n }\n}",
|
500
|
+
"title": "查询proxy规格"
|
501
|
+
}
|
502
|
+
],
|
489
503
|
"DescribeResourcePackageDetail": [
|
490
504
|
{
|
491
505
|
"document": "查询资源包使用详情\n",
|
@@ -534,6 +548,14 @@
|
|
534
548
|
"title": "查询指定时间点是否看回档"
|
535
549
|
}
|
536
550
|
],
|
551
|
+
"DescribeSupportProxyVersion": [
|
552
|
+
{
|
553
|
+
"document": "",
|
554
|
+
"input": "POST / HTTP/1.1\nHost: cynosdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSupportProxyVersion\n<公共请求参数>\n\n{\n \"ClusterId\": \"xx\"\n}",
|
555
|
+
"output": "{\n \"Response\": {\n \"SupportProxyVersions\": [\n \"xx\"\n ],\n \"CurrentProxyVersion\": \"0.0\",\n \"RequestId\": \"xx\"\n }\n}",
|
556
|
+
"title": "查询支持的数据库代理版本"
|
557
|
+
}
|
558
|
+
],
|
537
559
|
"DescribeZones": [
|
538
560
|
{
|
539
561
|
"document": "仅查看用户有权限的可用区",
|
@@ -8514,26 +8514,29 @@
|
|
8514
8514
|
"example": "0",
|
8515
8515
|
"member": "int64",
|
8516
8516
|
"name": "RollingRestartSwitch",
|
8517
|
+
"output_required": true,
|
8517
8518
|
"required": false,
|
8518
8519
|
"type": "int",
|
8519
8520
|
"value_allowed_null": true
|
8520
8521
|
},
|
8521
8522
|
{
|
8522
8523
|
"disabled": false,
|
8523
|
-
"document": "
|
8524
|
+
"document": "滚动重启每批次的重启数量,最大重启台数为 99999 台\n注意:此字段可能返回 null,表示取不到有效值。",
|
8524
8525
|
"example": "1",
|
8525
8526
|
"member": "int64",
|
8526
8527
|
"name": "BatchSize",
|
8528
|
+
"output_required": true,
|
8527
8529
|
"required": false,
|
8528
8530
|
"type": "int",
|
8529
8531
|
"value_allowed_null": true
|
8530
8532
|
},
|
8531
8533
|
{
|
8532
8534
|
"disabled": false,
|
8533
|
-
"document": "滚动重启每批停止等待时间
|
8535
|
+
"document": "滚动重启每批停止等待时间 ,最大间隔为 5 分钟 单位是秒\n注意:此字段可能返回 null,表示取不到有效值。",
|
8534
8536
|
"example": "5",
|
8535
8537
|
"member": "int64",
|
8536
8538
|
"name": "TimeWait",
|
8539
|
+
"output_required": true,
|
8537
8540
|
"required": false,
|
8538
8541
|
"type": "int",
|
8539
8542
|
"value_allowed_null": true
|
@@ -8544,6 +8547,7 @@
|
|
8544
8547
|
"example": "0",
|
8545
8548
|
"member": "int64",
|
8546
8549
|
"name": "DealOnFail",
|
8550
|
+
"output_required": true,
|
8547
8551
|
"required": false,
|
8548
8552
|
"type": "int",
|
8549
8553
|
"value_allowed_null": true
|