tccli 3.0.1203.1__py2.py3-none-any.whl → 3.0.1205.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/apm/v20210622/api.json +17 -17
- tccli/services/apm/v20210622/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +12 -0
- tccli/services/cvm/v20170312/api.json +13 -1
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +108 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/ess/ess_client.py +106 -0
- tccli/services/ess/v20201111/api.json +239 -1
- tccli/services/ess/v20201111/examples.json +58 -0
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +74 -0
- tccli/services/essbasic/v20210526/examples.json +14 -0
- tccli/services/lke/v20231130/api.json +1 -1
- tccli/services/mariadb/mariadb_client.py +57 -4
- tccli/services/mariadb/v20170312/api.json +64 -0
- tccli/services/mariadb/v20170312/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +1 -1
- tccli/services/scf/v20180416/api.json +17 -7
- tccli/services/scf/v20180416/examples.json +3 -3
- tccli/services/sqlserver/v20180328/api.json +1 -1
- tccli/services/tcss/v20201101/api.json +9 -0
- tccli/services/vclm/v20240523/api.json +19 -0
- tccli/services/vpc/v20170312/api.json +7 -5
- tccli/services/vpc/v20170312/examples.json +1 -1
- tccli/services/waf/v20180125/api.json +336 -13
- tccli/services/waf/v20180125/examples.json +1 -1
- {tccli-3.0.1203.1.dist-info → tccli-3.0.1205.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1203.1.dist-info → tccli-3.0.1205.1.dist-info}/RECORD +33 -33
- {tccli-3.0.1203.1.dist-info → tccli-3.0.1205.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1203.1.dist-info → tccli-3.0.1205.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1203.1.dist-info → tccli-3.0.1205.1.dist-info}/license_files/LICENSE +0 -0
@@ -3033,7 +3033,7 @@ def doDescribeDBTmpInstances(args, parsed_globals):
|
|
3033
3033
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3034
3034
|
|
3035
3035
|
|
3036
|
-
def
|
3036
|
+
def doDescribeDBSyncMode(args, parsed_globals):
|
3037
3037
|
g_param = parse_global_arg(parsed_globals)
|
3038
3038
|
|
3039
3039
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3062,11 +3062,11 @@ def doIsolateHourDBInstance(args, parsed_globals):
|
|
3062
3062
|
client = mod.MariadbClient(cred, g_param[OptionsDefine.Region], profile)
|
3063
3063
|
client._sdkVersion += ("_CLI_" + __version__)
|
3064
3064
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3065
|
-
model = models.
|
3065
|
+
model = models.DescribeDBSyncModeRequest()
|
3066
3066
|
model.from_json_string(json.dumps(args))
|
3067
3067
|
start_time = time.time()
|
3068
3068
|
while True:
|
3069
|
-
rsp = client.
|
3069
|
+
rsp = client.DescribeDBSyncMode(model)
|
3070
3070
|
result = rsp.to_json_string()
|
3071
3071
|
try:
|
3072
3072
|
json_obj = json.loads(result)
|
@@ -3605,6 +3605,58 @@ def doCloneAccount(args, parsed_globals):
|
|
3605
3605
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3606
3606
|
|
3607
3607
|
|
3608
|
+
def doIsolateHourDBInstance(args, parsed_globals):
|
3609
|
+
g_param = parse_global_arg(parsed_globals)
|
3610
|
+
|
3611
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3612
|
+
cred = credential.CVMRoleCredential()
|
3613
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3614
|
+
cred = credential.STSAssumeRoleCredential(
|
3615
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3616
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3617
|
+
)
|
3618
|
+
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):
|
3619
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3620
|
+
else:
|
3621
|
+
cred = credential.Credential(
|
3622
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3623
|
+
)
|
3624
|
+
http_profile = HttpProfile(
|
3625
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3626
|
+
reqMethod="POST",
|
3627
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3628
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3629
|
+
)
|
3630
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3631
|
+
if g_param[OptionsDefine.Language]:
|
3632
|
+
profile.language = g_param[OptionsDefine.Language]
|
3633
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3634
|
+
client = mod.MariadbClient(cred, g_param[OptionsDefine.Region], profile)
|
3635
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3636
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3637
|
+
model = models.IsolateHourDBInstanceRequest()
|
3638
|
+
model.from_json_string(json.dumps(args))
|
3639
|
+
start_time = time.time()
|
3640
|
+
while True:
|
3641
|
+
rsp = client.IsolateHourDBInstance(model)
|
3642
|
+
result = rsp.to_json_string()
|
3643
|
+
try:
|
3644
|
+
json_obj = json.loads(result)
|
3645
|
+
except TypeError as e:
|
3646
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3647
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3648
|
+
break
|
3649
|
+
cur_time = time.time()
|
3650
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3651
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3652
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3653
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3654
|
+
else:
|
3655
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3656
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3657
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3658
|
+
|
3659
|
+
|
3608
3660
|
def doUpgradeDBInstance(args, parsed_globals):
|
3609
3661
|
g_param = parse_global_arg(parsed_globals)
|
3610
3662
|
|
@@ -4038,7 +4090,7 @@ ACTION_MAP = {
|
|
4038
4090
|
"GrantAccountPrivileges": doGrantAccountPrivileges,
|
4039
4091
|
"ModifyRealServerAccessStrategy": doModifyRealServerAccessStrategy,
|
4040
4092
|
"DescribeDBTmpInstances": doDescribeDBTmpInstances,
|
4041
|
-
"
|
4093
|
+
"DescribeDBSyncMode": doDescribeDBSyncMode,
|
4042
4094
|
"DescribeDatabases": doDescribeDatabases,
|
4043
4095
|
"IsolateDedicatedDBInstance": doIsolateDedicatedDBInstance,
|
4044
4096
|
"ModifyInstanceVport": doModifyInstanceVport,
|
@@ -4049,6 +4101,7 @@ ACTION_MAP = {
|
|
4049
4101
|
"CancelDcnJob": doCancelDcnJob,
|
4050
4102
|
"TerminateDedicatedDBInstance": doTerminateDedicatedDBInstance,
|
4051
4103
|
"CloneAccount": doCloneAccount,
|
4104
|
+
"IsolateHourDBInstance": doIsolateHourDBInstance,
|
4052
4105
|
"UpgradeDBInstance": doUpgradeDBInstance,
|
4053
4106
|
"ModifyBackupConfigs": doModifyBackupConfigs,
|
4054
4107
|
"DescribeBinlogTime": doDescribeBinlogTime,
|
@@ -182,6 +182,13 @@
|
|
182
182
|
"output": "DescribeDBSlowLogsResponse",
|
183
183
|
"status": "online"
|
184
184
|
},
|
185
|
+
"DescribeDBSyncMode": {
|
186
|
+
"document": "本接口(DescribeDBSyncMode)用于查询云数据库实例的同步模式。",
|
187
|
+
"input": "DescribeDBSyncModeRequest",
|
188
|
+
"name": "查询同步模式",
|
189
|
+
"output": "DescribeDBSyncModeResponse",
|
190
|
+
"status": "online"
|
191
|
+
},
|
185
192
|
"DescribeDBTmpInstances": {
|
186
193
|
"document": "本接口(DescribeDBTmpInstances)用于获取实例回档生成的临时实例",
|
187
194
|
"input": "DescribeDBTmpInstancesRequest",
|
@@ -4983,6 +4990,63 @@
|
|
4983
4990
|
],
|
4984
4991
|
"type": "object"
|
4985
4992
|
},
|
4993
|
+
"DescribeDBSyncModeRequest": {
|
4994
|
+
"document": "DescribeDBSyncMode请求参数结构体",
|
4995
|
+
"members": [
|
4996
|
+
{
|
4997
|
+
"disabled": false,
|
4998
|
+
"document": "实例ID,形如:tdsql-ow728lmc",
|
4999
|
+
"example": "tdsql-avw0207d",
|
5000
|
+
"member": "string",
|
5001
|
+
"name": "InstanceId",
|
5002
|
+
"required": true,
|
5003
|
+
"type": "string"
|
5004
|
+
}
|
5005
|
+
],
|
5006
|
+
"type": "object"
|
5007
|
+
},
|
5008
|
+
"DescribeDBSyncModeResponse": {
|
5009
|
+
"document": "DescribeDBSyncMode返回参数结构体",
|
5010
|
+
"members": [
|
5011
|
+
{
|
5012
|
+
"disabled": false,
|
5013
|
+
"document": "同步模式:0 异步,1 强同步, 2 强同步可退化",
|
5014
|
+
"example": "0",
|
5015
|
+
"member": "int64",
|
5016
|
+
"name": "SyncMode",
|
5017
|
+
"required": true,
|
5018
|
+
"type": "int",
|
5019
|
+
"value_allowed_null": false
|
5020
|
+
},
|
5021
|
+
{
|
5022
|
+
"disabled": false,
|
5023
|
+
"document": "是否有修改流程在执行中:1 是, 0 否。",
|
5024
|
+
"example": "0",
|
5025
|
+
"member": "int64",
|
5026
|
+
"name": "IsModifying",
|
5027
|
+
"required": true,
|
5028
|
+
"type": "int",
|
5029
|
+
"value_allowed_null": false
|
5030
|
+
},
|
5031
|
+
{
|
5032
|
+
"disabled": false,
|
5033
|
+
"document": "当前复制方式,0 异步,1 同步",
|
5034
|
+
"example": "0",
|
5035
|
+
"member": "int64",
|
5036
|
+
"name": "CurrentSyncMode",
|
5037
|
+
"required": true,
|
5038
|
+
"type": "int",
|
5039
|
+
"value_allowed_null": false
|
5040
|
+
},
|
5041
|
+
{
|
5042
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
5043
|
+
"member": "string",
|
5044
|
+
"name": "RequestId",
|
5045
|
+
"type": "string"
|
5046
|
+
}
|
5047
|
+
],
|
5048
|
+
"type": "object"
|
5049
|
+
},
|
4986
5050
|
"DescribeDBTmpInstancesRequest": {
|
4987
5051
|
"document": "DescribeDBTmpInstances请求参数结构体",
|
4988
5052
|
"members": [
|
@@ -208,6 +208,14 @@
|
|
208
208
|
"title": "查询慢查询日志列表"
|
209
209
|
}
|
210
210
|
],
|
211
|
+
"DescribeDBSyncMode": [
|
212
|
+
{
|
213
|
+
"document": "",
|
214
|
+
"input": "https://mariadb.tencentcloudapi.com/?Action=DescribeDBSyncMode\n&InstanceId=tdsql-avw0207d\n&<公共请求参数>",
|
215
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"901bd41c-08a2-4001-8364-5a63f32056ae\",\n \"SyncMode\": 0,\n \"CurrentSyncMode\": 0,\n \"IsModifying\": 0\n }\n}",
|
216
|
+
"title": "查询云数据库同步模式"
|
217
|
+
}
|
218
|
+
],
|
211
219
|
"DescribeDBTmpInstances": [
|
212
220
|
{
|
213
221
|
"document": "",
|
@@ -11274,7 +11274,7 @@
|
|
11274
11274
|
"example": "6954227",
|
11275
11275
|
"member": "int64",
|
11276
11276
|
"name": "TaskId",
|
11277
|
-
"
|
11277
|
+
"output_required": true,
|
11278
11278
|
"type": "int",
|
11279
11279
|
"value_allowed_null": false
|
11280
11280
|
},
|
@@ -1536,7 +1536,7 @@
|
|
1536
1536
|
{
|
1537
1537
|
"disabled": false,
|
1538
1538
|
"document": "函数所属命名空间",
|
1539
|
-
"example": "
|
1539
|
+
"example": "default",
|
1540
1540
|
"member": "string",
|
1541
1541
|
"name": "Namespace",
|
1542
1542
|
"required": false,
|
@@ -1545,7 +1545,7 @@
|
|
1545
1545
|
{
|
1546
1546
|
"disabled": false,
|
1547
1547
|
"document": "填写需要删除的版本号,不填默认删除函数下全部版本。",
|
1548
|
-
"example": "
|
1548
|
+
"example": "$LATEST",
|
1549
1549
|
"member": "string",
|
1550
1550
|
"name": "Qualifier",
|
1551
1551
|
"required": false,
|
@@ -3476,7 +3476,7 @@
|
|
3476
3476
|
"example": "10",
|
3477
3477
|
"member": "int64",
|
3478
3478
|
"name": "TotalCount",
|
3479
|
-
"
|
3479
|
+
"output_required": true,
|
3480
3480
|
"type": "int",
|
3481
3481
|
"value_allowed_null": true
|
3482
3482
|
},
|
@@ -3486,7 +3486,7 @@
|
|
3486
3486
|
"example": "无",
|
3487
3487
|
"member": "RequestStatus",
|
3488
3488
|
"name": "Data",
|
3489
|
-
"
|
3489
|
+
"output_required": true,
|
3490
3490
|
"type": "list",
|
3491
3491
|
"value_allowed_null": true
|
3492
3492
|
},
|
@@ -4173,7 +4173,7 @@
|
|
4173
4173
|
"example": "无",
|
4174
4174
|
"member": "Alias",
|
4175
4175
|
"name": "Aliases",
|
4176
|
-
"
|
4176
|
+
"output_required": true,
|
4177
4177
|
"type": "list",
|
4178
4178
|
"value_allowed_null": false
|
4179
4179
|
},
|
@@ -4183,7 +4183,7 @@
|
|
4183
4183
|
"example": "无",
|
4184
4184
|
"member": "uint64",
|
4185
4185
|
"name": "TotalCount",
|
4186
|
-
"
|
4186
|
+
"output_required": true,
|
4187
4187
|
"type": "int",
|
4188
4188
|
"value_allowed_null": true
|
4189
4189
|
},
|
@@ -4548,6 +4548,7 @@
|
|
4548
4548
|
"example": "无",
|
4549
4549
|
"member": "LayerVersionInfo",
|
4550
4550
|
"name": "Layers",
|
4551
|
+
"output_required": true,
|
4551
4552
|
"type": "list",
|
4552
4553
|
"value_allowed_null": false
|
4553
4554
|
},
|
@@ -4557,6 +4558,7 @@
|
|
4557
4558
|
"example": "0",
|
4558
4559
|
"member": "int64",
|
4559
4560
|
"name": "TotalCount",
|
4561
|
+
"output_required": true,
|
4560
4562
|
"type": "int",
|
4561
4563
|
"value_allowed_null": false
|
4562
4564
|
},
|
@@ -5427,7 +5429,7 @@
|
|
5427
5429
|
{
|
5428
5430
|
"disabled": false,
|
5429
5431
|
"document": "函数的命名空间",
|
5430
|
-
"example": "
|
5432
|
+
"example": "default",
|
5431
5433
|
"member": "string",
|
5432
5434
|
"name": "Namespace",
|
5433
5435
|
"required": false,
|
@@ -5445,6 +5447,7 @@
|
|
5445
5447
|
"example": "4",
|
5446
5448
|
"member": "string",
|
5447
5449
|
"name": "FunctionVersion",
|
5450
|
+
"output_required": true,
|
5448
5451
|
"type": "string",
|
5449
5452
|
"value_allowed_null": false
|
5450
5453
|
},
|
@@ -5454,6 +5457,7 @@
|
|
5454
5457
|
"example": "45686",
|
5455
5458
|
"member": "int64",
|
5456
5459
|
"name": "CodeSize",
|
5460
|
+
"output_required": true,
|
5457
5461
|
"type": "int",
|
5458
5462
|
"value_allowed_null": false
|
5459
5463
|
},
|
@@ -5463,6 +5467,7 @@
|
|
5463
5467
|
"example": "256",
|
5464
5468
|
"member": "int64",
|
5465
5469
|
"name": "MemorySize",
|
5470
|
+
"output_required": true,
|
5466
5471
|
"type": "int",
|
5467
5472
|
"value_allowed_null": false
|
5468
5473
|
},
|
@@ -5472,6 +5477,7 @@
|
|
5472
5477
|
"example": "dummytut",
|
5473
5478
|
"member": "string",
|
5474
5479
|
"name": "Description",
|
5480
|
+
"output_required": true,
|
5475
5481
|
"type": "string",
|
5476
5482
|
"value_allowed_null": false
|
5477
5483
|
},
|
@@ -5481,6 +5487,7 @@
|
|
5481
5487
|
"example": "scfredis.main_handler",
|
5482
5488
|
"member": "string",
|
5483
5489
|
"name": "Handler",
|
5490
|
+
"output_required": true,
|
5484
5491
|
"type": "string",
|
5485
5492
|
"value_allowed_null": false
|
5486
5493
|
},
|
@@ -5490,6 +5497,7 @@
|
|
5490
5497
|
"example": "3",
|
5491
5498
|
"member": "int64",
|
5492
5499
|
"name": "Timeout",
|
5500
|
+
"output_required": true,
|
5493
5501
|
"type": "int",
|
5494
5502
|
"value_allowed_null": false
|
5495
5503
|
},
|
@@ -5499,6 +5507,7 @@
|
|
5499
5507
|
"example": "Python2.7",
|
5500
5508
|
"member": "string",
|
5501
5509
|
"name": "Runtime",
|
5510
|
+
"output_required": true,
|
5502
5511
|
"type": "string",
|
5503
5512
|
"value_allowed_null": true
|
5504
5513
|
},
|
@@ -5508,6 +5517,7 @@
|
|
5508
5517
|
"example": "default",
|
5509
5518
|
"member": "string",
|
5510
5519
|
"name": "Namespace",
|
5520
|
+
"output_required": true,
|
5511
5521
|
"type": "string",
|
5512
5522
|
"value_allowed_null": false
|
5513
5523
|
},
|
@@ -172,7 +172,7 @@
|
|
172
172
|
{
|
173
173
|
"document": "",
|
174
174
|
"input": "https://scf.tencentcloudapi.com/?Action=GetRequestStatus\n&FunctionName=<FunctionName>\n&FunctionRequestId=<FunctionRequestId>\n&<公共请求参数>",
|
175
|
-
"output": "{\n \"Response\": {\n \"TotalCount\":
|
175
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"Data\": [\n {\n \"FunctionName\": \"abc\",\n \"RetMsg\": \"abc\",\n \"RequestId\": \"abc\",\n \"StartTime\": \"abc\",\n \"RetCode\": 0,\n \"Duration\": 0,\n \"MemUsage\": 0,\n \"RetryNum\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
176
176
|
"title": "获取函数运行状态"
|
177
177
|
}
|
178
178
|
],
|
@@ -204,7 +204,7 @@
|
|
204
204
|
{
|
205
205
|
"document": "",
|
206
206
|
"input": "https://scf.tencentcloudapi.com/?Action=ListAliases\n&Namespace=<Namespace>\n&FunctionName=<FunctionName>\n&<公共请求参数>",
|
207
|
-
"output": "{\n \"Response\": {\n \"
|
207
|
+
"output": "{\n \"Response\": {\n \"Aliases\": [\n {\n \"FunctionVersion\": \"abc\",\n \"Name\": \"abc\",\n \"RoutingConfig\": {\n \"AdditionalVersionWeights\": [\n {\n \"Version\": \"abc\",\n \"Weight\": 0\n }\n ],\n \"AddtionVersionMatchs\": [\n {\n \"Version\": \"abc\",\n \"Key\": \"abc\",\n \"Method\": \"abc\",\n \"Expression\": \"abc\"\n }\n ]\n },\n \"Description\": \"abc\",\n \"AddTime\": \"2020-09-22 00:00:00\",\n \"ModTime\": \"2020-09-22 00:00:00\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"abc\"\n }\n}",
|
208
208
|
"title": "查询函数下的全部别名"
|
209
209
|
}
|
210
210
|
],
|
@@ -242,7 +242,7 @@
|
|
242
242
|
{
|
243
243
|
"document": "拉取层列表",
|
244
244
|
"input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListLayers\n<公共请求参数>\n\n{\n \"CompatibleRuntime\": \"abc\",\n \"Offset\": 0,\n \"Limit\": 0,\n \"SearchKey\": \"abc\"\n}",
|
245
|
-
"output": "{\n \"Response\": {\n \"Layers\": [\n {\n \"CompatibleRuntimes\": [\n \"abc\"\n ],\n \"AddTime\": \"abc\",\n \"Description\": \"abc\",\n \"LicenseInfo\": \"abc\",\n \"LayerVersion\": 0,\n \"LayerName\": \"abc\",\n \"Status\": \"abc\"\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
245
|
+
"output": "{\n \"Response\": {\n \"Layers\": [\n {\n \"CompatibleRuntimes\": [\n \"abc\"\n ],\n \"AddTime\": \"abc\",\n \"Description\": \"abc\",\n \"LicenseInfo\": \"abc\",\n \"LayerVersion\": 0,\n \"LayerName\": \"abc\",\n \"Status\": \"abc\",\n \"Stamp\": \"abc\",\n \"Tags\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n }\n ]\n }\n ],\n \"TotalCount\": 0,\n \"RequestId\": \"abc\"\n }\n}",
|
246
246
|
"title": "拉取层列表"
|
247
247
|
}
|
248
248
|
],
|
@@ -2377,7 +2377,7 @@
|
|
2377
2377
|
},
|
2378
2378
|
{
|
2379
2379
|
"disabled": false,
|
2380
|
-
"document": "购买实例的宿主机类型,CLOUD_PREMIUM
|
2380
|
+
"document": "购买实例的宿主机类型,CLOUD_PREMIUM-虚拟机高性能云硬盘,CLOUD_SSD-虚拟机SSD云硬盘,CLOUD_HSSD-虚拟机增强型SSD云硬盘,CLOUD_BSSD-虚拟机通用型SSD云盘",
|
2381
2381
|
"example": "CLOUD_PREMIUM",
|
2382
2382
|
"member": "string",
|
2383
2383
|
"name": "MachineType",
|
@@ -41553,6 +41553,15 @@
|
|
41553
41553
|
"name": "ConnDetectConfig",
|
41554
41554
|
"required": false,
|
41555
41555
|
"type": "list"
|
41556
|
+
},
|
41557
|
+
{
|
41558
|
+
"disabled": false,
|
41559
|
+
"document": "仓库唯一id",
|
41560
|
+
"example": "无",
|
41561
|
+
"member": "int64",
|
41562
|
+
"name": "RegistryId",
|
41563
|
+
"required": false,
|
41564
|
+
"type": "int"
|
41556
41565
|
}
|
41557
41566
|
],
|
41558
41567
|
"type": "object"
|
@@ -254,6 +254,16 @@
|
|
254
254
|
"type": "string",
|
255
255
|
"value_allowed_null": false
|
256
256
|
},
|
257
|
+
{
|
258
|
+
"disabled": false,
|
259
|
+
"document": "掩码视频链接",
|
260
|
+
"example": "https://aiar.com/xxx/mask.mp4",
|
261
|
+
"member": "string",
|
262
|
+
"name": "MaskVideoUrl",
|
263
|
+
"output_required": false,
|
264
|
+
"type": "string",
|
265
|
+
"value_allowed_null": false
|
266
|
+
},
|
257
267
|
{
|
258
268
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
259
269
|
"member": "string",
|
@@ -601,6 +611,15 @@
|
|
601
611
|
"name": "EnableBodyJoins",
|
602
612
|
"required": false,
|
603
613
|
"type": "bool"
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"disabled": false,
|
617
|
+
"document": "最终视频是否保留原图的背景(该模式对于tuziwu、huajiangwu不生效)\n",
|
618
|
+
"example": "false",
|
619
|
+
"member": "bool",
|
620
|
+
"name": "EnableSegment",
|
621
|
+
"required": false,
|
622
|
+
"type": "bool"
|
604
623
|
}
|
605
624
|
],
|
606
625
|
"type": "object"
|
@@ -1711,7 +1711,7 @@
|
|
1711
1711
|
"DisassociateAddress": {
|
1712
1712
|
"document": "本接口 (DisassociateAddress) 用于解绑[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。\n* 支持CVM实例,弹性网卡上的EIP解绑\n* 不支持NAT上的EIP解绑。NAT上的EIP解绑请参考[DisassociateNatGatewayAddress](https://cloud.tencent.com/document/api/215/36716)\n* 只有状态为 BIND 和 BIND_ENI 的 EIP 才能进行解绑定操作。",
|
1713
1713
|
"input": "DisassociateAddressRequest",
|
1714
|
-
"name": "
|
1714
|
+
"name": "解绑弹性公网IP",
|
1715
1715
|
"output": "DisassociateAddressResponse",
|
1716
1716
|
"status": "online"
|
1717
1717
|
},
|
@@ -5090,10 +5090,10 @@
|
|
5090
5090
|
"disabled": false,
|
5091
5091
|
"document": "是否支持ipv6路由表\n注意:此字段可能返回 null,表示取不到有效值。",
|
5092
5092
|
"example": "True",
|
5093
|
-
"member": "
|
5093
|
+
"member": "bool",
|
5094
5094
|
"name": "Ipv6Flag",
|
5095
5095
|
"output_required": false,
|
5096
|
-
"type": "
|
5096
|
+
"type": "bool",
|
5097
5097
|
"value_allowed_null": true
|
5098
5098
|
},
|
5099
5099
|
{
|
@@ -12846,7 +12846,7 @@
|
|
12846
12846
|
},
|
12847
12847
|
{
|
12848
12848
|
"disabled": false,
|
12849
|
-
"document": "每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下:\n<li> address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。</li>\n<li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。</li>\n<li> address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。</li>\n<li> address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。状态包含:'CREATING','BINDING','BIND','UNBINDING','UNBIND','OFFLINING','BIND_ENI'。</li>\n<li> instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的实例 ID 过滤。实例 ID 形如:ins-11112222。</li>\n<li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。</li>\n<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。</li>\n<li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>\n<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP', 'EIP','AnycastEIP','HighQualityEIP'。默认值是'EIP'。</li>\n<li> address-isp - String - 是否必填:否 - (过滤条件)按照 运营商类型 进行过滤。可选值:'BGP','CMCC','CUCC', 'CTCC'</li>\n<li> dedicated-cluster-id - String - 是否必填:否 - (过滤条件)按照 CDC 的唯一 ID 过滤。CDC 唯一 ID 形如:cluster-11112222。</li>\n<li> tag-key - String - 是否必填:否 - (过滤条件)按照标签键进行过滤。</li>\n<li> tag-value - String - 是否必填:否 - (过滤条件)按照标签值进行过滤。</li>\n<li> tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。tag-key使用具体的标签键进行替换。</li>",
|
12849
|
+
"document": "每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下:\n<li> address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。</li>\n<li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。</li>\n<li> address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。</li>\n<li> address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。状态包含:'CREATING','BINDING','BIND','UNBINDING','UNBIND','OFFLINING','BIND_ENI'。</li>\n<li> instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的实例 ID 过滤。实例 ID 形如:ins-11112222。</li>\n<li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。</li>\n<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。</li>\n<li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>\n<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP', 'EIP','AnycastEIP','HighQualityEIP', 'AntiDDoSEIP'。默认值是'EIP'。</li>\n<li> address-isp - String - 是否必填:否 - (过滤条件)按照 运营商类型 进行过滤。可选值:'BGP','CMCC','CUCC', 'CTCC'</li>\n<li> dedicated-cluster-id - String - 是否必填:否 - (过滤条件)按照 CDC 的唯一 ID 过滤。CDC 唯一 ID 形如:cluster-11112222。</li>\n<li> tag-key - String - 是否必填:否 - (过滤条件)按照标签键进行过滤。</li>\n<li> tag-value - String - 是否必填:否 - (过滤条件)按照标签值进行过滤。</li>\n<li> tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。tag-key使用具体的标签键进行替换。</li>",
|
12850
12850
|
"example": "无",
|
12851
12851
|
"member": "Filter",
|
12852
12852
|
"name": "Filters",
|
@@ -12883,6 +12883,7 @@
|
|
12883
12883
|
"example": "10",
|
12884
12884
|
"member": "int64",
|
12885
12885
|
"name": "TotalCount",
|
12886
|
+
"output_required": true,
|
12886
12887
|
"type": "int",
|
12887
12888
|
"value_allowed_null": false
|
12888
12889
|
},
|
@@ -12892,6 +12893,7 @@
|
|
12892
12893
|
"example": "无",
|
12893
12894
|
"member": "Address",
|
12894
12895
|
"name": "AddressSet",
|
12896
|
+
"output_required": true,
|
12895
12897
|
"type": "list",
|
12896
12898
|
"value_allowed_null": false
|
12897
12899
|
},
|
@@ -20425,7 +20427,7 @@
|
|
20425
20427
|
},
|
20426
20428
|
{
|
20427
20429
|
"disabled": false,
|
20428
|
-
"document": "表示解绑 EIP 之后是否分配普通公网 IP。取值范围:<br><li
|
20430
|
+
"document": "表示解绑 EIP 之后是否分配普通公网 IP。取值范围:<br><li />TRUE:表示解绑 EIP 之后分配普通公网 IP。<br><li />FALSE:表示解绑 EIP 之后不分配普通公网 IP。<br>默认取值:FALSE。<br><br>只有满足以下条件时才能指定该参数:<br><li /> 只有在解绑主网卡的主内网 IP 上的 EIP 时才能指定该参数。<br><li />解绑 EIP 后重新分配普通公网 IP 操作一个账号每天最多操作 10 次;详情可通过 [DescribeAddressQuota](https://cloud.tencent.com/document/api/213/1378) 接口获取。",
|
20429
20431
|
"example": "True",
|
20430
20432
|
"member": "bool",
|
20431
20433
|
"name": "ReallocateNormalPublicIp",
|
@@ -1238,7 +1238,7 @@
|
|
1238
1238
|
{
|
1239
1239
|
"document": "查询EIP信息。",
|
1240
1240
|
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAddresses\n<公共请求参数>\n\n{}",
|
1241
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"AddressSet\": [\n {\n \"AddressId\": \"eip-qhx8udkc\",\n \"AddressName\": \"未命名\",\n \"AddressIp\": \"1.14.91.34\",\n \"AddressStatus\": \"UNBIND\",\n \"AddressType\": \"EIP\",\n \"InstanceId\": \"ins-wf123456\",\n \"InstanceType\": null,\n \"NetworkInterfaceId\": \"eni-12345678\",\n \"PrivateAddressIp\": \"10.2.3.4\",\n \"IsArrears\": false,\n \"IsBlocked\": false,\n \"IsEipDirectConnection\": false,\n \"EipAlgType\": {\n \"Ftp\": true,\n \"Sip\": true\n },\n \"LocalBgp\": false,\n \"CascadeRelease\": false,\n \"CreatedTime\": \"2022-08-11T03:57:05Z\",\n \"TagSet\": [],\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"Bandwidth\": 1,\n \"DeadlineDate\": null,\n \"InternetServiceProvider\": \"BGP\"\n },\n {\n \"AddressId\": \"eip-qygpzm9y\",\n \"AddressName\": \"未命名\",\n \"AddressIp\": \"1.14.90.212\",\n \"AddressStatus\": \"UNBIND\",\n \"AddressType\": \"EIP\",\n \"InstanceId\": \"ins-12345678\",\n \"InstanceType\": null,\n \"NetworkInterfaceId\": \"eni-12345678\",\n \"PrivateAddressIp\": \"10.3.4.5.6\",\n \"IsArrears\": false,\n \"IsBlocked\": false,\n \"IsEipDirectConnection\": false,\n \"EipAlgType\": {\n \"Ftp\": true,\n \"Sip\": true\n },\n \"LocalBgp\": false,\n \"CascadeRelease\": false,\n \"CreatedTime\": \"2022-08-11T03:47:03Z\",\n \"TagSet\": [],\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"Bandwidth\": 1,\n \"DeadlineDate\": null,\n \"InternetServiceProvider\": \"BGP\"\n }\n ],\n \"RequestId\": \"4ead34c4-3112-40fe-bbde-2295eee9d664\"\n }\n}",
|
1241
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"AddressSet\": [\n {\n \"AddressId\": \"eip-qhx8udkc\",\n \"AddressName\": \"未命名\",\n \"AddressIp\": \"1.14.91.34\",\n \"AddressStatus\": \"UNBIND\",\n \"AddressType\": \"EIP\",\n \"InstanceId\": \"ins-wf123456\",\n \"InstanceType\": null,\n \"NetworkInterfaceId\": \"eni-12345678\",\n \"PrivateAddressIp\": \"10.2.3.4\",\n \"IsArrears\": false,\n \"IsBlocked\": false,\n \"IsEipDirectConnection\": false,\n \"EipAlgType\": {\n \"Ftp\": true,\n \"Sip\": true\n },\n \"LocalBgp\": false,\n \"CascadeRelease\": false,\n \"CreatedTime\": \"2022-08-11T03:57:05Z\",\n \"TagSet\": [],\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"Bandwidth\": 1,\n \"DeadlineDate\": null,\n \"Egress\": \"center_egress1\",\n \"InternetServiceProvider\": \"BGP\"\n },\n {\n \"AddressId\": \"eip-qygpzm9y\",\n \"AddressName\": \"未命名\",\n \"AddressIp\": \"1.14.90.212\",\n \"AddressStatus\": \"UNBIND\",\n \"AddressType\": \"EIP\",\n \"InstanceId\": \"ins-12345678\",\n \"InstanceType\": null,\n \"NetworkInterfaceId\": \"eni-12345678\",\n \"PrivateAddressIp\": \"10.3.4.5.6\",\n \"IsArrears\": false,\n \"IsBlocked\": false,\n \"IsEipDirectConnection\": false,\n \"Egress\": \"center_egress1\",\n \"EipAlgType\": {\n \"Ftp\": true,\n \"Sip\": true\n },\n \"LocalBgp\": false,\n \"CascadeRelease\": false,\n \"CreatedTime\": \"2022-08-11T03:47:03Z\",\n \"TagSet\": [],\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"Bandwidth\": 1,\n \"DeadlineDate\": null,\n \"InternetServiceProvider\": \"BGP\"\n }\n ],\n \"RequestId\": \"4ead34c4-3112-40fe-bbde-2295eee9d664\"\n }\n}",
|
1242
1242
|
"title": "查询EIP信息"
|
1243
1243
|
},
|
1244
1244
|
{
|