tccli 3.0.1257.1__py2.py3-none-any.whl → 3.0.1258.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -343,6 +343,13 @@
343
343
  "output": "CreateBatchInitOrganizationUrlResponse",
344
344
  "status": "online"
345
345
  },
346
+ "CreateBatchOrganizationAuthorizationUrl": {
347
+ "document": "此接口用于获取企业批量认证链接-单链接包含多条认证流。\n\n前提条件:已调用 [CreateBatchOrganizationRegistrationTasks创建子企业批量认证链接任务接口](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks) 和[查询子企业批量认证链接DescribeBatchOrganizationRegistrationUrls](https://qian.tencent.com/developers/partnerApis/accounts/DescribeBatchOrganizationRegistrationUrls) 确保认证任务已经完成。\n\n异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间。\n此链接包含多条认证流程,使用该链接可以批量的对企业进行认证。",
348
+ "input": "CreateBatchOrganizationAuthorizationUrlRequest",
349
+ "name": "创建企业批量认证链接-单链接",
350
+ "output": "CreateBatchOrganizationAuthorizationUrlResponse",
351
+ "status": "online"
352
+ },
346
353
  "CreateBatchOrganizationRegistrationTasks": {
347
354
  "document": "该接口用于批量创建企业认证链接, 可以支持PC浏览器,H5和小程序三种途径。\n此接口为异步提交任务接口,需要与[查询子企业批量认证链接](https://qcloudimg.tencent-cloud.cn/raw/1d3737991b2a3be78002bd78a47d6917.png)配合使用,整体流程如下图。\n![image](https://qcloudimg.tencent-cloud.cn/raw/654aa2a72ab7d42f06464ea33c50c3bb.png)\n\n\n\n**注意**\n\n1. 单次最多创建10个子企业。\n2. 一天内,同一家企业最多创建8000个子企业。\n3. 同一批创建的子客户不能重复,包括企业名称、企业统一信用代码和子客户经办人openId。\n4. 跳转到小程序的实现,请参考微信官方文档(分为<a href=\"https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html\">全屏</a>、<a href=\"https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html\">半屏</a>两种方式)。如何配置跳转电子签小程序,可参考:<a href=\"https://qian.tencent.com/developers/company/openwxminiprogram\">跳转电子签小程序配置</a>。\n\n\n\n**腾讯电子签小程序的AppID 和 原始Id如下:**\n\n| 小程序 | AppID | 原始ID |\n| ------------ | ------------ | ------------ |\n| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |\n| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |",
348
355
  "input": "CreateBatchOrganizationRegistrationTasksRequest",
@@ -6377,6 +6384,117 @@
6377
6384
  ],
6378
6385
  "type": "object"
6379
6386
  },
6387
+ "CreateBatchOrganizationAuthorizationUrlRequest": {
6388
+ "document": "CreateBatchOrganizationAuthorizationUrl请求参数结构体",
6389
+ "members": [
6390
+ {
6391
+ "disabled": false,
6392
+ "document": "应用相关信息。 此接口Agent.AppId 必填。",
6393
+ "example": "无",
6394
+ "member": "Agent",
6395
+ "name": "Agent",
6396
+ "required": true,
6397
+ "type": "object"
6398
+ },
6399
+ {
6400
+ "disabled": false,
6401
+ "document": "组织机构超管姓名。 在注册流程中,必须是超管本人进行操作。此参数需要跟[创建子企业批量认证链接](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks)中 AdminName 保持一致。",
6402
+ "example": "典子谦",
6403
+ "member": "string",
6404
+ "name": "AdminName",
6405
+ "required": false,
6406
+ "type": "string"
6407
+ },
6408
+ {
6409
+ "disabled": false,
6410
+ "document": "组织机构超管手机号。 在注册流程中,必须是超管本人进行操作。此参数需要跟[创建子企业批量认证链接](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks)中 Admin Mobile保持一致。",
6411
+ "example": "13200000000",
6412
+ "member": "string",
6413
+ "name": "AdminMobile",
6414
+ "required": false,
6415
+ "type": "string"
6416
+ },
6417
+ {
6418
+ "disabled": false,
6419
+ "document": "企业批量认证链接的子任务 SubTaskId,该 SubTaskId 是通过接口 查询企业批量认证链接 DescribeBatchOrganizationRegistrationUrls 获得。此参数需与超管个人三要素(AdminName,AdminMobile,AdminIdCardNumber)配合使用。若 SubTaskId 不属于传入的超级管理员,将进行筛选。",
6420
+ "example": "[\"yDRS4UUgygqdcj56UuO4zjExBQcOiB68\",\"yDRS4UUgygqdcj5pUuO4zjEu602GFIe6\"]",
6421
+ "member": "string",
6422
+ "name": "SubTaskIds",
6423
+ "required": false,
6424
+ "type": "list"
6425
+ },
6426
+ {
6427
+ "disabled": false,
6428
+ "document": "组织机构超管证件类型支持以下类型\n- ID_CARD : 居民身份证 (默认值)\n- HONGKONG_AND_MACAO : 港澳居民来往内地通行证\n- HONGKONG_MACAO_AND_TAIWAN : 港澳台居民居住证(格式同居民身份证)\n此参数需要跟[创建子企业批量认证链接](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks)中 AdminIdCardType保持一致。",
6429
+ "example": "ID_CARD",
6430
+ "member": "string",
6431
+ "name": "AdminIdCardType",
6432
+ "required": false,
6433
+ "type": "string"
6434
+ },
6435
+ {
6436
+ "disabled": false,
6437
+ "document": "组织机构超管证件号。 在注册流程中,必须是超管本人进行操作。此参数需要跟[创建子企业批量认证链接](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks)中 AdminIdCardNumber保持一致。",
6438
+ "example": "620000198802020000",
6439
+ "member": "string",
6440
+ "name": "AdminIdCardNumber",
6441
+ "required": false,
6442
+ "type": "string"
6443
+ },
6444
+ {
6445
+ "disabled": false,
6446
+ "document": "要跳转的链接类型<ul><li> **HTTP**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型 ,此时返回长链 (默认类型)</li><li>**HTTP_SHORT_URL**:跳转电子签小程序的http_url, 短信通知或者H5跳转适合此类型,此时返回短链</li><li>**APP**: 第三方APP或小程序跳转电子签小程序的path, APP或者小程序跳转适合此类型</li><li>**QR_CODE**: 跳转电子签小程序的http_url的二维码形式, 可以在页面展示适合此类型</li></ul>",
6447
+ "example": "HTTP",
6448
+ "member": "string",
6449
+ "name": "Endpoint",
6450
+ "required": false,
6451
+ "type": "string"
6452
+ }
6453
+ ],
6454
+ "type": "object"
6455
+ },
6456
+ "CreateBatchOrganizationAuthorizationUrlResponse": {
6457
+ "document": "CreateBatchOrganizationAuthorizationUrl返回参数结构体",
6458
+ "members": [
6459
+ {
6460
+ "disabled": false,
6461
+ "document": "批量企业注册链接-单链接包含多条认证流,根据Endpoint的不同设置,返回不同的链接地址。失效时间:7天跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表<table> <thead> <tr> <th>Endpoint</th> <th>示例</th> <th>链接有效期限</th> </tr> </thead> <tbody> <tr> <td>HTTP</td> <td>https://res.ess.tencent.cn/cdn/h5-activity-dev/jump-mp.html?to=AUTHORIZATION_ENTERPRISE_FOR_BATCH_SUBMIT&shortKey=yDCHHURDfBxSB2rj2Bfa</td> <td>7天</td> </tr> <tr> <td>HTTP_SHORT_URL</td> <td>https://test.essurl.cn/8gDKUBAWK8</td> <td>7天</td> </tr> <tr> <td>APP</td> <td>pages/guide/index?to=AUTHORIZATION_ENTERPRISE_FOR_BATCH_SUBMIT&shortKey=yDCHpURDfR6iEkdpsDde</td> <td>7天</td> </tr><tr> <td>QR_CODE</td> <td>https://dyn.test.ess.tencent.cn/imgs/qrcode_urls/authorization_enterprise_for_batch_submit/yDCHHUUckpbdauq9UEjnoFDCCumAMmv1.png</td> <td>7天</td> </tr> </tbody> </table>注: `1.创建的链接应避免被转义,如:&被转义为\\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义`",
6462
+ "example": "https://res.ess.tencent.cn/cdn/h5-activity/jump-mp.html?to=AUTHORIZATION_ENTERPRISE_FOR_BATCH_SUBMIT&shortKey=yDCYwUBNmxArpbYpfCba",
6463
+ "member": "string",
6464
+ "name": "AuthUrl",
6465
+ "output_required": true,
6466
+ "type": "string",
6467
+ "value_allowed_null": false
6468
+ },
6469
+ {
6470
+ "disabled": false,
6471
+ "document": "认证流认证失败信息",
6472
+ "example": "无",
6473
+ "member": "string",
6474
+ "name": "ErrorMessages",
6475
+ "output_required": true,
6476
+ "type": "list",
6477
+ "value_allowed_null": false
6478
+ },
6479
+ {
6480
+ "disabled": false,
6481
+ "document": "链接过期时间,为 7 天后,创建时间,格式为Unix标准时间戳(秒)。",
6482
+ "example": "无",
6483
+ "member": "uint64",
6484
+ "name": "ExpireTime",
6485
+ "output_required": true,
6486
+ "type": "int",
6487
+ "value_allowed_null": false
6488
+ },
6489
+ {
6490
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6491
+ "member": "string",
6492
+ "name": "RequestId",
6493
+ "type": "string"
6494
+ }
6495
+ ],
6496
+ "type": "object"
6497
+ },
6380
6498
  "CreateBatchOrganizationRegistrationTasksRequest": {
6381
6499
  "document": "CreateBatchOrganizationRegistrationTasks请求参数结构体",
6382
6500
  "members": [
@@ -782,6 +782,14 @@
782
782
  "title": "创建批量操作企业初始化链接"
783
783
  }
784
784
  ],
785
+ "CreateBatchOrganizationAuthorizationUrl": [
786
+ {
787
+ "document": "根据批量注册企业子任务 Id 和超管的三要素生成批量认证链接。\n1. 批量注册企业子任务是由接口 [CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口](https://qian.tencent.com/developers/partnerApis/accounts/CreateBatchOrganizationRegistrationTasks) 生成的。\n2. 调用[查询企业批量认证链接DescribeBatchOrganizationRegistrationUrls](https://qian.tencent.com/developers/partnerApis/accounts/DescribeBatchOrganizationRegistrationUrls),获得子任务 TaskId。\n3. Endpoint 设置为长链接,会生成一条长链。",
788
+ "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBatchOrganizationAuthorizationUrl\n<公共请求参数>\n\n{\n \"Agent\": {\n \"ProxyOperator\": {\n \"OpenId\": \"ceshi\"\n },\n \"ProxyOrganizationOpenId\": \"ceshi_org\",\n \"AppId\": \"60e16350b0361c888ecb30477d2c16e9\"\n },\n \"SubTaskIds\": [\n \"yDCHlUUckpaeefmfUxPr7deu6g5PvvJz\",\n \"yDCHlUUckpaeix9uU0ETNLSzHbAxJxLj\"\n ],\n \"AdminName\": \"典子谦\",\n \"AdminMobile\": \"13200000000\",\n \"AdminIdCardType\": \"ID_CARD\",\n \"AdminIdCardNumber\": \"620000198802020000\",\n \"Endpoint\": \"HTTP\"\n}",
789
+ "output": "{\n \"Response\": {\n \"AuthUrl\": \"https://res.ess.tencent.cn/cdn/h5-activity/jump-mp.html?to=AUTHORIZATION_ENTERPRISE_FOR_BATCH_SUBMIT&shortKey=yDCHHURDfCVEoeNYGCc6\",\n \"ErrorMessages\": [],\n \"ExpireTime\": 1724165376,\n \"RequestId\": \"s1723560576553977682\"\n }\n}",
790
+ "title": "根据批量注册企业子任务 Id 和超管的三要素生成批量认证链接"
791
+ }
792
+ ],
785
793
  "CreateBatchOrganizationRegistrationTasks": [
786
794
  {
787
795
  "document": "用户同时创建3个企业, 创建链接成功",
@@ -1681,6 +1681,58 @@ def doDescribeManagerDetail(args, parsed_globals):
1681
1681
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1682
1682
 
1683
1683
 
1684
+ def doCheckCertificateExist(args, parsed_globals):
1685
+ g_param = parse_global_arg(parsed_globals)
1686
+
1687
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1688
+ cred = credential.CVMRoleCredential()
1689
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1690
+ cred = credential.STSAssumeRoleCredential(
1691
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1692
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1693
+ )
1694
+ 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):
1695
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1696
+ else:
1697
+ cred = credential.Credential(
1698
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1699
+ )
1700
+ http_profile = HttpProfile(
1701
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1702
+ reqMethod="POST",
1703
+ endpoint=g_param[OptionsDefine.Endpoint],
1704
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1705
+ )
1706
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1707
+ if g_param[OptionsDefine.Language]:
1708
+ profile.language = g_param[OptionsDefine.Language]
1709
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1710
+ client = mod.SslClient(cred, g_param[OptionsDefine.Region], profile)
1711
+ client._sdkVersion += ("_CLI_" + __version__)
1712
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1713
+ model = models.CheckCertificateExistRequest()
1714
+ model.from_json_string(json.dumps(args))
1715
+ start_time = time.time()
1716
+ while True:
1717
+ rsp = client.CheckCertificateExist(model)
1718
+ result = rsp.to_json_string()
1719
+ try:
1720
+ json_obj = json.loads(result)
1721
+ except TypeError as e:
1722
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1723
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1724
+ break
1725
+ cur_time = time.time()
1726
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1727
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1728
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1729
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1730
+ else:
1731
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1732
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1733
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1734
+
1735
+
1684
1736
  def doDescribeHostDeployRecordDetail(args, parsed_globals):
1685
1737
  g_param = parse_global_arg(parsed_globals)
1686
1738
 
@@ -2305,7 +2357,7 @@ def doDescribeHostUpdateRecord(args, parsed_globals):
2305
2357
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2306
2358
 
2307
2359
 
2308
- def doCreateCertificate(args, parsed_globals):
2360
+ def doCreateCertificateByPackage(args, parsed_globals):
2309
2361
  g_param = parse_global_arg(parsed_globals)
2310
2362
 
2311
2363
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2334,11 +2386,11 @@ def doCreateCertificate(args, parsed_globals):
2334
2386
  client = mod.SslClient(cred, g_param[OptionsDefine.Region], profile)
2335
2387
  client._sdkVersion += ("_CLI_" + __version__)
2336
2388
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2337
- model = models.CreateCertificateRequest()
2389
+ model = models.CreateCertificateByPackageRequest()
2338
2390
  model.from_json_string(json.dumps(args))
2339
2391
  start_time = time.time()
2340
2392
  while True:
2341
- rsp = client.CreateCertificate(model)
2393
+ rsp = client.CreateCertificateByPackage(model)
2342
2394
  result = rsp.to_json_string()
2343
2395
  try:
2344
2396
  json_obj = json.loads(result)
@@ -2669,7 +2721,7 @@ def doDescribeHostApiGatewayInstanceList(args, parsed_globals):
2669
2721
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2670
2722
 
2671
2723
 
2672
- def doCreateCertificateByPackage(args, parsed_globals):
2724
+ def doCreateCertificate(args, parsed_globals):
2673
2725
  g_param = parse_global_arg(parsed_globals)
2674
2726
 
2675
2727
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2698,11 +2750,11 @@ def doCreateCertificateByPackage(args, parsed_globals):
2698
2750
  client = mod.SslClient(cred, g_param[OptionsDefine.Region], profile)
2699
2751
  client._sdkVersion += ("_CLI_" + __version__)
2700
2752
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2701
- model = models.CreateCertificateByPackageRequest()
2753
+ model = models.CreateCertificateRequest()
2702
2754
  model.from_json_string(json.dumps(args))
2703
2755
  start_time = time.time()
2704
2756
  while True:
2705
- rsp = client.CreateCertificateByPackage(model)
2757
+ rsp = client.CreateCertificate(model)
2706
2758
  result = rsp.to_json_string()
2707
2759
  try:
2708
2760
  json_obj = json.loads(result)
@@ -3180,6 +3232,7 @@ ACTION_MAP = {
3180
3232
  "DescribeHostLiveInstanceList": doDescribeHostLiveInstanceList,
3181
3233
  "DescribeHostWafInstanceList": doDescribeHostWafInstanceList,
3182
3234
  "DescribeManagerDetail": doDescribeManagerDetail,
3235
+ "CheckCertificateExist": doCheckCertificateExist,
3183
3236
  "DescribeHostDeployRecordDetail": doDescribeHostDeployRecordDetail,
3184
3237
  "DeployCertificateRecordRollback": doDeployCertificateRecordRollback,
3185
3238
  "DeployCertificateRecordRetry": doDeployCertificateRecordRetry,
@@ -3192,14 +3245,14 @@ ACTION_MAP = {
3192
3245
  "ModifyCertificateAlias": doModifyCertificateAlias,
3193
3246
  "DescribeHostUpdateRecordDetail": doDescribeHostUpdateRecordDetail,
3194
3247
  "DescribeHostUpdateRecord": doDescribeHostUpdateRecord,
3195
- "CreateCertificate": doCreateCertificate,
3248
+ "CreateCertificateByPackage": doCreateCertificateByPackage,
3196
3249
  "UploadConfirmLetter": doUploadConfirmLetter,
3197
3250
  "DescribeHostLighthouseInstanceList": doDescribeHostLighthouseInstanceList,
3198
3251
  "UpdateCertificateRecordRollback": doUpdateCertificateRecordRollback,
3199
3252
  "DescribeHostVodInstanceList": doDescribeHostVodInstanceList,
3200
3253
  "DescribeCertificateOperateLogs": doDescribeCertificateOperateLogs,
3201
3254
  "DescribeHostApiGatewayInstanceList": doDescribeHostApiGatewayInstanceList,
3202
- "CreateCertificateByPackage": doCreateCertificateByPackage,
3255
+ "CreateCertificate": doCreateCertificate,
3203
3256
  "CreateCertificateBindResourceSyncTask": doCreateCertificateBindResourceSyncTask,
3204
3257
  "ModifyCertificatesExpiringNotificationSwitch": doModifyCertificatesExpiringNotificationSwitch,
3205
3258
  "ReplaceCertificate": doReplaceCertificate,
@@ -35,6 +35,13 @@
35
35
  "output": "CheckCertificateDomainVerificationResponse",
36
36
  "status": "online"
37
37
  },
38
+ "CheckCertificateExist": {
39
+ "document": "根据证书内容检测当前账号下是否存在一致的证书, 存在则返回证书ID, 不存在则返回空",
40
+ "input": "CheckCertificateExistRequest",
41
+ "name": "检测证书内容是否存在",
42
+ "output": "CheckCertificateExistResponse",
43
+ "status": "online"
44
+ },
38
45
  "CommitCertificateInformation": {
39
46
  "document": "提交证书订单到CA机构。",
40
47
  "input": "CommitCertificateInformationRequest",
@@ -1854,6 +1861,43 @@
1854
1861
  ],
1855
1862
  "type": "object"
1856
1863
  },
1864
+ "CheckCertificateExistRequest": {
1865
+ "document": "CheckCertificateExist请求参数结构体",
1866
+ "members": [
1867
+ {
1868
+ "disabled": false,
1869
+ "document": "证书公钥内容, 包含证书链",
1870
+ "example": "无",
1871
+ "member": "string",
1872
+ "name": "CertificatePublicKey",
1873
+ "required": true,
1874
+ "type": "string"
1875
+ }
1876
+ ],
1877
+ "type": "object"
1878
+ },
1879
+ "CheckCertificateExistResponse": {
1880
+ "document": "CheckCertificateExist返回参数结构体",
1881
+ "members": [
1882
+ {
1883
+ "disabled": false,
1884
+ "document": "重复的证书ID\n注意:此字段可能返回 null,表示取不到有效值。",
1885
+ "example": "无",
1886
+ "member": "string",
1887
+ "name": "RepeatCertId",
1888
+ "output_required": true,
1889
+ "type": "string",
1890
+ "value_allowed_null": true
1891
+ },
1892
+ {
1893
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1894
+ "member": "string",
1895
+ "name": "RequestId",
1896
+ "type": "string"
1897
+ }
1898
+ ],
1899
+ "type": "object"
1900
+ },
1857
1901
  "ClbInstanceDetail": {
1858
1902
  "document": "clb实例详情",
1859
1903
  "members": [
@@ -40,6 +40,14 @@
40
40
  "title": "检查证书域名验证"
41
41
  }
42
42
  ],
43
+ "CheckCertificateExist": [
44
+ {
45
+ "document": "",
46
+ "input": "POST / HTTP/1.1\nHost: ssl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CheckCertificateExist\n<公共请求参数>\n\n{\n \"CertificatePublicKey\": \"abc\"\n}",
47
+ "output": "{\n \"Response\": {\n \"RepeatCertId\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
48
+ "title": "查询证书内容是否存在"
49
+ }
50
+ ],
43
51
  "CommitCertificateInformation": [
44
52
  {
45
53
  "document": "提交证书订单",
@@ -0,0 +1,4 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ from tccli.services.tccatalog.tccatalog_client import action_caller
4
+