tccli 3.0.1247.1__py2.py3-none-any.whl → 3.0.1249.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/services/aca/v20210323/api.json +9 -9
- tccli/services/aiart/aiart_client.py +113 -7
- tccli/services/aiart/v20221229/api.json +191 -0
- tccli/services/aiart/v20221229/examples.json +16 -0
- tccli/services/autoscaling/v20180419/api.json +11 -0
- tccli/services/batch/v20170312/api.json +1 -1
- tccli/services/bh/v20230418/api.json +2 -2
- tccli/services/cbs/v20170312/api.json +6 -0
- tccli/services/cdb/v20170320/api.json +9 -0
- tccli/services/cfw/v20190904/api.json +3 -1
- tccli/services/clb/v20180317/api.json +29 -1
- tccli/services/clb/v20180317/examples.json +2 -2
- tccli/services/cloudapp/v20220530/api.json +43 -12
- tccli/services/cloudapp/v20220530/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +17 -7
- tccli/services/cls/v20201016/examples.json +4 -4
- tccli/services/cmq/cmq_client.py +4 -799
- tccli/services/cmq/v20190304/api.json +135 -1329
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +110 -4
- tccli/services/config/v20220802/api.json +374 -0
- tccli/services/config/v20220802/examples.json +16 -0
- tccli/services/cvm/v20170312/api.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +64 -0
- tccli/services/cynosdb/v20190107/examples.json +1 -1
- tccli/services/dc/v20180410/api.json +202 -171
- tccli/services/drm/v20181115/api.json +18 -7
- tccli/services/dts/v20211206/api.json +37 -1
- tccli/services/ecm/v20190719/api.json +64 -62
- tccli/services/ecm/v20190719/examples.json +5 -5
- tccli/services/emr/v20190103/api.json +639 -514
- tccli/services/emr/v20190103/examples.json +10 -10
- tccli/services/ess/v20201111/api.json +184 -165
- tccli/services/ess/v20201111/examples.json +15 -21
- tccli/services/essbasic/v20210526/api.json +109 -90
- tccli/services/essbasic/v20210526/examples.json +2 -2
- tccli/services/gaap/v20180529/api.json +12 -11
- tccli/services/gaap/v20180529/examples.json +2 -8
- tccli/services/gme/v20180711/api.json +110 -100
- tccli/services/gme/v20180711/examples.json +2 -2
- tccli/services/gwlb/v20240906/api.json +1 -1
- tccli/services/hai/hai_client.py +121 -15
- tccli/services/hai/v20230812/api.json +259 -2
- tccli/services/hai/v20230812/examples.json +18 -2
- tccli/services/iotexplorer/iotexplorer_client.py +228 -16
- tccli/services/iotexplorer/v20190423/api.json +536 -0
- tccli/services/iotexplorer/v20190423/examples.json +32 -0
- tccli/services/iotvideo/iotvideo_client.py +53 -0
- tccli/services/iotvideo/v20211125/api.json +80 -0
- tccli/services/iotvideo/v20211125/examples.json +8 -0
- tccli/services/keewidb/v20220308/api.json +17 -17
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lkeap/v20240522/api.json +13 -13
- tccli/services/lkeap/v20240522/examples.json +2 -2
- tccli/services/mna/v20210119/api.json +22 -22
- tccli/services/mongodb/v20180408/api.json +52 -50
- tccli/services/mongodb/v20180408/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +39 -44
- tccli/services/ocr/v20181119/api.json +7 -7
- tccli/services/postgres/postgres_client.py +106 -0
- tccli/services/postgres/v20170312/api.json +135 -0
- tccli/services/postgres/v20170312/examples.json +16 -0
- tccli/services/redis/v20180412/api.json +172 -172
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/scf/v20180416/api.json +2 -2
- tccli/services/sms/v20190711/api.json +48 -0
- tccli/services/sms/v20210111/api.json +48 -0
- tccli/services/ssl/v20191205/api.json +6 -6
- tccli/services/ssl/v20191205/examples.json +71 -5
- tccli/services/tcb/v20180608/api.json +828 -631
- tccli/services/tcb/v20180608/examples.json +19 -19
- tccli/services/tcbr/v20220217/examples.json +1 -1
- tccli/services/tcr/v20190924/api.json +18 -17
- tccli/services/tcr/v20190924/examples.json +6 -6
- tccli/services/tione/v20211111/api.json +23 -3
- tccli/services/trro/v20220325/api.json +12 -2
- tccli/services/trtc/v20190722/api.json +165 -163
- tccli/services/trtc/v20190722/examples.json +2 -2
- tccli/services/tse/v20201207/api.json +18 -0
- tccli/services/vpc/v20170312/api.json +40 -30
- tccli/services/vpc/v20170312/examples.json +13 -13
- tccli/services/wedata/v20210820/api.json +80 -2
- tccli/services/wedata/v20210820/examples.json +1 -1
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/RECORD +89 -89
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1247.1.dist-info → tccli-3.0.1249.1.dist-info}/license_files/LICENSE +0 -0
@@ -7000,7 +7000,7 @@
|
|
7000
7000
|
"members": [
|
7001
7001
|
{
|
7002
7002
|
"disabled": false,
|
7003
|
-
"document": "
|
7003
|
+
"document": "复印件告警,默认为false",
|
7004
7004
|
"example": "false",
|
7005
7005
|
"member": "bool",
|
7006
7006
|
"name": "CopyWarn",
|
@@ -7009,7 +7009,7 @@
|
|
7009
7009
|
},
|
7010
7010
|
{
|
7011
7011
|
"disabled": false,
|
7012
|
-
"document": "
|
7012
|
+
"document": "边框和框内遮挡告警,默认为false",
|
7013
7013
|
"example": "false",
|
7014
7014
|
"member": "bool",
|
7015
7015
|
"name": "BorderCheckWarn",
|
@@ -7018,7 +7018,7 @@
|
|
7018
7018
|
},
|
7019
7019
|
{
|
7020
7020
|
"disabled": false,
|
7021
|
-
"document": "
|
7021
|
+
"document": "翻拍告警,默认为false",
|
7022
7022
|
"example": "false",
|
7023
7023
|
"member": "bool",
|
7024
7024
|
"name": "ReshootWarn",
|
@@ -7027,7 +7027,7 @@
|
|
7027
7027
|
},
|
7028
7028
|
{
|
7029
7029
|
"disabled": false,
|
7030
|
-
"document": "
|
7030
|
+
"document": "疑似存在PS痕迹告警,默认为false",
|
7031
7031
|
"example": "false",
|
7032
7032
|
"member": "bool",
|
7033
7033
|
"name": "DetectPsWarn",
|
@@ -7036,7 +7036,7 @@
|
|
7036
7036
|
},
|
7037
7037
|
{
|
7038
7038
|
"disabled": false,
|
7039
|
-
"document": "
|
7039
|
+
"document": "临时身份证告警,默认为false",
|
7040
7040
|
"example": "false",
|
7041
7041
|
"member": "bool",
|
7042
7042
|
"name": "TempIdWarn",
|
@@ -7045,7 +7045,7 @@
|
|
7045
7045
|
},
|
7046
7046
|
{
|
7047
7047
|
"disabled": false,
|
7048
|
-
"document": "
|
7048
|
+
"document": "身份证有效日期不合法告警,默认为false",
|
7049
7049
|
"example": "false",
|
7050
7050
|
"member": "bool",
|
7051
7051
|
"name": "InvalidDateWarn",
|
@@ -7054,7 +7054,7 @@
|
|
7054
7054
|
},
|
7055
7055
|
{
|
7056
7056
|
"disabled": false,
|
7057
|
-
"document": "
|
7057
|
+
"document": "是否开启反光检测,默认为false",
|
7058
7058
|
"example": "false",
|
7059
7059
|
"member": "bool",
|
7060
7060
|
"name": "ReflectWarn",
|
@@ -433,6 +433,58 @@ def doModifyDBInstanceName(args, parsed_globals):
|
|
433
433
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
434
434
|
|
435
435
|
|
436
|
+
def doDescribeMaintainTimeWindow(args, parsed_globals):
|
437
|
+
g_param = parse_global_arg(parsed_globals)
|
438
|
+
|
439
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
440
|
+
cred = credential.CVMRoleCredential()
|
441
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
442
|
+
cred = credential.STSAssumeRoleCredential(
|
443
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
444
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
445
|
+
)
|
446
|
+
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):
|
447
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
448
|
+
else:
|
449
|
+
cred = credential.Credential(
|
450
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
451
|
+
)
|
452
|
+
http_profile = HttpProfile(
|
453
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
454
|
+
reqMethod="POST",
|
455
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
456
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
457
|
+
)
|
458
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
459
|
+
if g_param[OptionsDefine.Language]:
|
460
|
+
profile.language = g_param[OptionsDefine.Language]
|
461
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
462
|
+
client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
|
463
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
464
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
465
|
+
model = models.DescribeMaintainTimeWindowRequest()
|
466
|
+
model.from_json_string(json.dumps(args))
|
467
|
+
start_time = time.time()
|
468
|
+
while True:
|
469
|
+
rsp = client.DescribeMaintainTimeWindow(model)
|
470
|
+
result = rsp.to_json_string()
|
471
|
+
try:
|
472
|
+
json_obj = json.loads(result)
|
473
|
+
except TypeError as e:
|
474
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
475
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
476
|
+
break
|
477
|
+
cur_time = time.time()
|
478
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
479
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
480
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
481
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
482
|
+
else:
|
483
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
484
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
485
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
486
|
+
|
487
|
+
|
436
488
|
def doDescribeDedicatedClusters(args, parsed_globals):
|
437
489
|
g_param = parse_global_arg(parsed_globals)
|
438
490
|
|
@@ -797,6 +849,58 @@ def doModifyDBInstanceSecurityGroups(args, parsed_globals):
|
|
797
849
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
798
850
|
|
799
851
|
|
852
|
+
def doModifyMaintainTimeWindow(args, parsed_globals):
|
853
|
+
g_param = parse_global_arg(parsed_globals)
|
854
|
+
|
855
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
856
|
+
cred = credential.CVMRoleCredential()
|
857
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
858
|
+
cred = credential.STSAssumeRoleCredential(
|
859
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
860
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
861
|
+
)
|
862
|
+
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):
|
863
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
864
|
+
else:
|
865
|
+
cred = credential.Credential(
|
866
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
867
|
+
)
|
868
|
+
http_profile = HttpProfile(
|
869
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
870
|
+
reqMethod="POST",
|
871
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
872
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
873
|
+
)
|
874
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
875
|
+
if g_param[OptionsDefine.Language]:
|
876
|
+
profile.language = g_param[OptionsDefine.Language]
|
877
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
878
|
+
client = mod.PostgresClient(cred, g_param[OptionsDefine.Region], profile)
|
879
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
880
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
881
|
+
model = models.ModifyMaintainTimeWindowRequest()
|
882
|
+
model.from_json_string(json.dumps(args))
|
883
|
+
start_time = time.time()
|
884
|
+
while True:
|
885
|
+
rsp = client.ModifyMaintainTimeWindow(model)
|
886
|
+
result = rsp.to_json_string()
|
887
|
+
try:
|
888
|
+
json_obj = json.loads(result)
|
889
|
+
except TypeError as e:
|
890
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
891
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
892
|
+
break
|
893
|
+
cur_time = time.time()
|
894
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
895
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
896
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
897
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
898
|
+
else:
|
899
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
900
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
901
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
902
|
+
|
903
|
+
|
800
904
|
def doRenewInstance(args, parsed_globals):
|
801
905
|
g_param = parse_global_arg(parsed_globals)
|
802
906
|
|
@@ -5288,6 +5392,7 @@ ACTION_MAP = {
|
|
5288
5392
|
"ModifyAccountRemark": doModifyAccountRemark,
|
5289
5393
|
"SetAutoRenewFlag": doSetAutoRenewFlag,
|
5290
5394
|
"ModifyDBInstanceName": doModifyDBInstanceName,
|
5395
|
+
"DescribeMaintainTimeWindow": doDescribeMaintainTimeWindow,
|
5291
5396
|
"DescribeDedicatedClusters": doDescribeDedicatedClusters,
|
5292
5397
|
"DeleteParameterTemplate": doDeleteParameterTemplate,
|
5293
5398
|
"DescribeDBInstanceParameters": doDescribeDBInstanceParameters,
|
@@ -5295,6 +5400,7 @@ ACTION_MAP = {
|
|
5295
5400
|
"CreateDBInstanceNetworkAccess": doCreateDBInstanceNetworkAccess,
|
5296
5401
|
"ModifyDBInstanceSpec": doModifyDBInstanceSpec,
|
5297
5402
|
"ModifyDBInstanceSecurityGroups": doModifyDBInstanceSecurityGroups,
|
5403
|
+
"ModifyMaintainTimeWindow": doModifyMaintainTimeWindow,
|
5298
5404
|
"RenewInstance": doRenewInstance,
|
5299
5405
|
"DescribeDatabases": doDescribeDatabases,
|
5300
5406
|
"DescribeSlowQueryAnalysis": doDescribeSlowQueryAnalysis,
|
@@ -350,6 +350,13 @@
|
|
350
350
|
"output": "DescribeLogBackupsResponse",
|
351
351
|
"status": "online"
|
352
352
|
},
|
353
|
+
"DescribeMaintainTimeWindow": {
|
354
|
+
"document": "本接口 (DescribeMaintainTimeWindow) 用于查询实例的维护时间窗口",
|
355
|
+
"input": "DescribeMaintainTimeWindowRequest",
|
356
|
+
"name": "查询维护时间窗口",
|
357
|
+
"output": "DescribeMaintainTimeWindowResponse",
|
358
|
+
"status": "online"
|
359
|
+
},
|
353
360
|
"DescribeOrders": {
|
354
361
|
"document": "本接口(DescribeOrders)用于查询订单信息。",
|
355
362
|
"input": "DescribeOrdersRequest",
|
@@ -588,6 +595,13 @@
|
|
588
595
|
"output": "ModifyDatabaseOwnerResponse",
|
589
596
|
"status": "online"
|
590
597
|
},
|
598
|
+
"ModifyMaintainTimeWindow": {
|
599
|
+
"document": "本接口 (ModifyMaintainTimeWindow) 用于实例维护时间窗口的修改。",
|
600
|
+
"input": "ModifyMaintainTimeWindowRequest",
|
601
|
+
"name": "修改维护时间窗口",
|
602
|
+
"output": "ModifyMaintainTimeWindowResponse",
|
603
|
+
"status": "online"
|
604
|
+
},
|
591
605
|
"ModifyParameterTemplate": {
|
592
606
|
"document": "本接口(ModifyParameterTemplate)主要用于修改参数模板名称,描述等配置,也可用于管理参数模板中的参数列表。",
|
593
607
|
"input": "ModifyParameterTemplateRequest",
|
@@ -6227,6 +6241,73 @@
|
|
6227
6241
|
],
|
6228
6242
|
"type": "object"
|
6229
6243
|
},
|
6244
|
+
"DescribeMaintainTimeWindowRequest": {
|
6245
|
+
"document": "DescribeMaintainTimeWindow请求参数结构体",
|
6246
|
+
"members": [
|
6247
|
+
{
|
6248
|
+
"disabled": false,
|
6249
|
+
"document": "实例ID",
|
6250
|
+
"example": "postgres-rwwbeuyx",
|
6251
|
+
"member": "string",
|
6252
|
+
"name": "DBInstanceId",
|
6253
|
+
"required": true,
|
6254
|
+
"type": "string"
|
6255
|
+
}
|
6256
|
+
],
|
6257
|
+
"type": "object"
|
6258
|
+
},
|
6259
|
+
"DescribeMaintainTimeWindowResponse": {
|
6260
|
+
"document": "DescribeMaintainTimeWindow返回参数结构体",
|
6261
|
+
"members": [
|
6262
|
+
{
|
6263
|
+
"disabled": false,
|
6264
|
+
"document": "实例ID",
|
6265
|
+
"example": "postgres-esb6u38t",
|
6266
|
+
"member": "string",
|
6267
|
+
"name": "DBInstanceId",
|
6268
|
+
"output_required": true,
|
6269
|
+
"type": "string",
|
6270
|
+
"value_allowed_null": false
|
6271
|
+
},
|
6272
|
+
{
|
6273
|
+
"disabled": false,
|
6274
|
+
"document": "维护开始时间。时区为东八区(UTC+8)",
|
6275
|
+
"example": "22:00",
|
6276
|
+
"member": "string",
|
6277
|
+
"name": "MaintainStartTime",
|
6278
|
+
"output_required": true,
|
6279
|
+
"type": "string",
|
6280
|
+
"value_allowed_null": false
|
6281
|
+
},
|
6282
|
+
{
|
6283
|
+
"disabled": false,
|
6284
|
+
"document": "维护持续时间。单位:小时",
|
6285
|
+
"example": "1",
|
6286
|
+
"member": "uint64",
|
6287
|
+
"name": "MaintainDuration",
|
6288
|
+
"output_required": true,
|
6289
|
+
"type": "int",
|
6290
|
+
"value_allowed_null": false
|
6291
|
+
},
|
6292
|
+
{
|
6293
|
+
"disabled": false,
|
6294
|
+
"document": "维护周期",
|
6295
|
+
"example": "[\"monday\",\"tuesday\",\"wednesday\",\"thursday\",\"friday\"]",
|
6296
|
+
"member": "string",
|
6297
|
+
"name": "MaintainWeekDays",
|
6298
|
+
"output_required": true,
|
6299
|
+
"type": "list",
|
6300
|
+
"value_allowed_null": false
|
6301
|
+
},
|
6302
|
+
{
|
6303
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6304
|
+
"member": "string",
|
6305
|
+
"name": "RequestId",
|
6306
|
+
"type": "string"
|
6307
|
+
}
|
6308
|
+
],
|
6309
|
+
"type": "object"
|
6310
|
+
},
|
6230
6311
|
"DescribeOrdersRequest": {
|
6231
6312
|
"document": "DescribeOrders请求参数结构体",
|
6232
6313
|
"members": [
|
@@ -8793,6 +8874,60 @@
|
|
8793
8874
|
],
|
8794
8875
|
"type": "object"
|
8795
8876
|
},
|
8877
|
+
"ModifyMaintainTimeWindowRequest": {
|
8878
|
+
"document": "ModifyMaintainTimeWindow请求参数结构体",
|
8879
|
+
"members": [
|
8880
|
+
{
|
8881
|
+
"disabled": false,
|
8882
|
+
"document": "实例ID",
|
8883
|
+
"example": "postgres-c4wtbx1f",
|
8884
|
+
"member": "string",
|
8885
|
+
"name": "DBInstanceId",
|
8886
|
+
"required": true,
|
8887
|
+
"type": "string"
|
8888
|
+
},
|
8889
|
+
{
|
8890
|
+
"disabled": false,
|
8891
|
+
"document": "维护开始时间。时区为东八区(UTC+8)",
|
8892
|
+
"example": "22:00",
|
8893
|
+
"member": "string",
|
8894
|
+
"name": "MaintainStartTime",
|
8895
|
+
"required": false,
|
8896
|
+
"type": "string"
|
8897
|
+
},
|
8898
|
+
{
|
8899
|
+
"disabled": false,
|
8900
|
+
"document": "维护持续时间。单位:小时",
|
8901
|
+
"example": "1",
|
8902
|
+
"member": "uint64",
|
8903
|
+
"name": "MaintainDuration",
|
8904
|
+
"required": false,
|
8905
|
+
"type": "int"
|
8906
|
+
},
|
8907
|
+
{
|
8908
|
+
"disabled": false,
|
8909
|
+
"document": "维护周期",
|
8910
|
+
"example": "[\"monday\",\"tuesday\",\"wednesday\",\"thursday\",\"friday\"]",
|
8911
|
+
"member": "string",
|
8912
|
+
"name": "MaintainWeekDays",
|
8913
|
+
"required": false,
|
8914
|
+
"type": "list"
|
8915
|
+
}
|
8916
|
+
],
|
8917
|
+
"type": "object"
|
8918
|
+
},
|
8919
|
+
"ModifyMaintainTimeWindowResponse": {
|
8920
|
+
"document": "ModifyMaintainTimeWindow返回参数结构体",
|
8921
|
+
"members": [
|
8922
|
+
{
|
8923
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8924
|
+
"member": "string",
|
8925
|
+
"name": "RequestId",
|
8926
|
+
"type": "string"
|
8927
|
+
}
|
8928
|
+
],
|
8929
|
+
"type": "object"
|
8930
|
+
},
|
8796
8931
|
"ModifyParameterTemplateRequest": {
|
8797
8932
|
"document": "ModifyParameterTemplate请求参数结构体",
|
8798
8933
|
"members": [
|
@@ -496,6 +496,14 @@
|
|
496
496
|
"title": "查询日志备份列表"
|
497
497
|
}
|
498
498
|
],
|
499
|
+
"DescribeMaintainTimeWindow": [
|
500
|
+
{
|
501
|
+
"document": "查询\tpostgres-rwwbeuyx实例的维护窗口",
|
502
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMaintainTimeWindow\n<公共请求参数>\n\n{\n \"DBInstanceId\": \"postgres-rwwbeuyx\"\n}",
|
503
|
+
"output": "{\n \"Response\": {\n \"DBInstanceId\": \"postgres-rwwbeuyx\",\n \"MaintainDuration\": 1,\n \"MaintainStartTime\": \"04:00\",\n \"MaintainWeekDays\": [\n \"monday\",\n \"tuesday\",\n \"wednesday\",\n \"thursday\",\n \"friday\",\n \"saturday\",\n \"sunday\"\n ],\n \"RequestId\": \"0f6113e2-f27c-4fe2-a63c-a298f4071e6c\"\n }\n}",
|
504
|
+
"title": "查询实例的维护时间窗口"
|
505
|
+
}
|
506
|
+
],
|
499
507
|
"DescribeOrders": [
|
500
508
|
{
|
501
509
|
"document": "查询订单信息",
|
@@ -804,6 +812,14 @@
|
|
804
812
|
"title": "修改数据库所有者"
|
805
813
|
}
|
806
814
|
],
|
815
|
+
"ModifyMaintainTimeWindow": [
|
816
|
+
{
|
817
|
+
"document": "修改postgres-c4wtbx1f实例的维护时间窗口为每周一、周二的23:00-00:00",
|
818
|
+
"input": "POST / HTTP/1.1\nHost: postgres.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyMaintainTimeWindow\n<公共请求参数>\n\n{\n \"MaintainWeekDays\": [\n \"tuesday\",\n \"monday\"\n ],\n \"MaintainDuration\": \"1\",\n \"DBInstanceId\": \"postgres-c4wtbx1f\",\n \"MaintainStartTime\": \"23:00\"\n}",
|
819
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0f6113e2-f27c-4fe2-a63c-a298f4071e6c\"\n }\n}",
|
820
|
+
"title": "修改维护时间窗口"
|
821
|
+
}
|
822
|
+
],
|
807
823
|
"ModifyParameterTemplate": [
|
808
824
|
{
|
809
825
|
"document": "修改模版中的参数项",
|