tccli 3.0.1117.1__py2.py3-none-any.whl → 3.0.1119.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 CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1117.1'
1
+ __version__ = '3.0.1119.1'
@@ -6871,7 +6871,7 @@
6871
6871
  },
6872
6872
  {
6873
6873
  "disabled": false,
6874
- "document": "日志时间, 需按照 UTC+8 时区将日志中的Unix时间戳转换为 YYYY-mm-dd HH:MM:SS.FFF 格式的字符串。",
6874
+ "document": "日志时间, 即SearchLog接口返回信息中Results结构体中的Time,需按照 UTC+8 时区将该毫秒级Unix时间戳转换为 YYYY-mm-dd HH:MM:SS.FFF 格式的字符串。",
6875
6875
  "example": "2021-04-25 14:25:00.000",
6876
6876
  "member": "string",
6877
6877
  "name": "BTime",
@@ -6880,7 +6880,7 @@
6880
6880
  },
6881
6881
  {
6882
6882
  "disabled": false,
6883
- "document": "日志包序号。SearchLog接口返回信息中Results结构体中的PkgId。",
6883
+ "document": "日志包序号,即SearchLog接口返回信息中Results结构体中的PkgId。",
6884
6884
  "example": "528C1318606EFEB8-1A7",
6885
6885
  "member": "string",
6886
6886
  "name": "PkgId",
@@ -6889,7 +6889,7 @@
6889
6889
  },
6890
6890
  {
6891
6891
  "disabled": false,
6892
- "document": "日志包内一条日志的序号。\nSearchLog接口返回信息中Results结构中的PkgLogId。",
6892
+ "document": "日志包内一条日志的序号,即SearchLog接口返回信息中Results结构中的PkgLogId。",
6893
6893
  "example": "65536",
6894
6894
  "member": "int64",
6895
6895
  "name": "PkgLogId",
@@ -6913,6 +6913,33 @@
6913
6913
  "name": "NextLogs",
6914
6914
  "required": false,
6915
6915
  "type": "int"
6916
+ },
6917
+ {
6918
+ "disabled": false,
6919
+ "document": "检索语句,对日志上下文进行过滤,最大长度为12KB\n语句由 <a href=\"https://cloud.tencent.com/document/product/614/47044\" target=\"_blank\">[检索条件]</a>构成,不支持SQL语句",
6920
+ "example": "http_status:200",
6921
+ "member": "string",
6922
+ "name": "Query",
6923
+ "required": false,
6924
+ "type": "string"
6925
+ },
6926
+ {
6927
+ "disabled": false,
6928
+ "document": "上下文检索的开始时间,单位:毫秒级时间戳\n注意:\n- From为空时,表示上下文检索的开始时间不做限制\n- From和To非空时,From < To\n- 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域",
6929
+ "example": "1716532075000",
6930
+ "member": "uint64",
6931
+ "name": "From",
6932
+ "required": false,
6933
+ "type": "int"
6934
+ },
6935
+ {
6936
+ "disabled": false,
6937
+ "document": "上下文检索的结束时间,单位:毫秒级时间戳。\n注意:\n- To为空时,表示上下文检索的结束时间不做限制\n- From和To非空时,From < To\n- 暂时仅支持上海 / 弗吉尼亚/ 新加坡地域",
6938
+ "example": "1716532085000",
6939
+ "member": "uint64",
6940
+ "name": "To",
6941
+ "required": false,
6942
+ "type": "int"
6916
6943
  }
6917
6944
  ],
6918
6945
  "type": "object"
@@ -1681,7 +1681,7 @@ def doModifyRecordStatus(args, parsed_globals):
1681
1681
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1682
1682
 
1683
1683
 
1684
- def doDescribeDomain(args, parsed_globals):
1684
+ def doModifyDomainToGroup(args, parsed_globals):
1685
1685
  g_param = parse_global_arg(parsed_globals)
1686
1686
 
1687
1687
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1710,11 +1710,11 @@ def doDescribeDomain(args, parsed_globals):
1710
1710
  client = mod.DnspodClient(cred, g_param[OptionsDefine.Region], profile)
1711
1711
  client._sdkVersion += ("_CLI_" + __version__)
1712
1712
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1713
- model = models.DescribeDomainRequest()
1713
+ model = models.ModifyDomainToGroupRequest()
1714
1714
  model.from_json_string(json.dumps(args))
1715
1715
  start_time = time.time()
1716
1716
  while True:
1717
- rsp = client.DescribeDomain(model)
1717
+ rsp = client.ModifyDomainToGroup(model)
1718
1718
  result = rsp.to_json_string()
1719
1719
  try:
1720
1720
  json_obj = json.loads(result)
@@ -2045,6 +2045,58 @@ def doDescribeRecordType(args, parsed_globals):
2045
2045
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2046
2046
 
2047
2047
 
2048
+ def doDeleteRecordBatch(args, parsed_globals):
2049
+ g_param = parse_global_arg(parsed_globals)
2050
+
2051
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2052
+ cred = credential.CVMRoleCredential()
2053
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2054
+ cred = credential.STSAssumeRoleCredential(
2055
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2056
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2057
+ )
2058
+ 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):
2059
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2060
+ else:
2061
+ cred = credential.Credential(
2062
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2063
+ )
2064
+ http_profile = HttpProfile(
2065
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2066
+ reqMethod="POST",
2067
+ endpoint=g_param[OptionsDefine.Endpoint],
2068
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2069
+ )
2070
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2071
+ if g_param[OptionsDefine.Language]:
2072
+ profile.language = g_param[OptionsDefine.Language]
2073
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2074
+ client = mod.DnspodClient(cred, g_param[OptionsDefine.Region], profile)
2075
+ client._sdkVersion += ("_CLI_" + __version__)
2076
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2077
+ model = models.DeleteRecordBatchRequest()
2078
+ model.from_json_string(json.dumps(args))
2079
+ start_time = time.time()
2080
+ while True:
2081
+ rsp = client.DeleteRecordBatch(model)
2082
+ result = rsp.to_json_string()
2083
+ try:
2084
+ json_obj = json.loads(result)
2085
+ except TypeError as e:
2086
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2087
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2088
+ break
2089
+ cur_time = time.time()
2090
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2091
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2092
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2093
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2094
+ else:
2095
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2096
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2097
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2098
+
2099
+
2048
2100
  def doDescribeRecordSnapshotRollbackResult(args, parsed_globals):
2049
2101
  g_param = parse_global_arg(parsed_globals)
2050
2102
 
@@ -2357,7 +2409,7 @@ def doModifyPackageAutoRenew(args, parsed_globals):
2357
2409
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2358
2410
 
2359
2411
 
2360
- def doDeleteRecordBatch(args, parsed_globals):
2412
+ def doModifySnapshotConfig(args, parsed_globals):
2361
2413
  g_param = parse_global_arg(parsed_globals)
2362
2414
 
2363
2415
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2386,11 +2438,11 @@ def doDeleteRecordBatch(args, parsed_globals):
2386
2438
  client = mod.DnspodClient(cred, g_param[OptionsDefine.Region], profile)
2387
2439
  client._sdkVersion += ("_CLI_" + __version__)
2388
2440
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2389
- model = models.DeleteRecordBatchRequest()
2441
+ model = models.ModifySnapshotConfigRequest()
2390
2442
  model.from_json_string(json.dumps(args))
2391
2443
  start_time = time.time()
2392
2444
  while True:
2393
- rsp = client.DeleteRecordBatch(model)
2445
+ rsp = client.ModifySnapshotConfig(model)
2394
2446
  result = rsp.to_json_string()
2395
2447
  try:
2396
2448
  json_obj = json.loads(result)
@@ -2461,7 +2513,7 @@ def doModifyRecord(args, parsed_globals):
2461
2513
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2462
2514
 
2463
2515
 
2464
- def doCreateRecordGroup(args, parsed_globals):
2516
+ def doDescribeDomain(args, parsed_globals):
2465
2517
  g_param = parse_global_arg(parsed_globals)
2466
2518
 
2467
2519
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2490,11 +2542,11 @@ def doCreateRecordGroup(args, parsed_globals):
2490
2542
  client = mod.DnspodClient(cred, g_param[OptionsDefine.Region], profile)
2491
2543
  client._sdkVersion += ("_CLI_" + __version__)
2492
2544
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2493
- model = models.CreateRecordGroupRequest()
2545
+ model = models.DescribeDomainRequest()
2494
2546
  model.from_json_string(json.dumps(args))
2495
2547
  start_time = time.time()
2496
2548
  while True:
2497
- rsp = client.CreateRecordGroup(model)
2549
+ rsp = client.DescribeDomain(model)
2498
2550
  result = rsp.to_json_string()
2499
2551
  try:
2500
2552
  json_obj = json.loads(result)
@@ -2773,7 +2825,7 @@ def doCreateDomainGroup(args, parsed_globals):
2773
2825
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2774
2826
 
2775
2827
 
2776
- def doModifySnapshotConfig(args, parsed_globals):
2828
+ def doCreateRecordGroup(args, parsed_globals):
2777
2829
  g_param = parse_global_arg(parsed_globals)
2778
2830
 
2779
2831
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2802,11 +2854,11 @@ def doModifySnapshotConfig(args, parsed_globals):
2802
2854
  client = mod.DnspodClient(cred, g_param[OptionsDefine.Region], profile)
2803
2855
  client._sdkVersion += ("_CLI_" + __version__)
2804
2856
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2805
- model = models.ModifySnapshotConfigRequest()
2857
+ model = models.CreateRecordGroupRequest()
2806
2858
  model.from_json_string(json.dumps(args))
2807
2859
  start_time = time.time()
2808
2860
  while True:
2809
- rsp = client.ModifySnapshotConfig(model)
2861
+ rsp = client.CreateRecordGroup(model)
2810
2862
  result = rsp.to_json_string()
2811
2863
  try:
2812
2864
  json_obj = json.loads(result)
@@ -3856,28 +3908,29 @@ ACTION_MAP = {
3856
3908
  "DeleteShareDomain": doDeleteShareDomain,
3857
3909
  "ModifyRecordGroup": doModifyRecordGroup,
3858
3910
  "ModifyRecordStatus": doModifyRecordStatus,
3859
- "DescribeDomain": doDescribeDomain,
3911
+ "ModifyDomainToGroup": doModifyDomainToGroup,
3860
3912
  "ModifyDynamicDNS": doModifyDynamicDNS,
3861
3913
  "CreateRecordBatch": doCreateRecordBatch,
3862
3914
  "CreateDomainCustomLine": doCreateDomainCustomLine,
3863
3915
  "DescribeUserDetail": doDescribeUserDetail,
3864
3916
  "RollbackSnapshot": doRollbackSnapshot,
3865
3917
  "DescribeRecordType": doDescribeRecordType,
3918
+ "DeleteRecordBatch": doDeleteRecordBatch,
3866
3919
  "DescribeRecordSnapshotRollbackResult": doDescribeRecordSnapshotRollbackResult,
3867
3920
  "DescribeRecordGroupList": doDescribeRecordGroupList,
3868
3921
  "DescribeRecordLineList": doDescribeRecordLineList,
3869
3922
  "DescribeVASStatistic": doDescribeVASStatistic,
3870
3923
  "DescribeDomainAnalytics": doDescribeDomainAnalytics,
3871
3924
  "ModifyPackageAutoRenew": doModifyPackageAutoRenew,
3872
- "DeleteRecordBatch": doDeleteRecordBatch,
3925
+ "ModifySnapshotConfig": doModifySnapshotConfig,
3873
3926
  "ModifyRecord": doModifyRecord,
3874
- "CreateRecordGroup": doCreateRecordGroup,
3927
+ "DescribeDomain": doDescribeDomain,
3875
3928
  "DescribeRecord": doDescribeRecord,
3876
3929
  "ModifyDomainRemark": doModifyDomainRemark,
3877
3930
  "DescribeRecordExistExceptDefaultNS": doDescribeRecordExistExceptDefaultNS,
3878
3931
  "ModifyDomainOwner": doModifyDomainOwner,
3879
3932
  "CreateDomainGroup": doCreateDomainGroup,
3880
- "ModifySnapshotConfig": doModifySnapshotConfig,
3933
+ "CreateRecordGroup": doCreateRecordGroup,
3881
3934
  "DeleteDomainAlias": doDeleteDomainAlias,
3882
3935
  "DescribeBatchTask": doDescribeBatchTask,
3883
3936
  "CheckRecordSnapshotRollback": doCheckRecordSnapshotRollback,
@@ -399,6 +399,13 @@
399
399
  "output": "ModifyDomainStatusResponse",
400
400
  "status": "online"
401
401
  },
402
+ "ModifyDomainToGroup": {
403
+ "document": "修改域名所属分组",
404
+ "input": "ModifyDomainToGroupRequest",
405
+ "name": "修改域名所属分组",
406
+ "output": "ModifyDomainToGroupResponse",
407
+ "status": "online"
408
+ },
402
409
  "ModifyDomainUnlock": {
403
410
  "document": "域名锁定解锁",
404
411
  "input": "ModifyDomainUnlockRequest",
@@ -6409,6 +6416,51 @@
6409
6416
  ],
6410
6417
  "type": "object"
6411
6418
  },
6419
+ "ModifyDomainToGroupRequest": {
6420
+ "document": "ModifyDomainToGroup请求参数结构体",
6421
+ "members": [
6422
+ {
6423
+ "disabled": false,
6424
+ "document": "域名",
6425
+ "example": "myfm.cc",
6426
+ "member": "string",
6427
+ "name": "Domain",
6428
+ "required": true,
6429
+ "type": "string"
6430
+ },
6431
+ {
6432
+ "disabled": false,
6433
+ "document": "域名分组ID",
6434
+ "example": "32424",
6435
+ "member": "int64",
6436
+ "name": "GroupId",
6437
+ "required": true,
6438
+ "type": "int"
6439
+ },
6440
+ {
6441
+ "disabled": false,
6442
+ "document": "域名ID,域名ID,参数 DomainId 优先级比参数 Domain 高,如果传递参数 DomainId 将忽略参数 Domain",
6443
+ "example": "14535",
6444
+ "member": "int64",
6445
+ "name": "DomainId",
6446
+ "required": false,
6447
+ "type": "int"
6448
+ }
6449
+ ],
6450
+ "type": "object"
6451
+ },
6452
+ "ModifyDomainToGroupResponse": {
6453
+ "document": "ModifyDomainToGroup返回参数结构体",
6454
+ "members": [
6455
+ {
6456
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6457
+ "member": "string",
6458
+ "name": "RequestId",
6459
+ "type": "string"
6460
+ }
6461
+ ],
6462
+ "type": "object"
6463
+ },
6412
6464
  "ModifyDomainUnlockRequest": {
6413
6465
  "document": "ModifyDomainUnlock请求参数结构体",
6414
6466
  "members": [
@@ -474,6 +474,14 @@
474
474
  "title": "修改域名状态"
475
475
  }
476
476
  ],
477
+ "ModifyDomainToGroup": [
478
+ {
479
+ "document": " ",
480
+ "input": "POST / HTTP/1.1\nHost: dnspod.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDomainToGroup\n<公共请求参数>\n\n{\n \"Domain\": \"myfm.cc\",\n \"GroupId\": 176767\n}",
481
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ab4f1426-ea15-42ea-8183-dc1b44151166\"\n }\n}",
482
+ "title": "修改域名所属分组"
483
+ }
484
+ ],
477
485
  "ModifyDomainUnlock": [
478
486
  {
479
487
  "document": " ",
@@ -50,7 +50,7 @@
50
50
  "status": "online"
51
51
  },
52
52
  "CreateBatchSignUrl": {
53
- "document": "通过此接口,可以创建小程序批量签署链接,个人/企业员工可通过此链接跳转至小程序进行批量签署。请确保生成链接时的身份信息与签署合同参与方的信息保持一致。\n\n注意事项:\n- 使用此接口生成链接,需要贵企业先开通 <font color=\"red\">使用手机号验证签署方身份 </font>功能。您可以在 <b>【腾讯电子签网页端】->【企业设置】->【拓展服务】</b>中找到该功能。\n- 生成批量签署链接时,<font color=\"red\">合同目标参与方的状态必须为<b>待签署</b>状态</font>。签署人点击链接后需要输入短信验证码才能查看合同内容。\n- 企业员工批量签署链接:需要传入签署方所在企业名称,用户名字和手机号(或者身份证件信息)参数来生成签署链接。<font color=\"red\">该签署方企业必须已完成腾讯电子签企业认证</font>\n- 个人批量签署链接:需要传入签署方用户名字和手机号(或者身份证件信息)参数来生成签署链接。<font color=\"red\">签名区仅支持手写签名</font>",
53
+ "document": "通过此接口,可以创建小程序批量签署链接,个人/企业员工可通过此链接跳转至小程序进行批量签署。请确保生成链接时的身份信息与签署合同参与方的信息保持一致。\n\n注意事项:\n- 使用此接口生成链接,需要贵企业先开通 <font color=\"red\">使用手机号验证签署方身份 </font>功能。您可以在 <b>【腾讯电子签网页端】->【企业设置】->【拓展服务】</b>中找到该功能。\n- 生成批量签署链接时,<font color=\"red\">合同目标参与方的状态必须为<b>待签署</b>状态</font>。签署人点击链接后需要输入短信验证码才能查看合同内容。\n- 企业员工批量签署链接:需要传入签署方所在企业名称,用户名字和手机号(或者身份证件信息)参数来生成签署链接。<font color=\"red\">该签署方企业必须已完成腾讯电子签企业认证</font>\n- 个人批量签署链接:需要传入签署方用户名字和手机号(或者身份证件信息)参数来生成签署链接。个人批量签署进行的合同的签名区, 全部变成<font color=\"red\">手写签名</font>(不管合同里边设置的签名限制)来进行。",
54
54
  "input": "CreateBatchSignUrlRequest",
55
55
  "name": "获取跳转至腾讯电子签小程序的批量签署链接",
56
56
  "output": "CreateBatchSignUrlResponse",
@@ -43,7 +43,7 @@
43
43
  "status": "online"
44
44
  },
45
45
  "ChannelCreateBatchSignUrl": {
46
- "document": "通过此接口,创建小程序批量签署链接,个人/企业员工点击此链接即可跳转小程序进行批量签署。\n请确保生成链接时候的身份信息和签署合同参与方的信息保持一致。\n\n注:\n- 使用此接口生成链接,需要提前开通 `使用手机号验证签署方身份` 功能,在 `腾讯电子签网页端-企业设置-拓展服务` 中可以找到。\n- 参与人点击链接后需短信验证码才能查看合同内容。\n- 企业用户批量签署,需要传OrganizationName(参与方所在企业名称)参数生成签署链接,`请确保此企业已完成腾讯电子签企业认证`。暂时仅支持给`自建应用集成企业` 生成员工批签链接,不支持子客企业。\n- 生成批量签署链接时,合同目标参与方状态需为`待签署`状态。\n- 个人批量签署,签名区`仅支持手写签名`。",
46
+ "document": "通过此接口,创建小程序批量签署链接,个人/企业员工点击此链接即可跳转小程序进行批量签署。\n请确保生成链接时候的身份信息和签署合同参与方的信息保持一致。\n\n注:\n- 使用此接口生成链接,需要提前开通 `使用手机号验证签署方身份` 功能,在 `腾讯电子签网页端-企业设置-拓展服务` 中可以找到。\n- 参与人点击链接后需短信验证码才能查看合同内容。\n- 企业用户批量签署,需要传OrganizationName(参与方所在企业名称)参数生成签署链接,<font color=\"red\">请确保此企业已完成腾讯电子签企业认证</font>。暂时仅支持给<font color=\"red\">自建应用集成企业</font>生成员工批签链接,不支持子客企业。\n- 生成批量签署链接时,合同目标参与方状态需为<font color=\"red\">待签署</font>状态。\n- 个人批量签署进行的合同的签名区, 全部变成<font color=\"red\">手写签名</font>(不管合同里边设置的签名限制)来进行。",
47
47
  "input": "ChannelCreateBatchSignUrlRequest",
48
48
  "name": "获取跳转至腾讯电子签小程序的批量签署链接",
49
49
  "output": "ChannelCreateBatchSignUrlResponse",
@@ -1920,7 +1920,7 @@
1920
1920
  },
1921
1921
  {
1922
1922
  "disabled": false,
1923
- "document": "敏感信息的加密方式,目前支持明文、MD5和SHA256加密传输,参数取值:\n\n0:明文,不加密\n1: 使用MD5加密\n2: 使用SHA256",
1923
+ "document": "敏感信息的加密方式,目前支持明文、MD5和SHA256加密传输,参数取值:\n\n0:明文,不加密\n1:使用MD5加密\n2:使用SHA256\n3:使用SM3加密",
1924
1924
  "example": "1",
1925
1925
  "member": "string",
1926
1926
  "name": "EncryptionMode",
@@ -1939,7 +1939,7 @@
1939
1939
  "example": "0",
1940
1940
  "member": "string",
1941
1941
  "name": "Result",
1942
- "required": true,
1942
+ "output_required": true,
1943
1943
  "type": "string",
1944
1944
  "value_allowed_null": false
1945
1945
  },
@@ -1949,7 +1949,7 @@
1949
1949
  "example": "认证通过",
1950
1950
  "member": "string",
1951
1951
  "name": "Description",
1952
- "required": true,
1952
+ "output_required": true,
1953
1953
  "type": "string",
1954
1954
  "value_allowed_null": false
1955
1955
  },
@@ -1959,7 +1959,7 @@
1959
1959
  "example": "运营商",
1960
1960
  "member": "string",
1961
1961
  "name": "ISP",
1962
- "required": true,
1962
+ "output_required": true,
1963
1963
  "type": "string",
1964
1964
  "value_allowed_null": false
1965
1965
  },
@@ -7820,7 +7820,7 @@
7820
7820
  },
7821
7821
  {
7822
7822
  "disabled": false,
7823
- "document": "过期时间 UNIX 时间戳(默认值为当前时间 1 小时后)",
7823
+ "document": "过期时间 UNIX 时间戳(默认值为当前时间 1 小时后,最大不超过文件所属任务的过期时间)",
7824
7824
  "example": "1710487898",
7825
7825
  "member": "uint64",
7826
7826
  "name": "ExpireTime",
@@ -7845,7 +7845,7 @@
7845
7845
  },
7846
7846
  {
7847
7847
  "disabled": false,
7848
- "document": "过期时间 UNIX 时间戳",
7848
+ "document": "过期时间 UNIX 时间戳(最大不超过文件所属任务的过期时间)",
7849
7849
  "example": "1710487898",
7850
7850
  "member": "uint64",
7851
7851
  "name": "ExpireTime",
@@ -858,7 +858,7 @@
858
858
  "members": [
859
859
  {
860
860
  "disabled": false,
861
- "document": "实例 ID",
861
+ "document": "实例 ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/product/1207/47573) 接口返回值中的 InstanceId\t获取。",
862
862
  "example": "lhins-k31c771o",
863
863
  "member": "string",
864
864
  "name": "InstanceId",
@@ -867,7 +867,7 @@
867
867
  },
868
868
  {
869
869
  "disabled": false,
870
- "document": "快照 ID",
870
+ "document": "快照 ID。可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/1207/54388) 接口返回值中的 SnapshotId\t\t获取。",
871
871
  "example": "lhsnap-nv6aqcv6",
872
872
  "member": "string",
873
873
  "name": "SnapshotId",
@@ -2043,7 +2043,7 @@
2043
2043
  "members": [
2044
2044
  {
2045
2045
  "disabled": false,
2046
- "document": "需要创建快照的实例 ID",
2046
+ "document": "需要创建快照的实例 ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/product/1207/47573) 接口返回值中的 InstanceId\t获取。",
2047
2047
  "example": "lhins-k31c771o",
2048
2048
  "member": "string",
2049
2049
  "name": "InstanceId",
@@ -2071,6 +2071,7 @@
2071
2071
  "example": "lhsnap-nv6aqcv6",
2072
2072
  "member": "string",
2073
2073
  "name": "SnapshotId",
2074
+ "output_required": true,
2074
2075
  "type": "string",
2075
2076
  "value_allowed_null": false
2076
2077
  },
@@ -4147,7 +4148,7 @@
4147
4148
  "members": [
4148
4149
  {
4149
4150
  "disabled": false,
4150
- "document": "实例ID列表。",
4151
+ "document": "实例ID列表。每次请求批量实例的上限为 100。\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/47573\">DescribeInstances</a> 接口返回值中的 InstanceId 获取。",
4151
4152
  "example": "[\"lhins-anxwfvxh\"]",
4152
4153
  "member": "string",
4153
4154
  "name": "InstanceIds",
@@ -4166,7 +4167,7 @@
4166
4167
  "example": "无",
4167
4168
  "member": "AttachDetail",
4168
4169
  "name": "AttachDetailSet",
4169
- "required": true,
4170
+ "output_required": true,
4170
4171
  "type": "list",
4171
4172
  "value_allowed_null": false
4172
4173
  },
@@ -4176,7 +4177,7 @@
4176
4177
  "example": "1",
4177
4178
  "member": "int64",
4178
4179
  "name": "TotalCount",
4179
- "required": true,
4180
+ "output_required": true,
4180
4181
  "type": "int",
4181
4182
  "value_allowed_null": false
4182
4183
  },
@@ -4472,7 +4473,7 @@
4472
4473
  "members": [
4473
4474
  {
4474
4475
  "disabled": false,
4475
- "document": "实例 ID",
4476
+ "document": "实例 ID。可通过 <a href=\"https://cloud.tencent.com/document/product/1207/47573\">DescribeInstances</a> 接口返回值中的 InstanceId 获取。",
4476
4477
  "example": "lhins-f4s3n38h",
4477
4478
  "member": "string",
4478
4479
  "name": "InstanceId",
@@ -4481,7 +4482,7 @@
4481
4482
  },
4482
4483
  {
4483
4484
  "disabled": false,
4484
- "document": "过滤器列表。\n<li>bundle-id</li>按照【套餐 ID】进行过滤。\n类型:String\n必选:否\n<li>support-platform-type</li>按照【系统类型】进行过滤。\n取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)\n类型:String\n必选:否\n<li>bundle-type</li>按照 【套餐类型进行过滤】。\n取值:GENERAL_BUNDLE (通用型套餐); STORAGE_BUNDLE(存储型套餐);ENTERPRISE_BUNDLE( 企业型套餐);EXCLUSIVE_BUNDLE(专属型套餐);BEFAST_BUNDLE(蜂驰型套餐);\n类型:String\n必选:否\n<li>bundle-state</li>按照【套餐状态】进行过滤。\n取值: ‘ONLINE’(在线); ‘OFFLINE’(下线);\n类型:String\n必选:否\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。",
4485
+ "document": "过滤器列表。\n<li>bundle-id</li>按照【套餐 ID】进行过滤。\n类型:String\n必选:否\n可通过<a href=\"https://cloud.tencent.com/document/product/1207/47575\"> DescribeBundles </a>接口返回值中的 BundleId 获取。\n<li>support-platform-type</li>按照【系统类型】进行过滤。\n取值: LINUX_UNIX(Linux/Unix系统);WINDOWS(Windows 系统)\n类型:String\n必选:否\n<li>bundle-type</li>按照 【套餐类型进行过滤】。\n取值:GENERAL_BUNDLE (通用型套餐); STORAGE_BUNDLE(存储型套餐);ENTERPRISE_BUNDLE( 企业型套餐);EXCLUSIVE_BUNDLE(专属型套餐);BEFAST_BUNDLE(蜂驰型套餐);\n类型:String\n必选:否\n<li>bundle-state</li>按照【套餐状态】进行过滤。\n取值: ‘ONLINE’(在线); ‘OFFLINE’(下线);\n类型:String\n必选:否\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。",
4485
4486
  "example": "无",
4486
4487
  "member": "Filter",
4487
4488
  "name": "Filters",
@@ -4518,7 +4519,7 @@
4518
4519
  "example": "3",
4519
4520
  "member": "int64",
4520
4521
  "name": "TotalCount",
4521
- "required": true,
4522
+ "output_required": true,
4522
4523
  "type": "int",
4523
4524
  "value_allowed_null": false
4524
4525
  },
@@ -4528,7 +4529,7 @@
4528
4529
  "example": "无",
4529
4530
  "member": "ModifyBundle",
4530
4531
  "name": "ModifyBundleSet",
4531
- "required": true,
4532
+ "output_required": true,
4532
4533
  "type": "list",
4533
4534
  "value_allowed_null": false
4534
4535
  },
@@ -4759,7 +4760,7 @@
4759
4760
  "members": [
4760
4761
  {
4761
4762
  "disabled": false,
4762
- "document": "要查询快照的 ID 列表。\n参数不支持同时指定 SnapshotIds 和 Filters。",
4763
+ "document": "要查询快照的 ID 列表。每次请求批量快照的上限为 100。 \n可通过 [DescribeSnapshots](https://cloud.tencent.com/document/product/1207/54388) 接口返回值中的 SnapshotId\t\t获取。\n参数不支持同时指定 SnapshotIds 和 Filters。",
4763
4764
  "example": "[\"lhsnap-nv6aqcv6\"]",
4764
4765
  "member": "string",
4765
4766
  "name": "SnapshotIds",
@@ -4768,7 +4769,7 @@
4768
4769
  },
4769
4770
  {
4770
4771
  "disabled": false,
4771
- "document": "过滤器列表。\n<li>snapshot-id</li>按照【快照 ID】进行过滤。\n类型:String\n必选:否\n<li>disk-id</li>按照【磁盘 ID】进行过滤。\n类型:String\n必选:否\n<li>snapshot-name</li>按照【快照名称】进行过滤。\n类型:String\n必选:否\n<li>instance-id</li>按照【实例 ID 】进行过滤。\n类型:String\n必选:否\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 SnapshotIds 和 Filters。",
4772
+ "document": "过滤器列表。\n<li>snapshot-id</li>按照【快照 ID】进行过滤。\n类型:String\n必选:否\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/54388\">DescribeSnapshots</a> 接口返回值中的 SnapshotId 获取。\n\n<li>disk-id</li>按照【磁盘 ID】进行过滤。\n类型:String\n必选:否\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/66093\">DescribeDisks</a> 接口返回值中的 DiskId 获取。\n\n<li>snapshot-name</li>按照【快照名称】进行过滤。\n类型:String\n必选:否\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/54388\">DescribeSnapshots</a> 接口返回值中的 SnapshotName 获取。\n<li>instance-id</li>按照【实例 ID 】进行过滤。\n类型:String\n必选:否\n可通过 <a href=\"https://cloud.tencent.com/document/product/1207/47573\">DescribeInstances</a> 接口返回值中的 InstanceId 获取。\n\n每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 SnapshotIds 和 Filters。",
4772
4773
  "example": "无",
4773
4774
  "member": "Filter",
4774
4775
  "name": "Filters",
@@ -4805,7 +4806,7 @@
4805
4806
  "example": "1",
4806
4807
  "member": "int64",
4807
4808
  "name": "TotalCount",
4808
- "required": true,
4809
+ "output_required": true,
4809
4810
  "type": "int",
4810
4811
  "value_allowed_null": false
4811
4812
  },
@@ -4815,7 +4816,7 @@
4815
4816
  "example": "无",
4816
4817
  "member": "Snapshot",
4817
4818
  "name": "SnapshotSet",
4818
- "required": true,
4819
+ "output_required": true,
4819
4820
  "type": "list",
4820
4821
  "value_allowed_null": false
4821
4822
  },
@@ -8557,7 +8558,7 @@
8557
8558
  "members": [
8558
8559
  {
8559
8560
  "disabled": false,
8560
- "document": "防火墙模板ID。可通过 [DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874) 的返回值 TemplateSet 获取。",
8561
+ "document": "防火墙模板ID。可通过 [DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874) 接口返回值中的 TemplateId 获取。",
8561
8562
  "example": "lhft-xxxxxxxx",
8562
8563
  "member": "string",
8563
8564
  "name": "TemplateId",
@@ -8566,7 +8567,7 @@
8566
8567
  },
8567
8568
  {
8568
8569
  "disabled": false,
8569
- "document": "防火墙模板规则ID。可通过 [DescribeFirewallTemplateRules](https://cloud.tencent.com/document/product/1207/96875) 的返回值 TemplateRuleSet 获取。",
8570
+ "document": "防火墙模板规则ID。可通过 [DescribeFirewallTemplateRules](https://cloud.tencent.com/document/product/1207/96875) 接口返回值中的 TemplateRuleId 获取。",
8570
8571
  "example": "lhftr-xxxxxxxxxx",
8571
8572
  "member": "string",
8572
8573
  "name": "TemplateRuleId",
@@ -8684,7 +8685,7 @@
8684
8685
  "members": [
8685
8686
  {
8686
8687
  "disabled": false,
8687
- "document": "模板ID",
8688
+ "document": "防火墙模板ID。可通过 [DescribeFirewallTemplates](https://cloud.tencent.com/document/product/1207/96874) 接口返回值中的 TemplateId\t获取。",
8688
8689
  "example": "lhft-abcd1234",
8689
8690
  "member": "string",
8690
8691
  "name": "TemplateId",
@@ -8693,7 +8694,7 @@
8693
8694
  },
8694
8695
  {
8695
8696
  "disabled": false,
8696
- "document": "重置后的防火墙模板规则列表。",
8697
+ "document": "重置后的防火墙模板规则列表。每次请求批量防火墙规则的上限为 100。",
8697
8698
  "example": "无",
8698
8699
  "member": "FirewallRule",
8699
8700
  "name": "TemplateRules",
@@ -8820,7 +8821,7 @@
8820
8821
  "members": [
8821
8822
  {
8822
8823
  "disabled": false,
8823
- "document": "实例 ID 列表。每次请求批量实例的上限为 100",
8824
+ "document": "实例 ID 列表。每次请求批量实例的上限为 100。可通过 <a href=\"https://cloud.tencent.com/document/product/1207/47573\">DescribeInstances</a> 接口返回值中的 InstanceId 获取。",
8824
8825
  "example": "[\"lhins-ruy9d2tw\"]",
8825
8826
  "member": "string",
8826
8827
  "name": "InstanceIds",
@@ -458,7 +458,7 @@
458
458
  {
459
459
  "document": "",
460
460
  "input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeModifyInstanceBundles\n<公共请求参数>\n\n{\n \"InstanceId\": \"lhins-f4s3n38h\"\n}",
461
- "output": "{\n \"Response\": {\n \"ModifyBundleSet\": [\n {\n \"Bundle\": {\n \"BundleDisplayLabel\": \"NORMAL\",\n \"BundleId\": \"bundle_ntp_small2_500\",\n \"BundleSalesState\": \"AVAILABLE\",\n \"BundleType\": \"GENERAL_BUNDLE\",\n \"CPU\": 1,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 3,\n \"Memory\": 2,\n \"MonthlyTraffic\": 500,\n \"Price\": {\n \"InstancePrice\": {\n \"Discount\": 100,\n \"DiscountPrice\": 90,\n \"OriginalBundlePrice\": 90,\n \"OriginalPrice\": 90\n }\n },\n \"SupportLinuxUnixPlatform\": true,\n \"SupportWindowsPlatform\": true,\n \"SystemDiskSize\": 40,\n \"SystemDiskType\": \"CLOUD_SSD\"\n },\n \"ModifyBundleState\": \"UNAVAILABLE\",\n \"NotSupportModifyMessage\": \"\",\n \"ModifyPrice\": {\n \"InstancePrice\": {\n \"Discount\": 100,\n \"DiscountPrice\": 19.73,\n \"OriginalBundlePrice\": 90,\n \"OriginalPrice\": 19.73\n }\n }\n },\n {\n \"Bundle\": {\n \"BundleDisplayLabel\": \"NORMAL\",\n \"BundleId\": \"bundle_ntp_small1_500\",\n \"BundleSalesState\": \"AVAILABLE\",\n \"BundleType\": \"GENERAL_BUNDLE\",\n \"CPU\": 1,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 3,\n \"Memory\": 1,\n \"MonthlyTraffic\": 500,\n \"Price\": {\n \"InstancePrice\": {\n \"Discount\": 100,\n \"DiscountPrice\": 90,\n \"OriginalBundlePrice\": 90,\n \"OriginalPrice\": 90\n }\n },\n \"SupportLinuxUnixPlatform\": true,\n \"SupportWindowsPlatform\": true,\n \"SystemDiskSize\": 40,\n \"SystemDiskType\": \"CLOUD_SSD\"\n },\n \"ModifyBundleState\": \"UNAVAILABLE\",\n \"NotSupportModifyMessage\": \"\",\n \"ModifyPrice\": {\n \"InstancePrice\": {\n \"Discount\": 100,\n \"DiscountPrice\": 19.73,\n \"OriginalBundlePrice\": 90,\n \"OriginalPrice\": 19.73\n }\n }\n },\n {\n \"Bundle\": {\n \"BundleDisplayLabel\": \"NORMAL\",\n \"BundleId\": \"bundle_ntp_small2_1000\",\n \"BundleSalesState\": \"AVAILABLE\",\n \"BundleType\": \"GENERAL_BUNDLE\",\n \"CPU\": 1,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 5,\n \"Memory\": 2,\n \"MonthlyTraffic\": 1000,\n \"Price\": {\n \"InstancePrice\": {\n \"Discount\": 100,\n \"DiscountPrice\": 140,\n \"OriginalBundlePrice\": 140,\n \"OriginalPrice\": 140\n }\n },\n \"SupportLinuxUnixPlatform\": true,\n \"SupportWindowsPlatform\": true,\n \"SystemDiskSize\": 40,\n \"SystemDiskType\": \"CLOUD_SSD\"\n },\n \"ModifyBundleState\": \"UNAVAILABLE\",\n \"NotSupportModifyMessage\": \"\",\n \"ModifyPrice\": {\n \"InstancePrice\": {\n \"Discount\": 100,\n \"DiscountPrice\": 52.6,\n \"OriginalBundlePrice\": 140,\n \"OriginalPrice\": 52.6\n }\n }\n }\n ],\n \"RequestId\": \"f1bb6c99-e704-441e-a405-a594cb55c989\",\n \"TotalCount\": 3\n }\n}",
461
+ "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"ModifyBundleSet\": [\n {\n \"ModifyPrice\": {\n \"InstancePrice\": {\n \"OriginalBundlePrice\": 0,\n \"OriginalPrice\": 0,\n \"Discount\": 0,\n \"DiscountPrice\": 0,\n \"Currency\": \"abc\"\n }\n },\n \"ModifyBundleState\": \"abc\",\n \"Bundle\": {\n \"BundleId\": \"abc\",\n \"Memory\": 0,\n \"SystemDiskType\": \"abc\",\n \"SystemDiskSize\": 0,\n \"MonthlyTraffic\": 0,\n \"SupportLinuxUnixPlatform\": true,\n \"SupportWindowsPlatform\": true,\n \"Price\": {\n \"InstancePrice\": {\n \"OriginalBundlePrice\": 0,\n \"OriginalPrice\": 0,\n \"Discount\": 0,\n \"DiscountPrice\": 0,\n \"Currency\": \"abc\"\n }\n },\n \"CPU\": 0,\n \"InternetMaxBandwidthOut\": 1,\n \"InternetChargeType\": \"abc\",\n \"BundleSalesState\": \"abc\",\n \"BundleType\": \"abc\",\n \"BundleTypeDescription\": \"abc\",\n \"BundleDisplayLabel\": \"abc\"\n },\n \"NotSupportModifyMessage\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
462
462
  "title": "查询实例可修改套餐列表"
463
463
  }
464
464
  ],