tccli 3.0.1186.1__py2.py3-none-any.whl → 3.0.1188.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/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +0 -24
- tccli/services/cfw/v20190904/examples.json +0 -8
- tccli/services/cvm/cvm_client.py +53 -0
- tccli/services/cvm/v20170312/api.json +107 -0
- tccli/services/cvm/v20170312/examples.json +8 -0
- tccli/services/cwp/v20180228/api.json +1 -1
- tccli/services/dc/v20180410/api.json +19 -19
- tccli/services/dc/v20180410/examples.json +5 -5
- tccli/services/dcdb/v20180411/api.json +20 -2
- tccli/services/dlc/dlc_client.py +106 -0
- tccli/services/dlc/v20210125/api.json +87 -0
- tccli/services/dlc/v20210125/examples.json +16 -0
- tccli/services/dts/v20211206/api.json +1 -0
- tccli/services/emr/emr_client.py +277 -12
- tccli/services/emr/v20190103/api.json +650 -21
- tccli/services/emr/v20190103/examples.json +47 -7
- tccli/services/es/v20180416/api.json +101 -0
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +176 -29
- tccli/services/ess/v20201111/examples.json +11 -3
- tccli/services/gme/v20180711/api.json +12 -12
- tccli/services/mariadb/v20170312/api.json +21 -3
- tccli/services/rce/v20201103/api.json +2 -2
- tccli/services/sms/v20190711/api.json +2 -2
- tccli/services/sms/v20210111/api.json +2 -2
- tccli/services/teo/v20220901/api.json +2 -2
- tccli/services/trocket/v20230308/api.json +9 -0
- tccli/services/trtc/v20190722/api.json +11 -0
- tccli/services/tse/v20201207/api.json +18 -18
- tccli/services/vclm/v20240523/api.json +10 -10
- tccli/services/vclm/v20240523/examples.json +17 -5
- tccli/services/vpc/v20170312/api.json +1 -1
- tccli/services/vtc/v20240223/api.json +8 -8
- tccli/services/vtc/v20240223/examples.json +19 -7
- {tccli-3.0.1186.1.dist-info → tccli-3.0.1188.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1186.1.dist-info → tccli-3.0.1188.1.dist-info}/RECORD +41 -41
- {tccli-3.0.1186.1.dist-info → tccli-3.0.1188.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1186.1.dist-info → tccli-3.0.1188.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1186.1.dist-info → tccli-3.0.1188.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1188.1'
|
tccli/services/cfw/cfw_client.py
CHANGED
@@ -849,58 +849,6 @@ def doModifyNatSequenceRules(args, parsed_globals):
|
|
849
849
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
850
850
|
|
851
851
|
|
852
|
-
def doDeleteVpcInstance(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.CfwClient(cred, g_param[OptionsDefine.Region], profile)
|
879
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
880
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
881
|
-
model = models.DeleteVpcInstanceRequest()
|
882
|
-
model.from_json_string(json.dumps(args))
|
883
|
-
start_time = time.time()
|
884
|
-
while True:
|
885
|
-
rsp = client.DeleteVpcInstance(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
|
-
|
904
852
|
def doDescribeUnHandleEventTabList(args, parsed_globals):
|
905
853
|
g_param = parse_global_arg(parsed_globals)
|
906
854
|
|
@@ -6024,7 +5972,6 @@ ACTION_MAP = {
|
|
6024
5972
|
"ModifySecurityGroupSequenceRules": doModifySecurityGroupSequenceRules,
|
6025
5973
|
"RemoveEnterpriseSecurityGroupRule": doRemoveEnterpriseSecurityGroupRule,
|
6026
5974
|
"ModifyNatSequenceRules": doModifyNatSequenceRules,
|
6027
|
-
"DeleteVpcInstance": doDeleteVpcInstance,
|
6028
5975
|
"DescribeUnHandleEventTabList": doDescribeUnHandleEventTabList,
|
6029
5976
|
"CreateNatFwInstance": doCreateNatFwInstance,
|
6030
5977
|
"ModifyBlockTop": doModifyBlockTop,
|
@@ -210,13 +210,6 @@
|
|
210
210
|
"output": "DeleteVpcFwGroupResponse",
|
211
211
|
"status": "online"
|
212
212
|
},
|
213
|
-
"DeleteVpcInstance": {
|
214
|
-
"document": "接口废弃\n\n删除防火墙实例",
|
215
|
-
"input": "DeleteVpcInstanceRequest",
|
216
|
-
"name": "删除防火墙实例",
|
217
|
-
"output": "DeleteVpcInstanceResponse",
|
218
|
-
"status": "deprecated"
|
219
|
-
},
|
220
213
|
"DescribeAcLists": {
|
221
214
|
"document": "访问控制列表",
|
222
215
|
"input": "DescribeAcListsRequest",
|
@@ -4060,23 +4053,6 @@
|
|
4060
4053
|
],
|
4061
4054
|
"type": "object"
|
4062
4055
|
},
|
4063
|
-
"DeleteVpcInstanceRequest": {
|
4064
|
-
"document": "DeleteVpcInstance请求参数结构体",
|
4065
|
-
"members": [],
|
4066
|
-
"type": "object"
|
4067
|
-
},
|
4068
|
-
"DeleteVpcInstanceResponse": {
|
4069
|
-
"document": "DeleteVpcInstance返回参数结构体",
|
4070
|
-
"members": [
|
4071
|
-
{
|
4072
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4073
|
-
"member": "string",
|
4074
|
-
"name": "RequestId",
|
4075
|
-
"type": "string"
|
4076
|
-
}
|
4077
|
-
],
|
4078
|
-
"type": "object"
|
4079
|
-
},
|
4080
4056
|
"DescAcItem": {
|
4081
4057
|
"document": "访问控制列表对象",
|
4082
4058
|
"members": [
|
@@ -258,14 +258,6 @@
|
|
258
258
|
"title": "删除防火墙(组)"
|
259
259
|
}
|
260
260
|
],
|
261
|
-
"DeleteVpcInstance": [
|
262
|
-
{
|
263
|
-
"document": "",
|
264
|
-
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteVpcInstance\n<公共请求参数>\n\n{}",
|
265
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
266
|
-
"title": "创建、选择vpc"
|
267
|
-
}
|
268
|
-
],
|
269
261
|
"DescribeAcLists": [
|
270
262
|
{
|
271
263
|
"document": "",
|
tccli/services/cvm/cvm_client.py
CHANGED
@@ -3137,6 +3137,58 @@ def doModifyImageAttribute(args, parsed_globals):
|
|
3137
3137
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3138
3138
|
|
3139
3139
|
|
3140
|
+
def doConvertOperatingSystems(args, parsed_globals):
|
3141
|
+
g_param = parse_global_arg(parsed_globals)
|
3142
|
+
|
3143
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
3144
|
+
cred = credential.CVMRoleCredential()
|
3145
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
3146
|
+
cred = credential.STSAssumeRoleCredential(
|
3147
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
3148
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
3149
|
+
)
|
3150
|
+
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):
|
3151
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
3152
|
+
else:
|
3153
|
+
cred = credential.Credential(
|
3154
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
3155
|
+
)
|
3156
|
+
http_profile = HttpProfile(
|
3157
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
3158
|
+
reqMethod="POST",
|
3159
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
3160
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
3161
|
+
)
|
3162
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
3163
|
+
if g_param[OptionsDefine.Language]:
|
3164
|
+
profile.language = g_param[OptionsDefine.Language]
|
3165
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
3166
|
+
client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
|
3167
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
3168
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3169
|
+
model = models.ConvertOperatingSystemsRequest()
|
3170
|
+
model.from_json_string(json.dumps(args))
|
3171
|
+
start_time = time.time()
|
3172
|
+
while True:
|
3173
|
+
rsp = client.ConvertOperatingSystems(model)
|
3174
|
+
result = rsp.to_json_string()
|
3175
|
+
try:
|
3176
|
+
json_obj = json.loads(result)
|
3177
|
+
except TypeError as e:
|
3178
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
3179
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
3180
|
+
break
|
3181
|
+
cur_time = time.time()
|
3182
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
3183
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
3184
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
3185
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
3186
|
+
else:
|
3187
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
3188
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
3189
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3190
|
+
|
3191
|
+
|
3140
3192
|
def doDeleteDisasterRecoverGroups(args, parsed_globals):
|
3141
3193
|
g_param = parse_global_arg(parsed_globals)
|
3142
3194
|
|
@@ -5236,6 +5288,7 @@ ACTION_MAP = {
|
|
5236
5288
|
"DescribeLaunchTemplates": doDescribeLaunchTemplates,
|
5237
5289
|
"AssociateSecurityGroups": doAssociateSecurityGroups,
|
5238
5290
|
"ModifyImageAttribute": doModifyImageAttribute,
|
5291
|
+
"ConvertOperatingSystems": doConvertOperatingSystems,
|
5239
5292
|
"DeleteDisasterRecoverGroups": doDeleteDisasterRecoverGroups,
|
5240
5293
|
"TerminateInstances": doTerminateInstances,
|
5241
5294
|
"RemoveChcAssistVpc": doRemoveChcAssistVpc,
|
@@ -35,6 +35,13 @@
|
|
35
35
|
"output": "ConfigureChcDeployVpcResponse",
|
36
36
|
"status": "online"
|
37
37
|
},
|
38
|
+
"ConvertOperatingSystems": {
|
39
|
+
"document": "本接口(ConvertOperatingSystem)用于转换实例的操作系统,仅支持源操作系统为 CentOS 7、CentOS 8 的实例。",
|
40
|
+
"input": "ConvertOperatingSystemsRequest",
|
41
|
+
"name": "转换操作系统",
|
42
|
+
"output": "ConvertOperatingSystemsResponse",
|
43
|
+
"status": "online"
|
44
|
+
},
|
38
45
|
"CreateDisasterRecoverGroup": {
|
39
46
|
"document": "本接口 (CreateDisasterRecoverGroup)用于创建[分散置放群组](https://cloud.tencent.com/document/product/213/15486)。创建好的置放群组,可在[创建实例](https://cloud.tencent.com/document/api/213/15730)时指定。",
|
40
47
|
"input": "CreateDisasterRecoverGroupRequest",
|
@@ -1390,6 +1397,80 @@
|
|
1390
1397
|
],
|
1391
1398
|
"type": "object"
|
1392
1399
|
},
|
1400
|
+
"ConvertOperatingSystemsRequest": {
|
1401
|
+
"document": "ConvertOperatingSystems请求参数结构体",
|
1402
|
+
"members": [
|
1403
|
+
{
|
1404
|
+
"disabled": false,
|
1405
|
+
"document": "执行操作系统转换的实例 ID",
|
1406
|
+
"example": "[\"ins-xxxxxxxx\"]",
|
1407
|
+
"member": "string",
|
1408
|
+
"name": "InstanceIds",
|
1409
|
+
"required": true,
|
1410
|
+
"type": "list"
|
1411
|
+
},
|
1412
|
+
{
|
1413
|
+
"disabled": false,
|
1414
|
+
"document": "是否最小规模转换",
|
1415
|
+
"example": "true",
|
1416
|
+
"member": "bool",
|
1417
|
+
"name": "MinimalConversion",
|
1418
|
+
"required": false,
|
1419
|
+
"type": "bool"
|
1420
|
+
},
|
1421
|
+
{
|
1422
|
+
"disabled": false,
|
1423
|
+
"document": "是否只预检",
|
1424
|
+
"example": "true",
|
1425
|
+
"member": "bool",
|
1426
|
+
"name": "DryRun",
|
1427
|
+
"required": false,
|
1428
|
+
"type": "bool"
|
1429
|
+
},
|
1430
|
+
{
|
1431
|
+
"disabled": false,
|
1432
|
+
"document": "转换的目标操作系统类型。仅支持 TencentOS。",
|
1433
|
+
"example": "TencentOS",
|
1434
|
+
"member": "string",
|
1435
|
+
"name": "TargetOSType",
|
1436
|
+
"required": false,
|
1437
|
+
"type": "string"
|
1438
|
+
}
|
1439
|
+
],
|
1440
|
+
"type": "object"
|
1441
|
+
},
|
1442
|
+
"ConvertOperatingSystemsResponse": {
|
1443
|
+
"document": "ConvertOperatingSystems返回参数结构体",
|
1444
|
+
"members": [
|
1445
|
+
{
|
1446
|
+
"disabled": false,
|
1447
|
+
"document": "转换的目标操系统信息,仅在入参 DryRun 为 true 时返回。\n注意:此字段可能返回 null,表示取不到有效值。",
|
1448
|
+
"example": "无",
|
1449
|
+
"member": "TargetOS",
|
1450
|
+
"name": "SupportTargetOSList",
|
1451
|
+
"output_required": false,
|
1452
|
+
"type": "list",
|
1453
|
+
"value_allowed_null": true
|
1454
|
+
},
|
1455
|
+
{
|
1456
|
+
"disabled": false,
|
1457
|
+
"document": "操作系统转换的任务 ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
1458
|
+
"example": "无",
|
1459
|
+
"member": "string",
|
1460
|
+
"name": "TaskId",
|
1461
|
+
"output_required": false,
|
1462
|
+
"type": "string",
|
1463
|
+
"value_allowed_null": true
|
1464
|
+
},
|
1465
|
+
{
|
1466
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1467
|
+
"member": "string",
|
1468
|
+
"name": "RequestId",
|
1469
|
+
"type": "string"
|
1470
|
+
}
|
1471
|
+
],
|
1472
|
+
"type": "object"
|
1473
|
+
},
|
1393
1474
|
"CpuTopology": {
|
1394
1475
|
"document": "描述了实例CPU拓扑结构的相关信息。",
|
1395
1476
|
"members": [
|
@@ -11713,6 +11794,32 @@
|
|
11713
11794
|
],
|
11714
11795
|
"usage": "both"
|
11715
11796
|
},
|
11797
|
+
"TargetOS": {
|
11798
|
+
"document": "操作系统转换的目标操作系统信息",
|
11799
|
+
"members": [
|
11800
|
+
{
|
11801
|
+
"disabled": false,
|
11802
|
+
"document": "目标操作系统类型",
|
11803
|
+
"example": "TencentOS",
|
11804
|
+
"member": "string",
|
11805
|
+
"name": "TargetOSType",
|
11806
|
+
"output_required": true,
|
11807
|
+
"type": "string",
|
11808
|
+
"value_allowed_null": false
|
11809
|
+
},
|
11810
|
+
{
|
11811
|
+
"disabled": false,
|
11812
|
+
"document": "目标操作系统版本",
|
11813
|
+
"example": "2.4",
|
11814
|
+
"member": "string",
|
11815
|
+
"name": "TargetOSVersion",
|
11816
|
+
"output_required": true,
|
11817
|
+
"type": "string",
|
11818
|
+
"value_allowed_null": false
|
11819
|
+
}
|
11820
|
+
],
|
11821
|
+
"usage": "out"
|
11822
|
+
},
|
11716
11823
|
"TerminateInstancesRequest": {
|
11717
11824
|
"document": "TerminateInstances请求参数结构体",
|
11718
11825
|
"members": [
|
@@ -40,6 +40,14 @@
|
|
40
40
|
"title": "配置CHC物理服务器的部署网络"
|
41
41
|
}
|
42
42
|
],
|
43
|
+
"ConvertOperatingSystems": [
|
44
|
+
{
|
45
|
+
"document": "针对实例 ins-6pb6lrmy 执行操作系统转换",
|
46
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ConvertOperatingSystem\n<公共请求参数>\n\n{\n \"InstanceIds\": [\n \"ins-6pb6lrmy\"\n ]\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"SupportTargetOSList\": [\n {\n \"TargetOSType\": \"TencentOS\",\n \"TargetOSVersion\": \"2.4\"\n }\n ],\n \"TaskId\": \"12345678\",\n \"RequestId\": \"abc\"\n }\n}",
|
48
|
+
"title": "执行操作系统转换"
|
49
|
+
}
|
50
|
+
],
|
43
51
|
"CreateDisasterRecoverGroup": [
|
44
52
|
{
|
45
53
|
"document": "创建分散置放群组",
|
@@ -46851,7 +46851,7 @@
|
|
46851
46851
|
},
|
46852
46852
|
{
|
46853
46853
|
"disabled": false,
|
46854
|
-
"document": "0:待处理 1:已处理
|
46854
|
+
"document": "0:待处理 1:已处理 3: 已忽略 4:已删除 ",
|
46855
46855
|
"example": "1",
|
46856
46856
|
"member": "uint64",
|
46857
46857
|
"name": "Status",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"AcceptDirectConnectTunnel": {
|
4
|
-
"document": "
|
4
|
+
"document": "接受专用通道申请。",
|
5
5
|
"input": "AcceptDirectConnectTunnelRequest",
|
6
6
|
"name": "接受专用通道申请",
|
7
7
|
"output": "AcceptDirectConnectTunnelResponse",
|
@@ -43,14 +43,14 @@
|
|
43
43
|
"status": "online"
|
44
44
|
},
|
45
45
|
"DescribeAccessPoints": {
|
46
|
-
"document": "
|
46
|
+
"document": "查询物理专线接入点。",
|
47
47
|
"input": "DescribeAccessPointsRequest",
|
48
48
|
"name": "查询物理专线接入点",
|
49
49
|
"output": "DescribeAccessPointsResponse",
|
50
50
|
"status": "online"
|
51
51
|
},
|
52
52
|
"DescribeDirectConnectTunnelExtra": {
|
53
|
-
"document": "
|
53
|
+
"document": "查询专用通道扩展信息。",
|
54
54
|
"input": "DescribeDirectConnectTunnelExtraRequest",
|
55
55
|
"name": "查询专用通道扩展信息",
|
56
56
|
"output": "DescribeDirectConnectTunnelExtraResponse",
|
@@ -134,7 +134,7 @@
|
|
134
134
|
"status": "online"
|
135
135
|
},
|
136
136
|
"RejectDirectConnectTunnel": {
|
137
|
-
"document": "
|
137
|
+
"document": "拒绝专用通道申请。",
|
138
138
|
"input": "RejectDirectConnectTunnelRequest",
|
139
139
|
"name": "拒绝专用通道申请",
|
140
140
|
"output": "RejectDirectConnectTunnelResponse",
|
@@ -160,8 +160,8 @@
|
|
160
160
|
"members": [
|
161
161
|
{
|
162
162
|
"disabled": false,
|
163
|
-
"document": "
|
164
|
-
"example": "",
|
163
|
+
"document": "专用通道ID。",
|
164
|
+
"example": "dcx-xxxxxxxx",
|
165
165
|
"member": "string",
|
166
166
|
"name": "DirectConnectTunnelId",
|
167
167
|
"required": true,
|
@@ -925,8 +925,8 @@
|
|
925
925
|
"members": [
|
926
926
|
{
|
927
927
|
"disabled": false,
|
928
|
-
"document": "接入点所在的地域。使用DescribeRegions
|
929
|
-
"example": "",
|
928
|
+
"document": "接入点所在的地域。使用DescribeRegions查询。\n您可以通过调用 DescribeRegions接口获取地域ID。",
|
929
|
+
"example": "ap-guangzhou",
|
930
930
|
"member": "string",
|
931
931
|
"name": "RegionId",
|
932
932
|
"required": false,
|
@@ -935,7 +935,7 @@
|
|
935
935
|
{
|
936
936
|
"disabled": false,
|
937
937
|
"document": "偏移量,默认为0。",
|
938
|
-
"example": "",
|
938
|
+
"example": "0",
|
939
939
|
"member": "int64",
|
940
940
|
"name": "Offset",
|
941
941
|
"required": false,
|
@@ -944,7 +944,7 @@
|
|
944
944
|
{
|
945
945
|
"disabled": false,
|
946
946
|
"document": "返回数量,默认为20,最大值为100。",
|
947
|
-
"example": "",
|
947
|
+
"example": "100",
|
948
948
|
"member": "int64",
|
949
949
|
"name": "Limit",
|
950
950
|
"required": false,
|
@@ -959,7 +959,7 @@
|
|
959
959
|
{
|
960
960
|
"disabled": false,
|
961
961
|
"document": "接入点信息。",
|
962
|
-
"example": "",
|
962
|
+
"example": "[]",
|
963
963
|
"member": "AccessPoint",
|
964
964
|
"name": "AccessPointSet",
|
965
965
|
"type": "list",
|
@@ -967,8 +967,8 @@
|
|
967
967
|
},
|
968
968
|
{
|
969
969
|
"disabled": false,
|
970
|
-
"document": "
|
971
|
-
"example": "",
|
970
|
+
"document": "接入点总数量。",
|
971
|
+
"example": "100",
|
972
972
|
"member": "int64",
|
973
973
|
"name": "TotalCount",
|
974
974
|
"type": "int",
|
@@ -988,8 +988,8 @@
|
|
988
988
|
"members": [
|
989
989
|
{
|
990
990
|
"disabled": false,
|
991
|
-
"document": "专用通道ID",
|
992
|
-
"example": "",
|
991
|
+
"document": "专用通道ID。",
|
992
|
+
"example": "dcx-xxxxxxxx",
|
993
993
|
"member": "string",
|
994
994
|
"name": "DirectConnectTunnelId",
|
995
995
|
"required": true,
|
@@ -1003,8 +1003,8 @@
|
|
1003
1003
|
"members": [
|
1004
1004
|
{
|
1005
1005
|
"disabled": false,
|
1006
|
-
"document": "
|
1007
|
-
"example": "",
|
1006
|
+
"document": "专用通道扩展信息。",
|
1007
|
+
"example": "{}",
|
1008
1008
|
"member": "DirectConnectTunnelExtra",
|
1009
1009
|
"name": "DirectConnectTunnelExtra",
|
1010
1010
|
"type": "object",
|
@@ -3237,8 +3237,8 @@
|
|
3237
3237
|
"members": [
|
3238
3238
|
{
|
3239
3239
|
"disabled": false,
|
3240
|
-
"document": "
|
3241
|
-
"example": "",
|
3240
|
+
"document": "专用通道ID。",
|
3241
|
+
"example": "dcx-xxxxxxxx",
|
3242
3242
|
"member": "string",
|
3243
3243
|
"name": "DirectConnectTunnelId",
|
3244
3244
|
"required": true,
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"actions": {
|
3
3
|
"AcceptDirectConnectTunnel": [
|
4
4
|
{
|
5
|
-
"document": "",
|
5
|
+
"document": "接受专用通道申请",
|
6
6
|
"input": "https://dc.tencentcloudapi.com/?Action=AcceptDirectConnectTunnel\n&DirectConnectTunnelId=dcx-abcdefgh\n&<公共请求参数>",
|
7
7
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
8
8
|
"title": "接受专用通道申请"
|
@@ -100,9 +100,9 @@
|
|
100
100
|
],
|
101
101
|
"DescribeDirectConnectTunnelExtra": [
|
102
102
|
{
|
103
|
-
"document": "",
|
104
|
-
"input": "https://dc.tencentcloudapi.com/?Action=DescribeDirectConnectTunnelExtra\n&DirectConnectTunnelId=dcx-
|
105
|
-
"output": "{\n \"Response\": {\n \"
|
103
|
+
"document": "查询专用通道扩展信息",
|
104
|
+
"input": "https://dc.tencentcloudapi.com/?Action=DescribeDirectConnectTunnelExtra\n&DirectConnectTunnelId=dcx-047zz5e6\n&<公共请求参数>",
|
105
|
+
"output": "{\n \"Response\": {\n \"DirectConnectTunnelExtra\": {\n \"OwnerAccount\": \"100001332514\",\n \"DirectConnectOwnerAccount\": \"100001332514\",\n \"DirectConnectId\": \"dc-n6c9vvv3\",\n \"SignLaw\": true,\n \"DirectConnectTunnelId\": \"dcx-047zz5e6\",\n \"DirectConnectTunnelName\": \"DCXCCNVxlanBgpEcmpTestautotestdcxtwo\",\n \"State\": \"AVAILABLE\",\n \"VpcId\": \"\",\n \"NetworkRegion\": \"ap-chongqing\",\n \"VpcRegion\": \"cq\",\n \"DirectConnectGatewayId\": \"dcg-meljxc9n\",\n \"Bandwidth\": 100,\n \"Vlan\": 2432,\n \"TencentAddress\": \"192.168.0.3/29\",\n \"CustomerAddress\": \"192.168.0.1/29\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"NetDetectId\": \"\",\n \"EnableBGPCommunity\": false,\n \"NatType\": 0,\n \"BfdEnable\": 0,\n \"AccessPointType\": \"VXLAN\",\n \"DirectConnectGatewayName\": \"\",\n \"VpcName\": \"\",\n \"NqaEnable\": 0,\n \"BfdInfo\": {\n \"ProbeFailedTimes\": -1,\n \"Interval\": -1\n },\n \"NqaInfo\": {\n \"ProbeFailedTimes\": -1,\n \"Interval\": -1,\n \"DestinationIp\": \"0.0.0.0\"\n },\n \"IPv6Enable\": 0,\n \"PublicAddresses\": [],\n \"JumboEnable\": 0,\n \"HighPrecisionBFDEnable\": 0,\n \"TencentBackupAddress\": \"192.168.0.2/29\",\n \"NetworkType\": \"CCN\",\n \"RouteType\": \"BGP\",\n \"BgpPeer\": {\n \"Asn\": 65120,\n \"AuthKey\": \"tencent\"\n },\n \"RouteFilterPrefixes\": [],\n \"BgpStatus\": {\n \"TencentAddressBgpState\": \"Established\",\n \"TencentBackupAddressBgpState\": \"Connect\"\n },\n \"TencentIPv6Address\": \"\",\n \"TencentBackupIPv6Address\": \"\",\n \"CustomerIPv6Address\": \"\",\n \"BgpIPv6Status\": {\n \"TencentAddressBgpState\": \"\",\n \"TencentBackupAddressBgpState\": \"\"\n }\n },\n \"RequestId\": \"8ae32da8-db96-400f-908e-0de2c89e96ea\"\n }\n}",
|
106
106
|
"title": "查询专用通道扩展信息"
|
107
107
|
}
|
108
108
|
],
|
@@ -214,7 +214,7 @@
|
|
214
214
|
],
|
215
215
|
"RejectDirectConnectTunnel": [
|
216
216
|
{
|
217
|
-
"document": "",
|
217
|
+
"document": "拒绝专用通道申请。",
|
218
218
|
"input": "https://dc.tencentcloudapi.com/?Action=RejectDirectConnectTunnel\n&DirectConnectTunnelId=dcx-abcdefgh\n&<公共请求参数>",
|
219
219
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
220
220
|
"title": "拒绝专用通道申请"
|
@@ -1094,7 +1094,7 @@
|
|
1094
1094
|
"example": "1234qweri#",
|
1095
1095
|
"member": "string",
|
1096
1096
|
"name": "Password",
|
1097
|
-
"required":
|
1097
|
+
"required": false,
|
1098
1098
|
"type": "string"
|
1099
1099
|
},
|
1100
1100
|
{
|
@@ -1141,6 +1141,15 @@
|
|
1141
1141
|
"name": "MaxUserConnections",
|
1142
1142
|
"required": false,
|
1143
1143
|
"type": "int"
|
1144
|
+
},
|
1145
|
+
{
|
1146
|
+
"disabled": false,
|
1147
|
+
"document": "使用GetPublicKey返回的RSA2048公钥加密后的密码",
|
1148
|
+
"example": "+5DzNPbJ5s6e/SkAFgMKQ4ezgmIyKqwHR/TtkwCQP5oFzYTpXJC6iEYVkAmlbreL8XX2I/YdNsqfy184B5sKt7LcfcvTCDspbQrDlRawvcWU0lLxvSpBgL4zXlixxOIR5UmC6lvSJFHOdMzoeK2UKGuV2EG3BMuvVthHAKaFDEQh5C5UP5FsN8G+Zsf27tofNm6KRFrQksNcYvFqMEnnGWV4luXISbJI0yK0m6kyKJSAgtHtDvsGBbJ1fA3RO1p5K/usvARNPB1jzjK5TJtG5eFDsPLXDHwiHh8clQpSLhYj531Ba1uXi9yL1Zkhoc0lf4y2xoJU3N+ce+6IAfJiaw==",
|
1149
|
+
"member": "string",
|
1150
|
+
"name": "EncryptedPassword",
|
1151
|
+
"required": false,
|
1152
|
+
"type": "string"
|
1144
1153
|
}
|
1145
1154
|
],
|
1146
1155
|
"type": "object"
|
@@ -8163,7 +8172,16 @@
|
|
8163
8172
|
"example": "abcd8765_.",
|
8164
8173
|
"member": "string",
|
8165
8174
|
"name": "Password",
|
8166
|
-
"required":
|
8175
|
+
"required": false,
|
8176
|
+
"type": "string"
|
8177
|
+
},
|
8178
|
+
{
|
8179
|
+
"disabled": false,
|
8180
|
+
"document": "使用GetPublicKey返回的RSA2048公钥加密后的密码,加密算法是PKCS1v15",
|
8181
|
+
"example": "+5DzNPbJ5s6e/SkAFgMKQ4ezgmIyKqwHR/TtkwCQP5oFzYTpXJC6iEYVkAmlbreL8XX2I/YdNsqfy184B5sKt7LcfcvTCDspbQrDlRawvcWU0lLxvSpBgL4zXlixxOIR5UmC6lvSJFHOdMzoeK2UKGuV2EG3BMuvVthHAKaFDEQh5C5UP5FsN8G+Zsf27tofNm6KRFrQksNcYvFqMEnnGWV4luXISbJI0yK0m6kyKJSAgtHtDvsGBbJ1fA3RO1p5K/usvARNPB1jzjK5TJtG5eFDsPLXDHwiHh8clQpSLhYj531Ba1uXi9yL1Zkhoc0lf4y2xoJU3N+ce+6IAfJiaw==",
|
8182
|
+
"member": "string",
|
8183
|
+
"name": "EncryptedPassword",
|
8184
|
+
"required": false,
|
8167
8185
|
"type": "string"
|
8168
8186
|
}
|
8169
8187
|
],
|