tccli 3.0.1207.1__py2.py3-none-any.whl → 3.0.1209.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/__init__.py +3 -0
- tccli/services/advisor/v20200721/api.json +1 -1
- tccli/services/batch/v20170312/api.json +20 -2
- tccli/services/bma/v20221115/examples.json +1 -1
- tccli/services/ccc/v20200210/api.json +28 -1
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +475 -0
- tccli/services/cls/v20201016/examples.json +39 -7
- tccli/services/cynosdb/v20190107/api.json +11 -0
- tccli/services/dc/dc_client.py +126 -73
- tccli/services/dc/v20180410/api.json +300 -0
- tccli/services/dc/v20180410/examples.json +8 -0
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +273 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/emr/v20190103/api.json +2 -2
- tccli/services/ess/v20201111/api.json +13 -13
- tccli/services/ess/v20201111/examples.json +10 -10
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/faceid/v20180301/api.json +11 -1
- tccli/services/gwlb/__init__.py +4 -0
- tccli/services/gwlb/gwlb_client.py +1096 -0
- tccli/services/gwlb/v20240906/api.json +1807 -0
- tccli/services/gwlb/v20240906/examples.json +155 -0
- tccli/services/ioa/v20220601/api.json +18 -1
- tccli/services/oceanus/v20190422/api.json +4 -4
- tccli/services/privatedns/privatedns_client.py +57 -4
- tccli/services/privatedns/v20201028/api.json +101 -0
- tccli/services/privatedns/v20201028/examples.json +8 -0
- tccli/services/teo/v20220901/api.json +4 -4
- tccli/services/tke/tke_client.py +4 -57
- tccli/services/tke/v20180525/api.json +2 -74
- tccli/services/tke/v20180525/examples.json +0 -8
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/vclm/v20240523/api.json +9 -0
- tccli/services/vod/v20180717/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +23 -14
- tccli/services/vpc/v20170312/examples.json +1 -1
- tccli/services/vtc/v20240223/api.json +9 -0
- {tccli-3.0.1207.1.dist-info → tccli-3.0.1209.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1207.1.dist-info → tccli-3.0.1209.1.dist-info}/RECORD +45 -41
- {tccli-3.0.1207.1.dist-info → tccli-3.0.1209.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1207.1.dist-info → tccli-3.0.1209.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1207.1.dist-info → tccli-3.0.1209.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/tke/tke_client.py
CHANGED
@@ -4283,58 +4283,6 @@ def doCreateReservedInstances(args, parsed_globals):
|
|
4283
4283
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4284
4284
|
|
4285
4285
|
|
4286
|
-
def doDeleteReservedInstances(args, parsed_globals):
|
4287
|
-
g_param = parse_global_arg(parsed_globals)
|
4288
|
-
|
4289
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4290
|
-
cred = credential.CVMRoleCredential()
|
4291
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4292
|
-
cred = credential.STSAssumeRoleCredential(
|
4293
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4294
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4295
|
-
)
|
4296
|
-
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):
|
4297
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4298
|
-
else:
|
4299
|
-
cred = credential.Credential(
|
4300
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4301
|
-
)
|
4302
|
-
http_profile = HttpProfile(
|
4303
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4304
|
-
reqMethod="POST",
|
4305
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
4306
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4307
|
-
)
|
4308
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4309
|
-
if g_param[OptionsDefine.Language]:
|
4310
|
-
profile.language = g_param[OptionsDefine.Language]
|
4311
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4312
|
-
client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
|
4313
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
4314
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4315
|
-
model = models.DeleteReservedInstancesRequest()
|
4316
|
-
model.from_json_string(json.dumps(args))
|
4317
|
-
start_time = time.time()
|
4318
|
-
while True:
|
4319
|
-
rsp = client.DeleteReservedInstances(model)
|
4320
|
-
result = rsp.to_json_string()
|
4321
|
-
try:
|
4322
|
-
json_obj = json.loads(result)
|
4323
|
-
except TypeError as e:
|
4324
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4325
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4326
|
-
break
|
4327
|
-
cur_time = time.time()
|
4328
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4329
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4330
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4331
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4332
|
-
else:
|
4333
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4334
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4335
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4336
|
-
|
4337
|
-
|
4338
4286
|
def doDeletePrometheusTemplate(args, parsed_globals):
|
4339
4287
|
g_param = parse_global_arg(parsed_globals)
|
4340
4288
|
|
@@ -6831,7 +6779,7 @@ def doDescribeClusterInstances(args, parsed_globals):
|
|
6831
6779
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6832
6780
|
|
6833
6781
|
|
6834
|
-
def
|
6782
|
+
def doDeleteReservedInstances(args, parsed_globals):
|
6835
6783
|
g_param = parse_global_arg(parsed_globals)
|
6836
6784
|
|
6837
6785
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -6860,11 +6808,11 @@ def doDescribeExternalClusterSpec(args, parsed_globals):
|
|
6860
6808
|
client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
|
6861
6809
|
client._sdkVersion += ("_CLI_" + __version__)
|
6862
6810
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6863
|
-
model = models.
|
6811
|
+
model = models.DeleteReservedInstancesRequest()
|
6864
6812
|
model.from_json_string(json.dumps(args))
|
6865
6813
|
start_time = time.time()
|
6866
6814
|
while True:
|
6867
|
-
rsp = client.
|
6815
|
+
rsp = client.DeleteReservedInstances(model)
|
6868
6816
|
result = rsp.to_json_string()
|
6869
6817
|
try:
|
6870
6818
|
json_obj = json.loads(result)
|
@@ -12386,7 +12334,6 @@ ACTION_MAP = {
|
|
12386
12334
|
"DescribeClusters": doDescribeClusters,
|
12387
12335
|
"DescribeClusterEndpointStatus": doDescribeClusterEndpointStatus,
|
12388
12336
|
"CreateReservedInstances": doCreateReservedInstances,
|
12389
|
-
"DeleteReservedInstances": doDeleteReservedInstances,
|
12390
12337
|
"DeletePrometheusTemplate": doDeletePrometheusTemplate,
|
12391
12338
|
"DescribeRegions": doDescribeRegions,
|
12392
12339
|
"DescribeReservedInstanceUtilizationRate": doDescribeReservedInstanceUtilizationRate,
|
@@ -12435,7 +12382,7 @@ ACTION_MAP = {
|
|
12435
12382
|
"DescribeLogSwitches": doDescribeLogSwitches,
|
12436
12383
|
"AcquireClusterAdminRole": doAcquireClusterAdminRole,
|
12437
12384
|
"DescribeClusterInstances": doDescribeClusterInstances,
|
12438
|
-
"
|
12385
|
+
"DeleteReservedInstances": doDeleteReservedInstances,
|
12439
12386
|
"DescribeClusterReleaseHistory": doDescribeClusterReleaseHistory,
|
12440
12387
|
"ModifyClusterNodePool": doModifyClusterNodePool,
|
12441
12388
|
"DescribeEncryptionStatus": doDescribeEncryptionStatus,
|
@@ -812,13 +812,6 @@
|
|
812
812
|
"output": "DescribeExistedInstancesResponse",
|
813
813
|
"status": "online"
|
814
814
|
},
|
815
|
-
"DescribeExternalClusterSpec": {
|
816
|
-
"document": "tdcc接口已迁移至tdcc产品下,tke下的接口下线\n\n获取导入第三方集群YAML定义",
|
817
|
-
"input": "DescribeExternalClusterSpecRequest",
|
818
|
-
"name": "获取导入第三方集群YAML定义",
|
819
|
-
"output": "DescribeExternalClusterSpecResponse",
|
820
|
-
"status": "deprecated"
|
821
|
-
},
|
822
815
|
"DescribeExternalNodeSupportConfig": {
|
823
816
|
"document": "查看开启第三方节点池配置信息",
|
824
817
|
"input": "DescribeExternalNodeSupportConfigRequest",
|
@@ -11253,71 +11246,6 @@
|
|
11253
11246
|
],
|
11254
11247
|
"type": "object"
|
11255
11248
|
},
|
11256
|
-
"DescribeExternalClusterSpecRequest": {
|
11257
|
-
"document": "DescribeExternalClusterSpec请求参数结构体",
|
11258
|
-
"members": [
|
11259
|
-
{
|
11260
|
-
"disabled": false,
|
11261
|
-
"document": "注册集群ID",
|
11262
|
-
"example": "cls-65r1c5nu",
|
11263
|
-
"member": "string",
|
11264
|
-
"name": "ClusterId",
|
11265
|
-
"required": true,
|
11266
|
-
"type": "string"
|
11267
|
-
},
|
11268
|
-
{
|
11269
|
-
"disabled": false,
|
11270
|
-
"document": "默认false 获取内网,是否获取外网版注册命令",
|
11271
|
-
"example": "false",
|
11272
|
-
"member": "bool",
|
11273
|
-
"name": "IsExtranet",
|
11274
|
-
"required": false,
|
11275
|
-
"type": "bool"
|
11276
|
-
},
|
11277
|
-
{
|
11278
|
-
"disabled": false,
|
11279
|
-
"document": "默认false 不刷新有效时间 ,true刷新有效时间",
|
11280
|
-
"example": "false",
|
11281
|
-
"member": "bool",
|
11282
|
-
"name": "IsRefreshExpirationTime",
|
11283
|
-
"required": false,
|
11284
|
-
"type": "bool"
|
11285
|
-
}
|
11286
|
-
],
|
11287
|
-
"type": "object"
|
11288
|
-
},
|
11289
|
-
"DescribeExternalClusterSpecResponse": {
|
11290
|
-
"document": "DescribeExternalClusterSpec返回参数结构体",
|
11291
|
-
"members": [
|
11292
|
-
{
|
11293
|
-
"disabled": false,
|
11294
|
-
"document": "导入第三方集群YAML定义",
|
11295
|
-
"example": "xxx",
|
11296
|
-
"member": "string",
|
11297
|
-
"name": "Spec",
|
11298
|
-
"required": true,
|
11299
|
-
"type": "string",
|
11300
|
-
"value_allowed_null": false
|
11301
|
-
},
|
11302
|
-
{
|
11303
|
-
"disabled": false,
|
11304
|
-
"document": "agent.yaml文件过期时间字符串,时区UTC",
|
11305
|
-
"example": "2021-09-08T07:04:51Z",
|
11306
|
-
"member": "string",
|
11307
|
-
"name": "Expiration",
|
11308
|
-
"required": true,
|
11309
|
-
"type": "string",
|
11310
|
-
"value_allowed_null": false
|
11311
|
-
},
|
11312
|
-
{
|
11313
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
11314
|
-
"member": "string",
|
11315
|
-
"name": "RequestId",
|
11316
|
-
"type": "string"
|
11317
|
-
}
|
11318
|
-
],
|
11319
|
-
"type": "object"
|
11320
|
-
},
|
11321
11249
|
"DescribeExternalNodeSupportConfigRequest": {
|
11322
11250
|
"document": "DescribeExternalNodeSupportConfig请求参数结构体",
|
11323
11251
|
"members": [
|
@@ -20193,7 +20121,7 @@
|
|
20193
20121
|
},
|
20194
20122
|
{
|
20195
20123
|
"disabled": false,
|
20196
|
-
"document": "
|
20124
|
+
"document": "策略模板类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
20197
20125
|
"example": "BlockCrdDeletion",
|
20198
20126
|
"member": "string",
|
20199
20127
|
"name": "Kind",
|
@@ -20257,7 +20185,7 @@
|
|
20257
20185
|
},
|
20258
20186
|
{
|
20259
20187
|
"disabled": false,
|
20260
|
-
"document": "
|
20188
|
+
"document": "策略模板类型",
|
20261
20189
|
"example": "BlockCrdDeletion",
|
20262
20190
|
"member": "string",
|
20263
20191
|
"name": "Kind",
|
@@ -964,14 +964,6 @@
|
|
964
964
|
"title": "查询已经存在的节点"
|
965
965
|
}
|
966
966
|
],
|
967
|
-
"DescribeExternalClusterSpec": [
|
968
|
-
{
|
969
|
-
"document": "",
|
970
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeExternalClusterSpec\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-xxx\",\n \"IsExtranet\": false,\n \"IsRefreshExpirationTime\": false\n}",
|
971
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Spec\": \"xxxx\",\n \"Expiration\": \"2021-09-08T07:04:51Z\"\n }\n}",
|
972
|
-
"title": "获取导入第三方集群YAML定义"
|
973
|
-
}
|
974
|
-
],
|
975
967
|
"DescribeExternalNodeSupportConfig": [
|
976
968
|
{
|
977
969
|
"document": "",
|
@@ -737,7 +737,7 @@
|
|
737
737
|
{
|
738
738
|
"disabled": false,
|
739
739
|
"document": "腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。\n示例值:cn-shanghai-1\n\nAWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)",
|
740
|
-
"example": "
|
740
|
+
"example": "ap-shanghai(cos, 具体参考云存储厂商支持的地域)",
|
741
741
|
"member": "string",
|
742
742
|
"name": "Region",
|
743
743
|
"required": true,
|
@@ -795,6 +795,15 @@
|
|
795
795
|
"required": false,
|
796
796
|
"type": "string"
|
797
797
|
},
|
798
|
+
{
|
799
|
+
"disabled": false,
|
800
|
+
"document": "是否需要去除VideoUrl或AudioUrl中背景音,取值范围:0-不需要,1-需要,默认0 。",
|
801
|
+
"example": "0",
|
802
|
+
"member": "int64",
|
803
|
+
"name": "RemoveVocal",
|
804
|
+
"required": false,
|
805
|
+
"type": "int"
|
806
|
+
},
|
798
807
|
{
|
799
808
|
"disabled": false,
|
800
809
|
"document": "是否需要确认翻译结果0:不需要,1:需要",
|
@@ -848,7 +848,7 @@
|
|
848
848
|
"status": "online"
|
849
849
|
},
|
850
850
|
"ForbidMediaDistribution": {
|
851
|
-
"document": "* 对媒体禁播后,除了点播控制台预览,其他场景访问视频各种资源的 URL(原始文件、转码输出文件、截图等)均会返回 403。\n 禁播/解禁操作全网生效时间约 5~10
|
851
|
+
"document": "* 对媒体禁播后,除了点播控制台预览,其他场景访问视频各种资源的 URL(原始文件、转码输出文件、截图等)均会返回 403。\n 禁播/解禁操作全网生效时间约 5~10 分钟。\n* 注意:禁播媒体仅能操作标准存储和低频存储的媒体。低频存储媒体,必须存储至少 30 天,提前删除或变更存储类型,仍旧按照 30 天计费;如果禁播低频存储媒体,该媒体低频存储的时长不足 30 天,会产生提前删除计费;同时,禁播后该媒体的低频存储时长会从当前时间重新开始计算,如果不满 30 天继续对该媒体进行删除或变更存储类型,也将产生提前删除计费。例:媒体 001 已经低频存储了 10 天,此时对 001 进行禁播,低频存储的计费仍旧按 30 天计算(提前删除计费时长为 30 - 10 = 20 天);禁播后 001 的低频存储时长重新开始计算,如果禁播后第 5 天删除了 001,低频存储计费也会按 30 天计算(提前删除计费时长为 30 - 5 = 25 天);001 实际的低频存储时长为 10 + 5 = 15 天,低频存储计费时长为 10 + 20(提前删除计费)+ 5 + 25(提前删除计费) = 60 天。",
|
852
852
|
"input": "ForbidMediaDistributionRequest",
|
853
853
|
"name": "禁播媒体",
|
854
854
|
"output": "ForbidMediaDistributionResponse",
|
@@ -2402,7 +2402,7 @@
|
|
2402
2402
|
"status": "online"
|
2403
2403
|
},
|
2404
2404
|
"ReplaceCcnRouteTableBroadcastPolicys": {
|
2405
|
-
"document": "本接口(ReplaceCcnRouteTableBroadcastPolicys)用于替换云联网路由表路由传播策略。\n> 特别注意:是全量覆盖,非增量添加\n\n**路由条件支持以下四种:**\n\n- 实例类型: `instance-type`,可选值:私有网络 `VPC`、专线网关 `DIRECTCONNECT
|
2405
|
+
"document": "本接口(ReplaceCcnRouteTableBroadcastPolicys)用于替换云联网路由表路由传播策略。\n> 特别注意:是全量覆盖,非增量添加\n\n**路由条件支持以下四种:**\n\n- 实例类型: `instance-type`,可选值:私有网络 `VPC`、专线网关 `DIRECTCONNECT`、VPN网关 `VPNGW`\n- 实例ID: `instance-id`,例如:`dcg-8zljkrft`、`vpc-jdevjrup`,暂不支持 `Edge` 实例\n- 实例地域: `instance-region`,例如:`ap-guangzhou`<br />产品支持的所有地域列表可通过接口 [DescribeRegions](https://cloud.tencent.com/document/product/1596/77930) 查询,其中参数 `Product` 设置为 `ccn`\n- 路由前缀: `cidr-block`,例如:`10.1.0.0/16`\n\n\n**传播条件支持以下三种:**\n\n- 实例类型: `instance-type`,格式同路由条件\n- 实例ID: `instance-id`,格式同路由条件\n- 实例地域: `instance-region`,格式同路由条件\n\n\n**使用限制:**\n- 一条策略内的单个条件类型,最大支持设置 `25` 个条件值\n- 一张路由表,最大支持 `100` 条路由传播策略\n- 路由条件类型中,只有 `cidr-block` 类型支持模糊匹配和精确匹配两种,其它类型只支持精确匹配一种模式",
|
2406
2406
|
"input": "ReplaceCcnRouteTableBroadcastPolicysRequest",
|
2407
2407
|
"name": "替换云联网路由传播策略",
|
2408
2408
|
"output": "ReplaceCcnRouteTableBroadcastPolicysResponse",
|
@@ -4079,6 +4079,15 @@
|
|
4079
4079
|
"name": "EipDirectConnection",
|
4080
4080
|
"required": false,
|
4081
4081
|
"type": "bool"
|
4082
|
+
},
|
4083
|
+
{
|
4084
|
+
"disabled": false,
|
4085
|
+
"document": "要绑定的实例所在的地域",
|
4086
|
+
"example": "ap-guangzhou",
|
4087
|
+
"member": "string",
|
4088
|
+
"name": "InstanceRegion",
|
4089
|
+
"required": false,
|
4090
|
+
"type": "string"
|
4082
4091
|
}
|
4083
4092
|
],
|
4084
4093
|
"type": "object"
|
@@ -5486,6 +5495,7 @@
|
|
5486
5495
|
"example": "ccn-245ecr35",
|
5487
5496
|
"member": "string",
|
5488
5497
|
"name": "CcnId",
|
5498
|
+
"output_required": true,
|
5489
5499
|
"required": true,
|
5490
5500
|
"type": "string",
|
5491
5501
|
"value_allowed_null": false
|
@@ -5496,6 +5506,7 @@
|
|
5496
5506
|
"example": "test",
|
5497
5507
|
"member": "string",
|
5498
5508
|
"name": "Name",
|
5509
|
+
"output_required": true,
|
5499
5510
|
"required": true,
|
5500
5511
|
"type": "string",
|
5501
5512
|
"value_allowed_null": false
|
@@ -5506,7 +5517,8 @@
|
|
5506
5517
|
"example": "deerers",
|
5507
5518
|
"member": "string",
|
5508
5519
|
"name": "Description",
|
5509
|
-
"
|
5520
|
+
"output_required": true,
|
5521
|
+
"required": false,
|
5510
5522
|
"type": "string",
|
5511
5523
|
"value_allowed_null": false
|
5512
5524
|
}
|
@@ -6045,7 +6057,7 @@
|
|
6045
6057
|
"member": "string",
|
6046
6058
|
"name": "Description",
|
6047
6059
|
"output_required": true,
|
6048
|
-
"required":
|
6060
|
+
"required": false,
|
6049
6061
|
"type": "string",
|
6050
6062
|
"value_allowed_null": false
|
6051
6063
|
},
|
@@ -6521,7 +6533,7 @@
|
|
6521
6533
|
{
|
6522
6534
|
"disabled": false,
|
6523
6535
|
"document": "云联网ID。",
|
6524
|
-
"example": "
|
6536
|
+
"example": "ccn-1234edfr",
|
6525
6537
|
"member": "string",
|
6526
6538
|
"name": "CcnId",
|
6527
6539
|
"required": true,
|
@@ -20219,7 +20231,7 @@
|
|
20219
20231
|
},
|
20220
20232
|
{
|
20221
20233
|
"disabled": false,
|
20222
|
-
"document": "CCN路由策略唯一ID。形如:ccnr-f49l6u0z
|
20234
|
+
"document": "CCN路由策略唯一ID。形如:ccnr-f49l6u0z。可通过DescribeCcnRoutes获取。",
|
20223
20235
|
"example": "[\"ccnr-bvipc87w\\r\\n\"]",
|
20224
20236
|
"member": "string",
|
20225
20237
|
"name": "RouteIds",
|
@@ -20837,7 +20849,7 @@
|
|
20837
20849
|
},
|
20838
20850
|
{
|
20839
20851
|
"disabled": false,
|
20840
|
-
"document": "CCN路由策略唯一ID。形如:ccnr-f49l6u0z
|
20852
|
+
"document": "CCN路由策略唯一ID。形如:ccnr-f49l6u0z。可通过DescribeCcnRoutes接口获取。",
|
20841
20853
|
"example": "[\"ccnr-bvipc87w\\r\\n\"]",
|
20842
20854
|
"member": "string",
|
20843
20855
|
"name": "RouteIds",
|
@@ -25776,28 +25788,25 @@
|
|
25776
25788
|
"member": "string",
|
25777
25789
|
"name": "RouteTableId",
|
25778
25790
|
"required": true,
|
25779
|
-
"type": "string"
|
25780
|
-
"value_allowed_null": false
|
25791
|
+
"type": "string"
|
25781
25792
|
},
|
25782
25793
|
{
|
25783
25794
|
"disabled": false,
|
25784
|
-
"document": "云联网路由表名称。",
|
25795
|
+
"document": "云联网路由表名称。Name和Description 两者必传一个。",
|
25785
25796
|
"example": "test",
|
25786
25797
|
"member": "string",
|
25787
25798
|
"name": "Name",
|
25788
25799
|
"required": false,
|
25789
|
-
"type": "string"
|
25790
|
-
"value_allowed_null": true
|
25800
|
+
"type": "string"
|
25791
25801
|
},
|
25792
25802
|
{
|
25793
25803
|
"disabled": false,
|
25794
|
-
"document": "云联网路由表描述。",
|
25804
|
+
"document": "云联网路由表描述。Name和Description 两者必传一个。",
|
25795
25805
|
"example": "deerers",
|
25796
25806
|
"member": "string",
|
25797
25807
|
"name": "Description",
|
25798
25808
|
"required": false,
|
25799
|
-
"type": "string"
|
25800
|
-
"value_allowed_null": false
|
25809
|
+
"type": "string"
|
25801
25810
|
}
|
25802
25811
|
],
|
25803
25812
|
"usage": "in"
|
@@ -3130,7 +3130,7 @@
|
|
3130
3130
|
],
|
3131
3131
|
"ReplaceCcnRouteTableBroadcastPolicys": [
|
3132
3132
|
{
|
3133
|
-
"document": "",
|
3133
|
+
"document": "替换云联网路由传播策略",
|
3134
3134
|
"input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReplaceCcnRouteTableBroadcastPolicys\n<公共请求参数>\n\n{\n \"CcnId\": \"ccn-qd6z2ld1\",\n \"RouteTableId\": \"ccnrtb-1mkezrkd\",\n \"Policys\": [\n {\n \"RouteConditions\": [\n {\n \"Name\": \"instance-type\",\n \"Values\": [\n \"VPC\",\n \"DIRECTCONNECT\"\n ],\n \"MatchPattern\": 1\n },\n {\n \"Name\": \"instance-id\",\n \"Values\": [\n \"dcg-8zljkrft\",\n \"vpc-jdevjrup\"\n ],\n \"MatchPattern\": 1\n }\n ],\n \"BroadcastConditions\": [\n {\n \"Name\": \"instance-id\",\n \"Values\": [\n \"vpc-jdevjrup\",\n \"vpc-hb81v349\"\n ],\n \"MatchPattern\": 1\n }\n ],\n \"Action\": \"accept\",\n \"Description\": \"指定vpc接收北京指定专线和vpc路由\"\n },\n {\n \"RouteConditions\": [\n {\n \"Name\": \"instance-region\",\n \"Values\": [\n \"ap-beijing\"\n ],\n \"MatchPattern\": 1\n },\n {\n \"Name\": \"instance-type\",\n \"Values\": [\n \"VPC\",\n \"DIRECTCONNECT\",\n \"VPNGW\"\n ],\n \"MatchPattern\": 1\n },\n {\n \"Name\": \"cidr-block\",\n \"Values\": [\n \"9.0.0.0/8\",\n \"10.0.0.0/8\",\n \"192.168.0.0/24\"\n ],\n \"MatchPattern\": 1\n }\n ],\n \"BroadcastConditions\": [\n {\n \"Name\": \"instance-region\",\n \"Values\": [\n \"ap-beijing\"\n ],\n \"MatchPattern\": 1\n },\n {\n \"Name\": \"instance-id\",\n \"Values\": [\n \"vpc-jdevjrup\",\n \"vpc-hb81v349\"\n ],\n \"MatchPattern\": 1\n }\n ],\n \"Action\": \"drop\",\n \"Description\": \"指定VPC绝收北京地域专线、VPC、VPN三大网段\"\n }\n ]\n}",
|
3135
3135
|
"output": "{\n \"Response\": {\n \"RequestId\": \"6fe64d7f-3983-4f17-847d-a60dded41951\"\n }\n}",
|
3136
3136
|
"title": "替换云联网路由传播策略"
|
@@ -371,6 +371,15 @@
|
|
371
371
|
"required": false,
|
372
372
|
"type": "string"
|
373
373
|
},
|
374
|
+
{
|
375
|
+
"disabled": false,
|
376
|
+
"document": "是否需要去除VideoUrl或AudioUrl中背景音,取值范围:0-不需要,1-需要,默认0 。",
|
377
|
+
"example": "0",
|
378
|
+
"member": "int64",
|
379
|
+
"name": "RemoveVocal",
|
380
|
+
"required": false,
|
381
|
+
"type": "int"
|
382
|
+
},
|
374
383
|
{
|
375
384
|
"disabled": false,
|
376
385
|
"document": "是否需要确认翻译结果0:不需要,1:需要",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1209.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1209
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|