tccli 3.0.1146.1__py2.py3-none-any.whl → 3.0.1148.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/aiart/aiart_client.py +53 -0
- tccli/services/aiart/v20221229/api.json +82 -2
- tccli/services/aiart/v20221229/examples.json +12 -4
- tccli/services/asr/v20190614/api.json +6 -6
- tccli/services/cdb/v20170320/api.json +14 -10
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/dcdb/v20180411/api.json +2 -0
- tccli/services/dnspod/v20210323/api.json +9 -0
- tccli/services/goosefs/v20220519/api.json +92 -12
- tccli/services/iotexplorer/v20190423/api.json +1 -1
- tccli/services/ivld/ivld_client.py +163 -4
- tccli/services/ivld/v20210903/api.json +443 -0
- tccli/services/ivld/v20210903/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +33 -31
- tccli/services/lighthouse/v20200324/examples.json +3 -3
- tccli/services/live/v20180801/api.json +7 -5
- tccli/services/lke/lke_client.py +53 -0
- tccli/services/lke/v20231130/api.json +160 -1
- tccli/services/lke/v20231130/examples.json +10 -2
- tccli/services/mna/mna_client.py +485 -8
- tccli/services/mna/v20210119/api.json +743 -21
- tccli/services/mna/v20210119/examples.json +72 -0
- tccli/services/mps/v20190612/api.json +31 -10
- tccli/services/postgres/v20170312/api.json +7 -7
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/tdcpg/v20211118/api.json +4 -4
- tccli/services/tdcpg/v20211118/examples.json +2 -2
- tccli/services/tdmq/v20200217/api.json +8 -8
- tccli/services/tdmq/v20200217/examples.json +1 -1
- tccli/services/tke/v20180525/api.json +3 -3
- tccli/services/trtc/trtc_client.py +163 -4
- tccli/services/trtc/v20190722/api.json +311 -0
- tccli/services/trtc/v20190722/examples.json +24 -0
- tccli/services/tse/v20201207/api.json +19 -0
- tccli/services/tsf/tsf_client.py +110 -4
- tccli/services/tsf/v20180326/api.json +142 -0
- tccli/services/tsf/v20180326/examples.json +16 -0
- tccli/services/vpc/v20170312/api.json +144 -26
- tccli/services/vpc/v20170312/examples.json +10 -2
- tccli/services/vpc/vpc_client.py +69 -16
- tccli/services/waf/v20180125/api.json +2 -2
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/RECORD +48 -48
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1146.1.dist-info → tccli-3.0.1148.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/tsf/tsf_client.py
CHANGED
@@ -7505,6 +7505,58 @@ def doDescribePathRewrites(args, parsed_globals):
|
|
7505
7505
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7506
7506
|
|
7507
7507
|
|
7508
|
+
def doDescribeGatewayApis(args, parsed_globals):
|
7509
|
+
g_param = parse_global_arg(parsed_globals)
|
7510
|
+
|
7511
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
7512
|
+
cred = credential.CVMRoleCredential()
|
7513
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
7514
|
+
cred = credential.STSAssumeRoleCredential(
|
7515
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
7516
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
7517
|
+
)
|
7518
|
+
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):
|
7519
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
7520
|
+
else:
|
7521
|
+
cred = credential.Credential(
|
7522
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
7523
|
+
)
|
7524
|
+
http_profile = HttpProfile(
|
7525
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
7526
|
+
reqMethod="POST",
|
7527
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
7528
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
7529
|
+
)
|
7530
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
7531
|
+
if g_param[OptionsDefine.Language]:
|
7532
|
+
profile.language = g_param[OptionsDefine.Language]
|
7533
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
7534
|
+
client = mod.TsfClient(cred, g_param[OptionsDefine.Region], profile)
|
7535
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
7536
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
7537
|
+
model = models.DescribeGatewayApisRequest()
|
7538
|
+
model.from_json_string(json.dumps(args))
|
7539
|
+
start_time = time.time()
|
7540
|
+
while True:
|
7541
|
+
rsp = client.DescribeGatewayApis(model)
|
7542
|
+
result = rsp.to_json_string()
|
7543
|
+
try:
|
7544
|
+
json_obj = json.loads(result)
|
7545
|
+
except TypeError as e:
|
7546
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
7547
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
7548
|
+
break
|
7549
|
+
cur_time = time.time()
|
7550
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
7551
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
7552
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
7553
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
7554
|
+
else:
|
7555
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
7556
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
7557
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
7558
|
+
|
7559
|
+
|
7508
7560
|
def doDescribeDeliveryConfigs(args, parsed_globals):
|
7509
7561
|
g_param = parse_global_arg(parsed_globals)
|
7510
7562
|
|
@@ -9845,7 +9897,7 @@ def doDraftApiGroup(args, parsed_globals):
|
|
9845
9897
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
9846
9898
|
|
9847
9899
|
|
9848
|
-
def
|
9900
|
+
def doModifyProgram(args, parsed_globals):
|
9849
9901
|
g_param = parse_global_arg(parsed_globals)
|
9850
9902
|
|
9851
9903
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -9874,11 +9926,11 @@ def doDescribeGatewayApis(args, parsed_globals):
|
|
9874
9926
|
client = mod.TsfClient(cred, g_param[OptionsDefine.Region], profile)
|
9875
9927
|
client._sdkVersion += ("_CLI_" + __version__)
|
9876
9928
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
9877
|
-
model = models.
|
9929
|
+
model = models.ModifyProgramRequest()
|
9878
9930
|
model.from_json_string(json.dumps(args))
|
9879
9931
|
start_time = time.time()
|
9880
9932
|
while True:
|
9881
|
-
rsp = client.
|
9933
|
+
rsp = client.ModifyProgram(model)
|
9882
9934
|
result = rsp.to_json_string()
|
9883
9935
|
try:
|
9884
9936
|
json_obj = json.loads(result)
|
@@ -10313,6 +10365,58 @@ def doDeleteConfig(args, parsed_globals):
|
|
10313
10365
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
10314
10366
|
|
10315
10367
|
|
10368
|
+
def doCreateProgram(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.TsfClient(cred, g_param[OptionsDefine.Region], profile)
|
10395
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
10396
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
10397
|
+
model = models.CreateProgramRequest()
|
10398
|
+
model.from_json_string(json.dumps(args))
|
10399
|
+
start_time = time.time()
|
10400
|
+
while True:
|
10401
|
+
rsp = client.CreateProgram(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 doModifyContainerReplicas(args, parsed_globals):
|
10317
10421
|
g_param = parse_global_arg(parsed_globals)
|
10318
10422
|
|
@@ -11664,6 +11768,7 @@ ACTION_MAP = {
|
|
11664
11768
|
"StopGroup": doStopGroup,
|
11665
11769
|
"DescribeGatewayMonitorOverview": doDescribeGatewayMonitorOverview,
|
11666
11770
|
"DescribePathRewrites": doDescribePathRewrites,
|
11771
|
+
"DescribeGatewayApis": doDescribeGatewayApis,
|
11667
11772
|
"DescribeDeliveryConfigs": doDescribeDeliveryConfigs,
|
11668
11773
|
"UpdateApiGroup": doUpdateApiGroup,
|
11669
11774
|
"ChangeApiUsableStatus": doChangeApiUsableStatus,
|
@@ -11709,7 +11814,7 @@ ACTION_MAP = {
|
|
11709
11814
|
"DeleteUnitNamespaces": doDeleteUnitNamespaces,
|
11710
11815
|
"DescribeInstances": doDescribeInstances,
|
11711
11816
|
"DraftApiGroup": doDraftApiGroup,
|
11712
|
-
"
|
11817
|
+
"ModifyProgram": doModifyProgram,
|
11713
11818
|
"DescribeMicroservices": doDescribeMicroservices,
|
11714
11819
|
"DescribeApiVersions": doDescribeApiVersions,
|
11715
11820
|
"DescribeGroup": doDescribeGroup,
|
@@ -11718,6 +11823,7 @@ ACTION_MAP = {
|
|
11718
11823
|
"DescribeDeliveryConfig": doDescribeDeliveryConfig,
|
11719
11824
|
"DescribeEnabledUnitRule": doDescribeEnabledUnitRule,
|
11720
11825
|
"DeleteConfig": doDeleteConfig,
|
11826
|
+
"CreateProgram": doCreateProgram,
|
11721
11827
|
"ModifyContainerReplicas": doModifyContainerReplicas,
|
11722
11828
|
"UpdateHealthCheckSettings": doUpdateHealthCheckSettings,
|
11723
11829
|
"DescribeInvocationMetricDataDimension": doDescribeInvocationMetricDataDimension,
|
@@ -210,6 +210,13 @@
|
|
210
210
|
"output": "CreatePathRewritesWithDetailRespResponse",
|
211
211
|
"status": "online"
|
212
212
|
},
|
213
|
+
"CreateProgram": {
|
214
|
+
"document": "创建数据集",
|
215
|
+
"input": "CreateProgramRequest",
|
216
|
+
"name": "创建数据集",
|
217
|
+
"output": "CreateProgramResponse",
|
218
|
+
"status": "online"
|
219
|
+
},
|
213
220
|
"CreatePublicConfig": {
|
214
221
|
"document": "创建公共配置项",
|
215
222
|
"input": "CreatePublicConfigRequest",
|
@@ -1274,6 +1281,13 @@
|
|
1274
1281
|
"output": "ModifyPathRewriteResponse",
|
1275
1282
|
"status": "online"
|
1276
1283
|
},
|
1284
|
+
"ModifyProgram": {
|
1285
|
+
"document": "更新数据集",
|
1286
|
+
"input": "ModifyProgramRequest",
|
1287
|
+
"name": "更新数据集",
|
1288
|
+
"output": "ModifyProgramResponse",
|
1289
|
+
"status": "online"
|
1290
|
+
},
|
1277
1291
|
"ModifyTask": {
|
1278
1292
|
"document": "修改任务",
|
1279
1293
|
"input": "ModifyTaskRequest",
|
@@ -8386,6 +8400,61 @@
|
|
8386
8400
|
],
|
8387
8401
|
"type": "object"
|
8388
8402
|
},
|
8403
|
+
"CreateProgramRequest": {
|
8404
|
+
"document": "CreateProgram请求参数结构体",
|
8405
|
+
"members": [
|
8406
|
+
{
|
8407
|
+
"disabled": false,
|
8408
|
+
"document": "数据集名称",
|
8409
|
+
"example": "无",
|
8410
|
+
"member": "string",
|
8411
|
+
"name": "ProgramName",
|
8412
|
+
"required": true,
|
8413
|
+
"type": "string"
|
8414
|
+
},
|
8415
|
+
{
|
8416
|
+
"disabled": false,
|
8417
|
+
"document": "数据集描述",
|
8418
|
+
"example": "无",
|
8419
|
+
"member": "string",
|
8420
|
+
"name": "ProgramDesc",
|
8421
|
+
"required": false,
|
8422
|
+
"type": "string"
|
8423
|
+
},
|
8424
|
+
{
|
8425
|
+
"disabled": false,
|
8426
|
+
"document": "数据项列表,传入null或空数组时不新增",
|
8427
|
+
"example": "无",
|
8428
|
+
"member": "ProgramItem",
|
8429
|
+
"name": "ProgramItemList",
|
8430
|
+
"required": false,
|
8431
|
+
"type": "list"
|
8432
|
+
}
|
8433
|
+
],
|
8434
|
+
"type": "object"
|
8435
|
+
},
|
8436
|
+
"CreateProgramResponse": {
|
8437
|
+
"document": "CreateProgram返回参数结构体",
|
8438
|
+
"members": [
|
8439
|
+
{
|
8440
|
+
"disabled": false,
|
8441
|
+
"document": "true: 创建成功;false: 创建失败",
|
8442
|
+
"example": "无",
|
8443
|
+
"member": "bool",
|
8444
|
+
"name": "Result",
|
8445
|
+
"output_required": true,
|
8446
|
+
"type": "bool",
|
8447
|
+
"value_allowed_null": false
|
8448
|
+
},
|
8449
|
+
{
|
8450
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8451
|
+
"member": "string",
|
8452
|
+
"name": "RequestId",
|
8453
|
+
"type": "string"
|
8454
|
+
}
|
8455
|
+
],
|
8456
|
+
"type": "object"
|
8457
|
+
},
|
8389
8458
|
"CreatePublicConfigRequest": {
|
8390
8459
|
"document": "CreatePublicConfig请求参数结构体",
|
8391
8460
|
"members": [
|
@@ -22582,6 +22651,79 @@
|
|
22582
22651
|
],
|
22583
22652
|
"type": "object"
|
22584
22653
|
},
|
22654
|
+
"ModifyProgramRequest": {
|
22655
|
+
"document": "ModifyProgram请求参数结构体",
|
22656
|
+
"members": [
|
22657
|
+
{
|
22658
|
+
"disabled": false,
|
22659
|
+
"document": "数据集ID",
|
22660
|
+
"example": "无",
|
22661
|
+
"member": "string",
|
22662
|
+
"name": "ProgramId",
|
22663
|
+
"required": true,
|
22664
|
+
"type": "string"
|
22665
|
+
},
|
22666
|
+
{
|
22667
|
+
"disabled": false,
|
22668
|
+
"document": "数据集名称,不传入时不更新",
|
22669
|
+
"example": "无",
|
22670
|
+
"member": "string",
|
22671
|
+
"name": "ProgramName",
|
22672
|
+
"required": false,
|
22673
|
+
"type": "string"
|
22674
|
+
},
|
22675
|
+
{
|
22676
|
+
"disabled": false,
|
22677
|
+
"document": "数据集描述,不传入时不更新",
|
22678
|
+
"example": "无",
|
22679
|
+
"member": "string",
|
22680
|
+
"name": "ProgramDesc",
|
22681
|
+
"required": false,
|
22682
|
+
"type": "string"
|
22683
|
+
},
|
22684
|
+
{
|
22685
|
+
"disabled": false,
|
22686
|
+
"document": "数据项列表,传入null不更新,传入空数组全量删除",
|
22687
|
+
"example": "无",
|
22688
|
+
"member": "ProgramItem",
|
22689
|
+
"name": "ProgramItemList",
|
22690
|
+
"required": false,
|
22691
|
+
"type": "list"
|
22692
|
+
},
|
22693
|
+
{
|
22694
|
+
"disabled": false,
|
22695
|
+
"document": "ProgramItemList是否是空数组",
|
22696
|
+
"example": "无",
|
22697
|
+
"member": "bool",
|
22698
|
+
"name": "EmptyProgramItemList",
|
22699
|
+
"required": false,
|
22700
|
+
"type": "bool"
|
22701
|
+
}
|
22702
|
+
],
|
22703
|
+
"type": "object"
|
22704
|
+
},
|
22705
|
+
"ModifyProgramResponse": {
|
22706
|
+
"document": "ModifyProgram返回参数结构体",
|
22707
|
+
"members": [
|
22708
|
+
{
|
22709
|
+
"disabled": false,
|
22710
|
+
"document": "true: 更新成功;false: 更新失败",
|
22711
|
+
"example": "1",
|
22712
|
+
"member": "bool",
|
22713
|
+
"name": "Result",
|
22714
|
+
"output_required": true,
|
22715
|
+
"type": "bool",
|
22716
|
+
"value_allowed_null": false
|
22717
|
+
},
|
22718
|
+
{
|
22719
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
22720
|
+
"member": "string",
|
22721
|
+
"name": "RequestId",
|
22722
|
+
"type": "string"
|
22723
|
+
}
|
22724
|
+
],
|
22725
|
+
"type": "object"
|
22726
|
+
},
|
22585
22727
|
"ModifyTaskRequest": {
|
22586
22728
|
"document": "ModifyTask请求参数结构体",
|
22587
22729
|
"members": [
|
@@ -240,6 +240,14 @@
|
|
240
240
|
"title": "批量创建路径重写"
|
241
241
|
}
|
242
242
|
],
|
243
|
+
"CreateProgram": [
|
244
|
+
{
|
245
|
+
"document": "",
|
246
|
+
"input": "POST / HTTP/1.1\nHost: tsf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProgram\n<公共请求参数>\n\n{\n \"ProgramName\": \"abc\",\n \"ProgramDesc\": \"abc\",\n \"ProgramItemList\": [\n {\n \"ProgramItemId\": \"abc\",\n \"Resource\": {\n \"ResourceId\": \"abc\",\n \"ResourceCode\": \"abc\",\n \"ResourceName\": \"abc\",\n \"ServiceCode\": \"abc\",\n \"ResourceAction\": \"abc\",\n \"IdField\": \"abc\",\n \"NameField\": \"abc\",\n \"SelectIdsField\": \"abc\",\n \"CreationTime\": 0,\n \"LastUpdateTime\": 0,\n \"DeleteFlag\": true,\n \"ResourceDesc\": \"abc\",\n \"CanSelectAll\": true,\n \"SearchWordField\": \"abc\",\n \"Index\": 0\n },\n \"ValueList\": [\n \"abc\"\n ],\n \"IsAll\": true,\n \"CreationTime\": 0,\n \"LastUpdateTime\": 0,\n \"DeleteFlag\": true,\n \"ProgramId\": \"abc\"\n }\n ]\n}",
|
247
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3b15ccd0-650a-4d9a-96d4-db8a55579d38\",\n \"Result\": true\n }\n}",
|
248
|
+
"title": "创建数据集"
|
249
|
+
}
|
250
|
+
],
|
243
251
|
"CreatePublicConfig": [
|
244
252
|
{
|
245
253
|
"document": "",
|
@@ -1474,6 +1482,14 @@
|
|
1474
1482
|
"title": "修改路径重写顺序"
|
1475
1483
|
}
|
1476
1484
|
],
|
1485
|
+
"ModifyProgram": [
|
1486
|
+
{
|
1487
|
+
"document": "",
|
1488
|
+
"input": "POST / HTTP/1.1\nHost: tsf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyProgram\n<公共请求参数>\n\n{\n \"ProgramId\": \"abc\",\n \"ProgramName\": \"abc\",\n \"ProgramDesc\": \"abc\",\n \"ProgramItemList\": [\n {\n \"ProgramItemId\": \"abc\",\n \"Resource\": {\n \"ResourceId\": \"abc\",\n \"ResourceCode\": \"abc\",\n \"ResourceName\": \"abc\",\n \"ServiceCode\": \"abc\",\n \"ResourceAction\": \"abc\",\n \"IdField\": \"abc\",\n \"NameField\": \"abc\",\n \"SelectIdsField\": \"abc\",\n \"CreationTime\": 0,\n \"LastUpdateTime\": 0,\n \"DeleteFlag\": true,\n \"ResourceDesc\": \"abc\",\n \"CanSelectAll\": true,\n \"SearchWordField\": \"abc\",\n \"Index\": 0\n },\n \"ValueList\": [\n \"abc\"\n ],\n \"IsAll\": true,\n \"CreationTime\": 0,\n \"LastUpdateTime\": 0,\n \"DeleteFlag\": true,\n \"ProgramId\": \"abc\"\n }\n ],\n \"EmptyProgramItemList\": true\n}",
|
1489
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3b15ccd0-650a-4d9a-96d4-db8a55579d38\",\n \"Result\": true\n }\n}",
|
1490
|
+
"title": "更新数据集"
|
1491
|
+
}
|
1492
|
+
],
|
1477
1493
|
"ModifyTask": [
|
1478
1494
|
{
|
1479
1495
|
"document": "修改任务",
|