tccli 3.0.1214.1__py2.py3-none-any.whl → 3.0.1216.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/configure.py +46 -1
- tccli/services/__init__.py +0 -3
- tccli/services/ams/v20201229/examples.json +2 -2
- tccli/services/apm/v20210622/api.json +20 -0
- tccli/services/asr/v20190614/api.json +3 -3
- tccli/services/bi/v20220105/api.json +32 -4
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/billing/billing_client.py +53 -0
- tccli/services/billing/v20180709/api.json +304 -0
- tccli/services/billing/v20180709/examples.json +8 -0
- tccli/services/bsca/v20210811/api.json +222 -17
- tccli/services/bsca/v20210811/examples.json +4 -4
- tccli/services/ccc/ccc_client.py +53 -0
- tccli/services/ccc/v20200210/api.json +176 -18
- tccli/services/ccc/v20200210/examples.json +11 -3
- tccli/services/cdb/v20170320/api.json +22 -4
- tccli/services/cdb/v20170320/examples.json +1 -1
- tccli/services/cdn/v20180606/api.json +5 -3
- tccli/services/cdwdoris/v20211228/api.json +23 -2
- tccli/services/cfs/v20190719/api.json +3 -3
- tccli/services/cfw/v20190904/api.json +86 -52
- tccli/services/cfw/v20190904/examples.json +68 -56
- tccli/services/ciam/v20220331/api.json +316 -315
- tccli/services/ciam/v20220331/examples.json +49 -49
- tccli/services/ckafka/v20190819/api.json +1 -1
- tccli/services/cloudaudit/cloudaudit_client.py +30 -30
- tccli/services/cloudaudit/v20190319/api.json +215 -186
- tccli/services/cloudaudit/v20190319/examples.json +13 -13
- tccli/services/cls/v20201016/api.json +365 -66
- tccli/services/cls/v20201016/examples.json +9 -3
- tccli/services/csip/v20221121/api.json +4 -4
- tccli/services/cvm/v20170312/api.json +42 -0
- tccli/services/cwp/v20180228/api.json +865 -809
- tccli/services/cwp/v20180228/examples.json +98 -110
- tccli/services/cynosdb/v20190107/api.json +77 -29
- tccli/services/cynosdb/v20190107/examples.json +22 -22
- tccli/services/dasb/v20191018/api.json +77 -0
- tccli/services/dasb/v20191018/examples.json +5 -5
- tccli/services/dbbrain/v20191016/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +11 -0
- tccli/services/domain/v20180808/api.json +3 -3
- tccli/services/domain/v20180808/examples.json +3 -3
- tccli/services/eb/v20210416/api.json +15 -15
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/emr/v20190103/api.json +9 -0
- tccli/services/es/es_client.py +249 -37
- tccli/services/es/v20180416/api.json +521 -0
- tccli/services/es/v20180416/examples.json +32 -0
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +155 -10
- tccli/services/ess/v20201111/examples.json +15 -1
- tccli/services/essbasic/essbasic_client.py +106 -0
- tccli/services/essbasic/v20210526/api.json +244 -13
- tccli/services/essbasic/v20210526/examples.json +22 -0
- tccli/services/gaap/v20180529/api.json +44 -26
- tccli/services/gaap/v20180529/examples.json +24 -30
- tccli/services/hunyuan/v20230901/examples.json +6 -0
- tccli/services/iotexplorer/v20190423/api.json +40 -0
- tccli/services/iss/v20230517/api.json +19 -0
- tccli/services/live/v20180801/api.json +35 -9
- tccli/services/mongodb/v20190725/api.json +6 -8
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mqtt/v20240516/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/organization/organization_client.py +352 -34
- tccli/services/organization/v20210331/api.json +451 -0
- tccli/services/organization/v20210331/examples.json +48 -0
- tccli/services/partners/partners_client.py +57 -4
- tccli/services/partners/v20180321/api.json +44 -0
- tccli/services/partners/v20180321/examples.json +8 -0
- tccli/services/region/v20220627/api.json +1 -1
- tccli/services/scf/scf_client.py +269 -4
- tccli/services/scf/v20180416/api.json +554 -0
- tccli/services/scf/v20180416/examples.json +46 -0
- tccli/services/ssl/v20191205/api.json +34 -5
- tccli/services/tat/v20201028/api.json +27 -25
- tccli/services/tat/v20201028/examples.json +4 -4
- tccli/services/tcss/v20201101/api.json +256 -14
- tccli/services/tcss/v20201101/examples.json +7 -7
- tccli/services/tdmq/v20200217/api.json +64 -63
- tccli/services/tdmq/v20200217/examples.json +2 -2
- tccli/services/tem/v20210701/api.json +144 -103
- tccli/services/tem/v20210701/examples.json +27 -27
- tccli/services/teo/teo_client.py +277 -12
- tccli/services/teo/v20220901/api.json +1023 -146
- tccli/services/teo/v20220901/examples.json +71 -1
- tccli/services/tke/tke_client.py +53 -0
- tccli/services/tke/v20180525/api.json +43 -0
- tccli/services/tke/v20180525/examples.json +8 -0
- tccli/services/tms/tms_client.py +4 -57
- tccli/services/tms/v20201229/api.json +0 -354
- tccli/services/tms/v20201229/examples.json +0 -8
- tccli/services/trtc/v20190722/api.json +221 -22
- tccli/services/vpc/v20170312/api.json +111 -34
- tccli/services/vpc/v20170312/examples.json +11 -3
- tccli/services/vpc/vpc_client.py +107 -54
- tccli/services/waf/v20180125/api.json +61 -0
- tccli/services/waf/v20180125/examples.json +8 -0
- tccli/services/waf/waf_client.py +53 -0
- tccli/services/wedata/v20210820/api.json +686 -0
- tccli/services/wedata/v20210820/examples.json +16 -0
- tccli/services/wedata/wedata_client.py +106 -0
- {tccli-3.0.1214.1.dist-info → tccli-3.0.1216.1.dist-info}/METADATA +6 -2
- {tccli-3.0.1214.1.dist-info → tccli-3.0.1216.1.dist-info}/RECORD +108 -112
- tccli/services/cr/__init__.py +0 -4
- tccli/services/cr/cr_client.py +0 -1626
- tccli/services/cr/v20180321/api.json +0 -2829
- tccli/services/cr/v20180321/examples.json +0 -235
- {tccli-3.0.1214.1.dist-info → tccli-3.0.1216.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1214.1.dist-info → tccli-3.0.1216.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1214.1.dist-info → tccli-3.0.1216.1.dist-info}/license_files/LICENSE +0 -0
@@ -592,6 +592,22 @@
|
|
592
592
|
"title": "数据检测情况"
|
593
593
|
}
|
594
594
|
],
|
595
|
+
"DescribeDataServicePublishedApiDetail": [
|
596
|
+
{
|
597
|
+
"document": "查询数据服务API的发布态信息响应示例",
|
598
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataServicePublishedApiDetail\n<公共请求参数>\n\n{\n \"Id\": \"1848956796467621890\",\n \"ProjectId\": \"1470547050521227264\"\n}",
|
599
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"ApiDescription\": \"\",\n \"ApiId\": \"1792441377707995137\",\n \"ApiName\": \"test_0520\",\n \"ApiStatus\": 1,\n \"ApiTagNames\": \"\",\n \"AuthType\": 1,\n \"GatewayApiUrl\": \"http://service-xxxxxxx.bj.tencentapigw.cn;https://service-xxxxxxx.bj.tencentapigw.cn\",\n \"MaxAllowPageSize\": 2000,\n \"MaxAllowQps\": 1,\n \"OwnerName\": \"jaredlin\",\n \"PathUrl\": \"/test_0520\",\n \"RequestError\": \"{\\\"code\\\":\\\"FailedOperation\\\",\\\"message\\\":\\\"服务内部发生异常!\\\",\\\"requestId\\\":\\\"37f66f3c-d9e5-48be-a745-c15eb4b9f41d\\\"}\",\n \"RequestExample\": \"http://service-xxxxxxx.bj.tencentapigw.cn/test_0520?id=1\",\n \"RequestParam\": [\n {\n \"BindField\": \"id\",\n \"DefaultValue\": \"1\",\n \"Description\": \"记录Id\",\n \"ExampleValue\": \"1\",\n \"NonEmpty\": 0,\n \"Operator\": \"=\",\n \"ParamName\": \"id\",\n \"ParamPosition\": \"Query\",\n \"ParamType\": \"Integer\"\n }\n ],\n \"RequestSuccess\": \"{\\\"code\\\":\\\"SUCCESS\\\",\\\"message\\\":\\\"查询成功\\\",\\\"data\\\":{\\\"totalCount\\\":1,\\\"dataSet\\\":[{\\\"name123\\\":\\\"李四\\\",\\\"id\\\":1}]},\\\"requestId\\\":\\\"94881ebe-01a8-4c45-b2bf-f2175ea2e093\\\"}\",\n \"RequestType\": \"GET\",\n \"ResponseParam\": [\n {\n \"BindField\": \"name123\",\n \"Description\": \"姓名\",\n \"ExampleValue\": \"李四\",\n \"ParamName\": \"name123\",\n \"ParamType\": \"String\"\n },\n {\n \"BindField\": \"id\",\n \"Description\": \"Id\",\n \"ExampleValue\": \"1\",\n \"ParamName\": \"id\",\n \"ParamType\": \"Integer\"\n }\n ],\n \"TimeoutPeriod\": 5\n },\n \"RequestId\": \"13684205-8efc-479e-9bdd-772c96df6fff\"\n }\n}",
|
600
|
+
"title": "查询数据服务API的发布态信息响应"
|
601
|
+
}
|
602
|
+
],
|
603
|
+
"DescribeDataServicePublishedApiList": [
|
604
|
+
{
|
605
|
+
"document": "获取数据服务API的发布态信息列表示例",
|
606
|
+
"input": "POST / HTTP/1.1\nHost: wedata.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataServicePublishedApiList\n<公共请求参数>\n\n{\n \"PageNumber\": 1,\n \"PageSize\": 2,\n \"ProjectId\": \"1470547050521227264\",\n \"Filters\": {\n \"Keyword\": \"\"\n }\n}",
|
607
|
+
"output": "{\n \"Response\": {\n \"DataSet\": [\n {\n \"ApiFolderName\": \"test\",\n \"ApiId\": \"1753335714101014529\",\n \"ApiName\": \"test_gss_0202\",\n \"ApiStatus\": 1,\n \"ApiTagNames\": \"test_001\",\n \"AuthType\": 1,\n \"ConfigType\": 1,\n \"CreateTime\": \"2024-04-25 10:14:29\",\n \"Id\": \"1783318630750957569\",\n \"OwnerName\": \"v_vgssgan\"\n },\n {\n \"ApiFolderName\": \"test\",\n \"ApiId\": \"1746830093602308097\",\n \"ApiName\": \"test_gss_0116\",\n \"ApiStatus\": 1,\n \"ApiTagNames\": \"\",\n \"AuthType\": 0,\n \"ConfigType\": 0,\n \"CreateTime\": \"2024-01-15 18:41:28\",\n \"Id\": \"1746845044760952833\",\n \"OwnerName\": \"v_vgssgan\"\n }\n ],\n \"RequestId\": \"39313658-20fe-4f38-ae42-17fca1853cf1\",\n \"TotalCount\": 39\n }\n}",
|
608
|
+
"title": "获取数据服务API的发布态信息列表"
|
609
|
+
}
|
610
|
+
],
|
595
611
|
"DescribeDataSourceInfoList": [
|
596
612
|
{
|
597
613
|
"document": "获取数据源列表",
|
@@ -8233,6 +8233,58 @@ def doDagInstances(args, parsed_globals):
|
|
8233
8233
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
8234
8234
|
|
8235
8235
|
|
8236
|
+
def doDescribeDataServicePublishedApiList(args, parsed_globals):
|
8237
|
+
g_param = parse_global_arg(parsed_globals)
|
8238
|
+
|
8239
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
8240
|
+
cred = credential.CVMRoleCredential()
|
8241
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
8242
|
+
cred = credential.STSAssumeRoleCredential(
|
8243
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
8244
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
8245
|
+
)
|
8246
|
+
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):
|
8247
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
8248
|
+
else:
|
8249
|
+
cred = credential.Credential(
|
8250
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
8251
|
+
)
|
8252
|
+
http_profile = HttpProfile(
|
8253
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
8254
|
+
reqMethod="POST",
|
8255
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
8256
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
8257
|
+
)
|
8258
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
8259
|
+
if g_param[OptionsDefine.Language]:
|
8260
|
+
profile.language = g_param[OptionsDefine.Language]
|
8261
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
8262
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
8263
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
8264
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
8265
|
+
model = models.DescribeDataServicePublishedApiListRequest()
|
8266
|
+
model.from_json_string(json.dumps(args))
|
8267
|
+
start_time = time.time()
|
8268
|
+
while True:
|
8269
|
+
rsp = client.DescribeDataServicePublishedApiList(model)
|
8270
|
+
result = rsp.to_json_string()
|
8271
|
+
try:
|
8272
|
+
json_obj = json.loads(result)
|
8273
|
+
except TypeError as e:
|
8274
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
8275
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
8276
|
+
break
|
8277
|
+
cur_time = time.time()
|
8278
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
8279
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
8280
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
8281
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
8282
|
+
else:
|
8283
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
8284
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
8285
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
8286
|
+
|
8287
|
+
|
8236
8288
|
def doModifyApproveStatus(args, parsed_globals):
|
8237
8289
|
g_param = parse_global_arg(parsed_globals)
|
8238
8290
|
|
@@ -10313,6 +10365,58 @@ def doDescribeIntegrationTask(args, parsed_globals):
|
|
10313
10365
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
10314
10366
|
|
10315
10367
|
|
10368
|
+
def doDescribeDataServicePublishedApiDetail(args, parsed_globals):
|
10369
|
+
g_param = parse_global_arg(parsed_globals)
|
10370
|
+
|
10371
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
10372
|
+
cred = credential.CVMRoleCredential()
|
10373
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
10374
|
+
cred = credential.STSAssumeRoleCredential(
|
10375
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
10376
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
10377
|
+
)
|
10378
|
+
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):
|
10379
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
10380
|
+
else:
|
10381
|
+
cred = credential.Credential(
|
10382
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
10383
|
+
)
|
10384
|
+
http_profile = HttpProfile(
|
10385
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
10386
|
+
reqMethod="POST",
|
10387
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
10388
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
10389
|
+
)
|
10390
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
10391
|
+
if g_param[OptionsDefine.Language]:
|
10392
|
+
profile.language = g_param[OptionsDefine.Language]
|
10393
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
10394
|
+
client = mod.WedataClient(cred, g_param[OptionsDefine.Region], profile)
|
10395
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
10396
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
10397
|
+
model = models.DescribeDataServicePublishedApiDetailRequest()
|
10398
|
+
model.from_json_string(json.dumps(args))
|
10399
|
+
start_time = time.time()
|
10400
|
+
while True:
|
10401
|
+
rsp = client.DescribeDataServicePublishedApiDetail(model)
|
10402
|
+
result = rsp.to_json_string()
|
10403
|
+
try:
|
10404
|
+
json_obj = json.loads(result)
|
10405
|
+
except TypeError as e:
|
10406
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
10407
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
10408
|
+
break
|
10409
|
+
cur_time = time.time()
|
10410
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
10411
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
10412
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
10413
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
10414
|
+
else:
|
10415
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
10416
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
10417
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
10418
|
+
|
10419
|
+
|
10316
10420
|
def doDescribeWorkflowTaskCount(args, parsed_globals):
|
10317
10421
|
g_param = parse_global_arg(parsed_globals)
|
10318
10422
|
|
@@ -12354,6 +12458,7 @@ ACTION_MAP = {
|
|
12354
12458
|
"DeleteResourceFile": doDeleteResourceFile,
|
12355
12459
|
"DescribeRuleTemplatesByPage": doDescribeRuleTemplatesByPage,
|
12356
12460
|
"DagInstances": doDagInstances,
|
12461
|
+
"DescribeDataServicePublishedApiList": doDescribeDataServicePublishedApiList,
|
12357
12462
|
"ModifyApproveStatus": doModifyApproveStatus,
|
12358
12463
|
"DescribeIntegrationStatisticsTaskStatusTrend": doDescribeIntegrationStatisticsTaskStatusTrend,
|
12359
12464
|
"DescribeTaskLockStatus": doDescribeTaskLockStatus,
|
@@ -12394,6 +12499,7 @@ ACTION_MAP = {
|
|
12394
12499
|
"DeleteCustomFunction": doDeleteCustomFunction,
|
12395
12500
|
"DescribeFolderWorkflowList": doDescribeFolderWorkflowList,
|
12396
12501
|
"DescribeIntegrationTask": doDescribeIntegrationTask,
|
12502
|
+
"DescribeDataServicePublishedApiDetail": doDescribeDataServicePublishedApiDetail,
|
12397
12503
|
"DescribeWorkflowTaskCount": doDescribeWorkflowTaskCount,
|
12398
12504
|
"DescribeIntegrationStatisticsRecordsTrend": doDescribeIntegrationStatisticsRecordsTrend,
|
12399
12505
|
"DescribeIntegrationStatisticsInstanceTrend": doDescribeIntegrationStatisticsInstanceTrend,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1216.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.1216
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|
@@ -89,6 +89,9 @@ output: 可选参数,请求回包输出格式,支持[json table text]三
|
|
89
89
|
tccli configure set secretId AKIDwLw1234MMfPRle2g9nR2OTI787aBCDP
|
90
90
|
tccli configure set region ap-guangzhou output json language zh-CN
|
91
91
|
|
92
|
+
# set-root-domain命令可以将配置文件中的endpoint的根域名全部设置为同一值。
|
93
|
+
tccli configure set-root-domain internal.tencentcloudapi.com
|
94
|
+
|
92
95
|
# get子命令用于获取配置信息。
|
93
96
|
tccli configure get secretKey
|
94
97
|
secretKey = OxXj7khcV1234dQSSYNABcdCc1LiArFd
|
@@ -122,6 +125,7 @@ tccli configure set region ap-guangzhou output json language zh-CN --profile te
|
|
122
125
|
tccli configure get secretKey --profile test
|
123
126
|
tccli configure list --profile test
|
124
127
|
tccli configure remove --profile test
|
128
|
+
tccli configure set-root-domain internal.tencentcloudapi.com --profile test
|
125
129
|
|
126
130
|
|
127
131
|
在调用接口时指定账户(以cvm DescribeZones接口为例)。
|