tccli 3.0.1317.1__py2.py3-none-any.whl → 3.0.1319.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.
Files changed (66) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +0 -3
  3. tccli/services/ams/v20201229/api.json +109 -113
  4. tccli/services/batch/v20170312/api.json +3 -3
  5. tccli/services/billing/v20180709/api.json +6 -6
  6. tccli/services/cbs/v20170312/api.json +2 -2
  7. tccli/services/cdwdoris/v20211228/api.json +67 -1
  8. tccli/services/clb/v20180317/api.json +1 -1
  9. tccli/services/cls/v20201016/api.json +25 -15
  10. tccli/services/cvm/v20170312/api.json +29 -29
  11. tccli/services/cynosdb/v20190107/api.json +7 -7
  12. tccli/services/dbbrain/v20210527/api.json +7 -3
  13. tccli/services/dlc/v20210125/api.json +112 -0
  14. tccli/services/dlc/v20210125/examples.json +3 -3
  15. tccli/services/dnspod/v20210323/examples.json +1 -1
  16. tccli/services/domain/v20180808/api.json +3 -3
  17. tccli/services/domain/v20180808/examples.json +1 -1
  18. tccli/services/dsgc/dsgc_client.py +247 -1042
  19. tccli/services/dsgc/v20190723/api.json +15 -365
  20. tccli/services/dsgc/v20190723/examples.json +1 -127
  21. tccli/services/dts/v20180330/api.json +2 -2
  22. tccli/services/es/v20180416/api.json +10 -0
  23. tccli/services/ess/v20201111/api.json +6 -6
  24. tccli/services/ess/v20201111/examples.json +10 -4
  25. tccli/services/essbasic/v20210526/api.json +2 -2
  26. tccli/services/goosefs/goosefs_client.py +386 -68
  27. tccli/services/goosefs/v20220519/api.json +510 -0
  28. tccli/services/goosefs/v20220519/examples.json +48 -0
  29. tccli/services/hai/v20230812/api.json +4 -4
  30. tccli/services/iotexplorer/v20190423/api.json +13 -3
  31. tccli/services/keewidb/v20220308/api.json +11 -2
  32. tccli/services/lighthouse/v20200324/api.json +1 -1
  33. tccli/services/live/v20180801/api.json +10 -0
  34. tccli/services/lke/v20231130/api.json +2 -58
  35. tccli/services/monitor/v20180724/api.json +8 -11
  36. tccli/services/mps/v20190612/api.json +20 -9
  37. tccli/services/mps/v20190612/examples.json +6 -0
  38. tccli/services/postgres/postgres_client.py +0 -53
  39. tccli/services/postgres/v20170312/api.json +9 -135
  40. tccli/services/postgres/v20170312/examples.json +0 -8
  41. tccli/services/scf/v20180416/api.json +2 -2
  42. tccli/services/ses/v20201002/api.json +9 -0
  43. tccli/services/sqlserver/v20180328/api.json +2 -2
  44. tccli/services/ssl/v20191205/api.json +18 -0
  45. tccli/services/ssl/v20191205/examples.json +2 -2
  46. tccli/services/tcb/v20180608/api.json +3 -3
  47. tccli/services/tdid/v20210519/examples.json +1 -1
  48. tccli/services/tione/tione_client.py +53 -0
  49. tccli/services/tione/v20211111/api.json +306 -1
  50. tccli/services/tione/v20211111/examples.json +8 -0
  51. tccli/services/tke/v20180525/api.json +1 -1
  52. tccli/services/tke/v20220501/api.json +11 -0
  53. tccli/services/trtc/v20190722/api.json +19 -1
  54. tccli/services/tse/v20201207/api.json +78 -4
  55. tccli/services/tts/v20190823/api.json +2 -2
  56. tccli/services/vpc/v20170312/api.json +3 -3
  57. tccli/services/waf/v20180125/examples.json +1 -1
  58. {tccli-3.0.1317.1.dist-info → tccli-3.0.1319.1.dist-info}/METADATA +2 -2
  59. {tccli-3.0.1317.1.dist-info → tccli-3.0.1319.1.dist-info}/RECORD +62 -66
  60. tccli/services/apcas/__init__.py +0 -4
  61. tccli/services/apcas/apcas_client.py +0 -525
  62. tccli/services/apcas/v20201127/api.json +0 -733
  63. tccli/services/apcas/v20201127/examples.json +0 -61
  64. {tccli-3.0.1317.1.dist-info → tccli-3.0.1319.1.dist-info}/WHEEL +0 -0
  65. {tccli-3.0.1317.1.dist-info → tccli-3.0.1319.1.dist-info}/entry_points.txt +0 -0
  66. {tccli-3.0.1317.1.dist-info → tccli-3.0.1319.1.dist-info}/license_files/LICENSE +0 -0
@@ -4033,7 +4033,7 @@
4033
4033
  },
4034
4034
  {
4035
4035
  "disabled": false,
4036
- "document": "参数已废弃\n注意:此字段可能返回 null,表示取不到有效值。",
4036
+ "document": "该参数即将下线,不推荐用户使用\n注意:此字段可能返回 null,表示取不到有效值。",
4037
4037
  "example": "\"entrypoint.sh\"",
4038
4038
  "member": "string",
4039
4039
  "name": "EntryPoint",
@@ -6460,7 +6460,7 @@
6460
6460
  },
6461
6461
  {
6462
6462
  "disabled": false,
6463
- "document": "请求 Invoke 接口,该参数已弃用。请求 InvokeFunction 接口,该参数值为请求执行[状态码](https://cloud.tencent.com/document/product/583/42611)。",
6463
+ "document": "该参数不再维护,不推荐用户继续使用。",
6464
6464
  "example": "200",
6465
6465
  "member": "int64",
6466
6466
  "name": "InvokeResult",
@@ -619,6 +619,15 @@
619
619
  "name": "EmailIdentity",
620
620
  "required": true,
621
621
  "type": "string"
622
+ },
623
+ {
624
+ "disabled": false,
625
+ "document": "生成的dkim密钥长度。0:1024,1:2048",
626
+ "example": "0",
627
+ "member": "uint64",
628
+ "name": "DKIMOption",
629
+ "required": false,
630
+ "type": "int"
622
631
  }
623
632
  ],
624
633
  "type": "object"
@@ -16196,8 +16196,8 @@
16196
16196
  "members": [
16197
16197
  {
16198
16198
  "disabled": false,
16199
- "document": "地域英文ID,类似ap-guanghou",
16200
- "example": "ap-guanghou",
16199
+ "document": "地域英文ID,类似ap-guangzhou",
16200
+ "example": "ap-guangzhou",
16201
16201
  "member": "string",
16202
16202
  "name": "Region",
16203
16203
  "output_required": true,
@@ -1559,6 +1559,24 @@
1559
1559
  "name": "TechTitle",
1560
1560
  "required": false,
1561
1561
  "type": "string"
1562
+ },
1563
+ {
1564
+ "disabled": false,
1565
+ "document": "证书类型",
1566
+ "example": "81",
1567
+ "member": "int64",
1568
+ "name": "Type",
1569
+ "required": false,
1570
+ "type": "int"
1571
+ },
1572
+ {
1573
+ "disabled": false,
1574
+ "document": "只针对Dnspod系列证书有效,ca机构类型可为sectigo和digicert",
1575
+ "example": "sectigo",
1576
+ "member": "string",
1577
+ "name": "CaType",
1578
+ "required": false,
1579
+ "type": "string"
1562
1580
  }
1563
1581
  ],
1564
1582
  "type": "object"
@@ -270,13 +270,13 @@
270
270
  {
271
271
  "document": "获取审核中的证书详情",
272
272
  "input": "POST / HTTP/1.1\nHost: ssl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCertificateDetail\n<公共请求参数>\n\n{\n \"CertificateId\": \"aClRkC90\"\n}",
273
- "output": "{\n \"Response\": {\n \"OwnerUin\": \"815836472\",\n \"ProjectId\": \"0\",\n \"From\": \"trustasia\",\n \"OrderId\": \"u1hD8*****mXue\",\n \"CertificateType\": \"SVR\",\n \"PackageType\": \"48\",\n \"ProductZhName\": \"DNSPod-域名型(DV)SSL证书\",\n \"Domain\": \"ninghhuang.online\",\n \"Alias\": \"\",\n \"Status\": 4,\n \"StatusMsg\": \"CA-REVIEWING\",\n \"VulnerabilityStatus\": \"INACTIVE\",\n \"RootCert\": {\n \"Sign\": null,\n \"Encrypt\": null,\n \"Standard\": null\n },\n \"EncryptCert\": null,\n \"EncryptPrivateKey\": null,\n \"CertificatePrivateKey\": \"*******\",\n \"CertificatePublicKey\": null,\n \"CertBeginTime\": null,\n \"CertEndTime\": null,\n \"ValidityPeriod\": \"12\",\n \"InsertTime\": \"2024-12-02 19:12:46\",\n \"VulnerabilityReport\": null,\n \"CertificateId\": \"K33dxkOk\",\n \"TypeName\": \"DNSPod-域名型(DV)SSL证书\",\n \"StatusName\": \"待验证\",\n \"CertificateExtra\": {\n \"SMCert\": 0,\n \"ReplacedBy\": null,\n \"OriginCertificateId\": null,\n \"ReplacedFor\": null,\n \"RenewOrder\": null,\n \"DomainNumber\": \"1\",\n \"CompanyType\": 2\n },\n \"DvAuthDetail\": {\n \"DvAuths\": [\n {\n \"DvAuthKey\": \"_875bed25cf9e03596931d91cb0a52bd9.ninghhuang.online\",\n \"DvAuthValue\": \"a3108492878a2d989949fa50522dd2b0.cc7346307ff022fcfa68e025f6dbf6ad.cmcdpcwca5iljv.trust-provider.com\",\n \"DvAuthDomain\": \"ninghhuang.online\",\n \"DvAuthPath\": null,\n \"DvAuthSubDomain\": \"_875bed25cf9e03596931d91cb0a52bd9\",\n \"DvAuthVerifyType\": \"CNAME\"\n }\n ],\n \"DvAuthKey\": \"_875bed25cf9e03596931d91cb0a52bd9.ninghhuang.online\",\n \"DvAuthValue\": \"a3108492878a2d989949fa50522dd2b0.cc7346307ff022fcfa68e025f6dbf6ad.cmcdpcwca5iljv.trust-provider.com\",\n \"DvAuthDomain\": \"ni****ang.online\",\n \"DvAuthPath\": null,\n \"DvAuthKeySubDomain\": \"_875bed25cf9e03596931d91cb0a52bd9\"\n },\n \"VerifyType\": \"DNS_AUTO\",\n \"DvRevokeAuthDetail\": [],\n \"SubjectAltName\": [],\n \"IsVip\": true,\n \"IsWildcard\": false,\n \"IsDv\": true,\n \"IsVulnerability\": false,\n \"SubmittedData\": null,\n \"RenewAble\": false,\n \"Deployable\": true,\n \"Tags\": [],\n \"CertFingerprint\": null,\n \"EncryptCertFingerprint\": null,\n \"EncryptAlgorithm\": \"RSA 2048\",\n \"CertChainInfo\": null,\n \"RequestId\": \"14727a68-3b90-4408-99c9-dea6d7de9456\"\n }\n}",
273
+ "output": "{\n \"Response\": {\n \"OwnerUin\": \"815836472\",\n \"ProjectId\": \"0\",\n \"From\": \"trustasia\",\n \"OrderId\": \"u1hD8*****mXue\",\n \"CertificateType\": \"SVR\",\n \"PackageType\": \"48\",\n \"ProductZhName\": \"DNSPod-域名型(DV)SSL证书\",\n \"Domain\": \"ninghhuang.online\",\n \"Alias\": \"\",\n \"Status\": 4,\n \"StatusMsg\": \"CA-REVIEWING\",\n \"VulnerabilityStatus\": \"INACTIVE\",\n \"RootCert\": {\n \"Sign\": null,\n \"Encrypt\": null,\n \"Standard\": null\n },\n \"EncryptCert\": null,\n \"EncryptPrivateKey\": null,\n \"CertificatePrivateKey\": \"*******\",\n \"CertificatePublicKey\": null,\n \"CertBeginTime\": null,\n \"CertEndTime\": null,\n \"ValidityPeriod\": \"12\",\n \"InsertTime\": \"2024-12-02 19:12:46\",\n \"VulnerabilityReport\": null,\n \"CertificateId\": \"K33dxkOk\",\n \"TypeName\": \"DNSPod-域名型(DV)SSL证书\",\n \"StatusName\": \"待验证\",\n \"CertificateExtra\": {\n \"SMCert\": 0,\n \"ReplacedBy\": null,\n \"OriginCertificateId\": null,\n \"ReplacedFor\": null,\n \"RenewOrder\": null,\n \"DomainNumber\": \"1\",\n \"CompanyType\": 2\n },\n \"DvAuthDetail\": {\n \"DvAuths\": [\n {\n \"DvAuthKey\": \"_875bed25cf9e03596931d91cb0a52bd9.ninghhuang.online\",\n \"DvAuthValue\": \"a3108492878a2d989949fa50522dd2b0.cc7346307ff022fcfa68e025f6dbf6ad.cmcdpcwca5iljv.trust-provider.com\",\n \"DvAuthDomain\": \"ninghhuang.online\",\n \"DvAuthPath\": \"\",\n \"DvAuthSubDomain\": \"_875bed25cf9e03596931d91cb0a52bd9\",\n \"DvAuthVerifyType\": \"CNAME\"\n }\n ],\n \"DvAuthKey\": \"_875bed25cf9e03596931d91cb0a52bd9.ninghhuang.online\",\n \"DvAuthValue\": \"a3108492878a2d989949fa50522dd2b0.cc7346307ff022fcfa68e025f6dbf6ad.cmcdpcwca5iljv.trust-provider.com\",\n \"DvAuthDomain\": \"ni****ang.online\",\n \"DvAuthPath\": \"\",\n \"DvAuthKeySubDomain\": \"_875bed25cf9e03596931d91cb0a52bd9\"\n },\n \"VerifyType\": \"DNS_AUTO\",\n \"DvRevokeAuthDetail\": [],\n \"SubjectAltName\": [],\n \"IsVip\": true,\n \"IsWildcard\": false,\n \"IsDv\": true,\n \"IsVulnerability\": false,\n \"SubmittedData\": null,\n \"RenewAble\": false,\n \"Deployable\": true,\n \"Tags\": [],\n \"CertFingerprint\": null,\n \"EncryptCertFingerprint\": null,\n \"EncryptAlgorithm\": \"RSA 2048\",\n \"CertChainInfo\": null,\n \"RequestId\": \"14727a68-3b90-4408-99c9-dea6d7de9456\"\n }\n}",
274
274
  "title": "获取证书详情"
275
275
  },
276
276
  {
277
277
  "document": "获取已经审核通过的证书详情",
278
278
  "input": "POST / HTTP/1.1\nHost: ssl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCertificateDetail\n<公共请求参数>\n\n{\n \"CertificateId\": \"aCMEQWHt\"\n}",
279
- "output": "{\n \"Response\": {\n \"OwnerUin\": \"815836472\",\n \"ProjectId\": \"0\",\n \"From\": \"trustasia\",\n \"OrderId\": \"PVpvxIN2_E*****pvjw\",\n \"CertificateType\": \"SVR\",\n \"PackageType\": \"43\",\n \"ProductZhName\": \"DNSPod-企业型(OV)SSL证书\",\n \"Domain\": \"ninghhuang.online\",\n \"Alias\": \"\",\n \"Status\": 4,\n \"StatusMsg\": \"PRE-REVIEWING\",\n \"VulnerabilityStatus\": \"INACTIVE\",\n \"RootCert\": {\n \"Sign\": null,\n \"Encrypt\": null,\n \"Standard\": null\n },\n \"EncryptCert\": null,\n \"EncryptPrivateKey\": null,\n \"CertificatePrivateKey\": \"*****\",\n \"CertificatePublicKey\": null,\n \"CertBeginTime\": null,\n \"CertEndTime\": null,\n \"ValidityPeriod\": \"12\",\n \"InsertTime\": \"2024-11-27 20:06:51\",\n \"VulnerabilityReport\": null,\n \"CertificateId\": \"Jv8u7beI\",\n \"TypeName\": \"DNSPod-企业型(OV)SSL证书\",\n \"StatusName\": \"待验证\",\n \"CertificateExtra\": {\n \"SMCert\": 0,\n \"ReplacedBy\": null,\n \"OriginCertificateId\": null,\n \"ReplacedFor\": null,\n \"RenewOrder\": null,\n \"DomainNumber\": \"1\",\n \"CompanyType\": 2\n },\n \"DvAuthDetail\": {\n \"DvAuths\": [\n {\n \"DvAuthKey\": \"_882a77cde28ffe49e5764ab3afb75849.ninghhuang.online\",\n \"DvAuthValue\": \"97f80ec4c7947178cec6b5a093ed34b0.a5cd7986aaaffdfd37437c9c6de1dd30.cmcopc2ncmbffy.trust-provider.com\",\n \"DvAuthDomain\": \"ninghhuang.online\",\n \"DvAuthPath\": null,\n \"DvAuthSubDomain\": \"_882a77cde28ffe49e5764ab3afb75849\",\n \"DvAuthVerifyType\": \"CNAME\"\n }\n ],\n \"DvAuthKey\": \"_882a77cde28ffe49e5764ab3afb75849.ninghhuang.online\",\n \"DvAuthValue\": \"97f80ec4c7947178cec6b5a093ed34b0.a5cd7986aaaffdfd37437c9c6de1dd30.cmcopc2ncmbffy.trust-provider.com\",\n \"DvAuthDomain\": \"ninghhuang.online\",\n \"DvAuthPath\": null,\n \"DvAuthKeySubDomain\": \"_882a77cde28ffe49e5764ab3afb75849\"\n },\n \"VerifyType\": \"DNS_AUTO\",\n \"DvRevokeAuthDetail\": [],\n \"SubjectAltName\": [],\n \"IsVip\": true,\n \"IsWildcard\": false,\n \"IsDv\": false,\n \"IsVulnerability\": false,\n \"SubmittedData\": null,\n \"RenewAble\": false,\n \"Deployable\": true,\n \"Tags\": [],\n \"CertFingerprint\": null,\n \"EncryptCertFingerprint\": null,\n \"EncryptAlgorithm\": \"RSA 2048\",\n \"CertChainInfo\": null,\n \"RequestId\": \"14727a68-3b90-4408-99c9-dea6d7de9456\"\n }\n}",
279
+ "output": "{\n \"Response\": {\n \"OwnerUin\": \"815836472\",\n \"ProjectId\": \"0\",\n \"From\": \"trustasia\",\n \"OrderId\": \"PVpvxIN2_E*****pvjw\",\n \"CertificateType\": \"SVR\",\n \"PackageType\": \"43\",\n \"ProductZhName\": \"DNSPod-企业型(OV)SSL证书\",\n \"Domain\": \"ninghhuang.online\",\n \"Alias\": \"\",\n \"Status\": 4,\n \"StatusMsg\": \"PRE-REVIEWING\",\n \"VulnerabilityStatus\": \"INACTIVE\",\n \"RootCert\": {\n \"Sign\": null,\n \"Encrypt\": null,\n \"Standard\": null\n },\n \"EncryptCert\": null,\n \"EncryptPrivateKey\": null,\n \"CertificatePrivateKey\": \"*****\",\n \"CertificatePublicKey\": null,\n \"CertBeginTime\": null,\n \"CertEndTime\": null,\n \"ValidityPeriod\": \"12\",\n \"InsertTime\": \"2024-11-27 20:06:51\",\n \"VulnerabilityReport\": null,\n \"CertificateId\": \"Jv8u7beI\",\n \"TypeName\": \"DNSPod-企业型(OV)SSL证书\",\n \"StatusName\": \"待验证\",\n \"CertificateExtra\": {\n \"SMCert\": 0,\n \"ReplacedBy\": null,\n \"OriginCertificateId\": null,\n \"ReplacedFor\": null,\n \"RenewOrder\": null,\n \"DomainNumber\": \"1\",\n \"CompanyType\": 2\n },\n \"DvAuthDetail\": {\n \"DvAuths\": [\n {\n \"DvAuthKey\": \"_882a77cde28ffe49e5764ab3afb75849.ninghhuang.online\",\n \"DvAuthValue\": \"97f80ec4c7947178cec6b5a093ed34b0.a5cd7986aaaffdfd37437c9c6de1dd30.cmcopc2ncmbffy.trust-provider.com\",\n \"DvAuthDomain\": \"ninghhuang.online\",\n \"DvAuthPath\": \"\",\n \"DvAuthSubDomain\": \"_882a77cde28ffe49e5764ab3afb75849\",\n \"DvAuthVerifyType\": \"CNAME\"\n }\n ],\n \"DvAuthKey\": \"_882a77cde28ffe49e5764ab3afb75849.ninghhuang.online\",\n \"DvAuthValue\": \"97f80ec4c7947178cec6b5a093ed34b0.a5cd7986aaaffdfd37437c9c6de1dd30.cmcopc2ncmbffy.trust-provider.com\",\n \"DvAuthDomain\": \"ninghhuang.online\",\n \"DvAuthPath\": \"\",\n \"DvAuthKeySubDomain\": \"_882a77cde28ffe49e5764ab3afb75849\"\n },\n \"VerifyType\": \"DNS_AUTO\",\n \"DvRevokeAuthDetail\": [],\n \"SubjectAltName\": [],\n \"IsVip\": true,\n \"IsWildcard\": false,\n \"IsDv\": false,\n \"IsVulnerability\": false,\n \"SubmittedData\": null,\n \"RenewAble\": false,\n \"Deployable\": true,\n \"Tags\": [],\n \"CertFingerprint\": null,\n \"EncryptCertFingerprint\": null,\n \"EncryptAlgorithm\": \"RSA 2048\",\n \"CertChainInfo\": null,\n \"RequestId\": \"14727a68-3b90-4408-99c9-dea6d7de9456\"\n }\n}",
280
280
  "title": "获取证书详情-2"
281
281
  }
282
282
  ],
@@ -7054,8 +7054,8 @@
7054
7054
  },
7055
7055
  {
7056
7056
  "disabled": false,
7057
- "document": "Dockefile的路径",
7058
- "example": "Dockefile",
7057
+ "document": "Dockerfile的路径",
7058
+ "example": "Dockerfile",
7059
7059
  "member": "string",
7060
7060
  "name": "DockerfilePath",
7061
7061
  "output_required": true,
@@ -7095,7 +7095,7 @@
7095
7095
  {
7096
7096
  "disabled": false,
7097
7097
  "document": "策略类型",
7098
- "example": "Dockefile",
7098
+ "example": "Dockerfile",
7099
7099
  "member": "string",
7100
7100
  "name": "PolicyType",
7101
7101
  "output_required": true,
@@ -128,7 +128,7 @@
128
128
  "title": "无需凭证鉴权首次更新凭证链上状态"
129
129
  },
130
130
  {
131
- "document": "用于颁发凭证的DID标识是非本腾讯云账号创建的场景\n由于凭证颁发凭证的DID为非本账号创建,默认无设置凭证状态的权限,因此需要临时凭证进行操作鉴权\nOriginCredentialt和CredentialStatus不需设置,OperateCredential携带建操作鉴权临时凭证,凭证通过IssueCredential接口颁发,凭证参数说明如下:\n1. 凭证模板 id (cpt)固定为 1\n2. claim需三个字段:\n(1) action: 固定为updateCredentialState \n(2) originCredential: 携带待更新状态的凭证原始内容\n(3) credentialStatus: 凭证状态结构的json字符串,包括3个字段:\nId: 凭证 id,对应凭证的 id 字段 \nissuer: 凭证颁发者 Did \nStatus: 凭证状态(0:吊销;1:有效) \n3. ExpirationDate过期时间根据操作凭证创建时间和调用更新凭证状态接口的时间差来设置,通常状态实时更新,过期时间在1分钟内即可",
131
+ "document": "用于颁发凭证的DID标识是非本腾讯云账号创建的场景\n由于凭证颁发凭证的DID为非本账号创建,默认无设置凭证状态的权限,因此需要临时凭证进行操作鉴权\nOriginCredential和CredentialStatus不需设置,OperateCredential携带建操作鉴权临时凭证,凭证通过IssueCredential接口颁发,凭证参数说明如下:\n1. 凭证模板 id (cpt)固定为 1\n2. claim需三个字段:\n(1) action: 固定为updateCredentialState \n(2) originCredential: 携带待更新状态的凭证原始内容\n(3) credentialStatus: 凭证状态结构的json字符串,包括3个字段:\nId: 凭证 id,对应凭证的 id 字段 \nissuer: 凭证颁发者 Did \nStatus: 凭证状态(0:吊销;1:有效) \n3. ExpirationDate过期时间根据操作凭证创建时间和调用更新凭证状态接口的时间差来设置,通常状态实时更新,过期时间在1分钟内即可",
132
132
  "input": "POST / HTTP/1.1\nHost: tdid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCredentialState\n<公共请求参数>\n\n{\n \"DAPId\": 5,\n \"OperateCredential\": \"{\\n\\t\\\"cptId\\\": 1,\\n\\t\\\"issuer\\\": \\\"did:tdid:w1:0xe0fd109747937fbaf68ef1f615c2cd8e87d22ffb\\\",\\n\\t\\\"expirationDate\\\": \\\"2023-12-01T10:00:00+08:00\\\",\\n\\t\\\"issuanceDate\\\": \\\"2023-09-19T20:13:36+08:00\\\",\\n\\t\\\"context\\\": \\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\",\\n\\t\\\"id\\\": \\\"fw1652844bee8e5ecf1b404242b83f1b\\\",\\n\\t\\\"type\\\": [\\\"VerifiableCredential\\\"],\\n\\t\\\"credentialSubject\\\": {\\n\\t\\t\\\"CredentialStatus\\\": {\\n\\t\\t\\t\\\"id\\\": \\\"8818fdd61eb84e4a745a3b04c96e5237\\\",\\n\\t\\t\\t\\\"issuer\\\": \\\"did:tdid:w1:0xe0fd109747937fbaf68ef1f615c2cd8e87d22ffb\\\",\\n\\t\\t\\t\\\"status\\\": 1\\n\\t\\t},\\n\\t\\t\\\"action\\\": \\\"updateCredentialState\\\",\\n\\t\\t\\\"originCredential\\\": \\\"{\\\\\\\"cptId\\\\\\\":1,\\\\\\\"issuer\\\\\\\":\\\\\\\"did:tdid:w1:0xe0fd109747937fbaf68ef1f615c2cd8e87d22ffb\\\\\\\",\\\\\\\"expirationDate\\\\\\\":\\\\\\\"2023-12-01T10:00:00+08:00\\\\\\\",\\\\\\\"issuanceDate\\\\\\\":\\\\\\\"2023-09-19T20:04:20+08:00\\\\\\\",\\\\\\\"context\\\\\\\":\\\\\\\"https://github.com/TencentCloud-Blockchain/TDID/blob/main/context/v1\\\\\\\",\\\\\\\"id\\\\\\\":\\\\\\\"8818fdd61eb84e4a745a3b04c96e5237\\\\\\\",\\\\\\\"type\\\\\\\":[\\\\\\\"VerifiableCredential\\\\\\\"],\\\\\\\"credentialSubject\\\\\\\":{\\\\\\\"action\\\\\\\":\\\\\\\"updateCredentialState\\\\\\\"},\\\\\\\"proof\\\\\\\":{\\\\\\\"created\\\\\\\":\\\\\\\"2023-09-19T20:04:20+08:00\\\\\\\",\\\\\\\"creator\\\\\\\":\\\\\\\"did:tdid:w1:0xe0fd109747937fbaf68ef1f615c2cd8e87d22ffb#keys-0\\\\\\\",\\\\\\\"signatureValue\\\\\\\":\\\\\\\"MEUCIQDUneIwlLbh5AFjQt9HJhIZAQshT45/Em8hVOUjHcdu0QIgL3rg3A99qGGNszstF+GTV5IU4vT9OnI1lqM3f0w1JmI=\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"Secp256r1\\\\\\\",\\\\\\\"metaDigest\\\\\\\":\\\\\\\"6a216f84cb9w1b6170cb017cccd6w1d0b81aad200d5691914d6045471d0dd1ad\\\\\\\",\\\\\\\"vcDigest\\\\\\\":\\\\\\\"c7e13w1bcfa879c922f9141d085facc0ce1973e8d27d48238130739c1a332dcf\\\\\\\",\\\\\\\"privacy\\\\\\\":\\\\\\\"Public\\\\\\\",\\\\\\\"salt\\\\\\\":{\\\\\\\"action\\\\\\\":\\\\\\\"HZdDU\\\\\\\"}}}\\\"\\n\\t},\\n\\t\\\"proof\\\": {\\n\\t\\t\\\"created\\\": \\\"2023-09-19T20:13:36+08:00\\\",\\n\\t\\t\\\"creator\\\": \\\"did:tdid:w1:0xe0fd109747937fbaf68ef1f615c2cd8e87d22ffb#keys-0\\\",\\n\\t\\t\\\"signatureValue\\\": \\\"MEUCIDkLg6EqmwvEHYLtjumpeqKz/hIi6EROMDXPPpNIxORHAiEA8T0LMI59tkBTz+llu/GkjToj5M8k5SwXFoU3fnjQ3mo=\\\",\\n\\t\\t\\\"type\\\": \\\"Secp256r1\\\",\\n\\t\\t\\\"metaDigest\\\": \\\"46894b7f54365d685ba587608d2b74f800404ebb76f5c32dd90bc3916e844ae2\\\",\\n\\t\\t\\\"vcDigest\\\": \\\"d086ba831ab3185971c168w125bf2bd487d7eced3ede8d623b30cfe9da03bcaf\\\",\\n\\t\\t\\\"privacy\\\": \\\"Public\\\",\\n\\t\\t\\\"salt\\\": {\\n\\t\\t\\t\\\"CredentialStatus\\\": {\\n\\t\\t\\t\\t\\\"id\\\": \\\"4dPOH\\\",\\n\\t\\t\\t\\t\\\"issuer\\\": \\\"OJH5M\\\",\\n\\t\\t\\t\\t\\\"status\\\": \\\"lm2W4\\\"\\n\\t\\t\\t},\\n\\t\\t\\t\\\"action\\\": \\\"r95wA\\\",\\n\\t\\t\\t\\\"orignCredential\\\": \\\"b3H4j\\\"\\n\\t\\t}\\n\\t}\\n}\"\n}",
133
133
  "output": "{\n \"Response\": {\n \"RequestId\": \"f5e12d37-100a-4b82-b522-7b76c519ed70\",\n \"Result\": true\n }\n}",
134
134
  "title": "需要凭证鉴权首次更新凭证链上状态"
@@ -487,6 +487,58 @@ def doDescribeTrainingTasks(args, parsed_globals):
487
487
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
488
488
 
489
489
 
490
+ def doDescribeEvents(args, parsed_globals):
491
+ g_param = parse_global_arg(parsed_globals)
492
+
493
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
494
+ cred = credential.CVMRoleCredential()
495
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
496
+ cred = credential.STSAssumeRoleCredential(
497
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
498
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
499
+ )
500
+ 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):
501
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
502
+ else:
503
+ cred = credential.Credential(
504
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
505
+ )
506
+ http_profile = HttpProfile(
507
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
508
+ reqMethod="POST",
509
+ endpoint=g_param[OptionsDefine.Endpoint],
510
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
511
+ )
512
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
513
+ if g_param[OptionsDefine.Language]:
514
+ profile.language = g_param[OptionsDefine.Language]
515
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
516
+ client = mod.TioneClient(cred, g_param[OptionsDefine.Region], profile)
517
+ client._sdkVersion += ("_CLI_" + __version__)
518
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
519
+ model = models.DescribeEventsRequest()
520
+ model.from_json_string(json.dumps(args))
521
+ start_time = time.time()
522
+ while True:
523
+ rsp = client.DescribeEvents(model)
524
+ result = rsp.to_json_string()
525
+ try:
526
+ json_obj = json.loads(result)
527
+ except TypeError as e:
528
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
529
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
530
+ break
531
+ cur_time = time.time()
532
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
533
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
534
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
535
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
536
+ else:
537
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
538
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
539
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
540
+
541
+
490
542
  def doDescribeBuildInImages(args, parsed_globals):
491
543
  g_param = parse_global_arg(parsed_globals)
492
544
 
@@ -3525,6 +3577,7 @@ ACTION_MAP = {
3525
3577
  "CreateTrainingModel": doCreateTrainingModel,
3526
3578
  "UpdateNotebookInstance": doUpdateNotebookInstance,
3527
3579
  "DescribeTrainingTasks": doDescribeTrainingTasks,
3580
+ "DescribeEvents": doDescribeEvents,
3528
3581
  "DescribeBuildInImages": doDescribeBuildInImages,
3529
3582
  "DescribeNotebookLifecycleScripts": doDescribeNotebookLifecycleScripts,
3530
3583
  "StopTrainingJob": doStopTrainingJob,
@@ -147,6 +147,13 @@
147
147
  "output": "DescribeDatasetsResponse",
148
148
  "status": "online"
149
149
  },
150
+ "DescribeEvents": {
151
+ "document": "获取任务式建模训练任务,Notebook,在线服务和批量预测任务的事件API",
152
+ "input": "DescribeEventsRequest",
153
+ "name": "获取事件",
154
+ "output": "DescribeEventsResponse",
155
+ "status": "online"
156
+ },
150
157
  "DescribeInferTemplates": {
151
158
  "document": "已废弃,收敛到统一接口\n\n查询推理镜像模板",
152
159
  "input": "DescribeInferTemplatesRequest",
@@ -1357,6 +1364,24 @@
1357
1364
  "name": "HealthProbe",
1358
1365
  "required": false,
1359
1366
  "type": "object"
1367
+ },
1368
+ {
1369
+ "disabled": false,
1370
+ "document": "滚动更新策略",
1371
+ "example": "无",
1372
+ "member": "RollingUpdate",
1373
+ "name": "RollingUpdate",
1374
+ "required": false,
1375
+ "type": "object"
1376
+ },
1377
+ {
1378
+ "disabled": false,
1379
+ "document": "sidecar配置",
1380
+ "example": "无",
1381
+ "member": "SidecarSpec",
1382
+ "name": "Sidecar",
1383
+ "required": false,
1384
+ "type": "object"
1360
1385
  }
1361
1386
  ],
1362
1387
  "type": "object"
@@ -3941,6 +3966,125 @@
3941
3966
  ],
3942
3967
  "type": "object"
3943
3968
  },
3969
+ "DescribeEventsRequest": {
3970
+ "document": "DescribeEvents请求参数结构体",
3971
+ "members": [
3972
+ {
3973
+ "disabled": false,
3974
+ "document": "服务类型,TRAIN为任务式建模, NOTEBOOK为Notebook, INFER为在线服务, BATCH为批量预测\n枚举值:\n- TRAIN\n- NOTEBOOK\n- INFER\n- BATCH",
3975
+ "example": "TRAIN",
3976
+ "member": "string",
3977
+ "name": "Service",
3978
+ "required": true,
3979
+ "type": "string"
3980
+ },
3981
+ {
3982
+ "disabled": false,
3983
+ "document": "服务ID,和Service参数对应,不同Service的服务ID获取方式不同,具体如下:\n- Service类型为TRAIN:\n 调用[DescribeTrainingTask接口](/document/product/851/75089)查询训练任务详情,ServiceId为接口返回值中Response.TrainingTaskDetail.LatestInstanceId\n- Service类型为NOTEBOOK:\n 调用[DescribeNotebook接口](/document/product/851/95662)查询Notebook详情,ServiceId为接口返回值中Response.NotebookDetail.PodName\n- Service类型为INFER:\n 调用[DescribeModelServiceGroup接口](/document/product/851/82285)查询服务组详情,ServiceId为接口返回值中Response.ServiceGroup.Services.ServiceId\n- Service类型为BATCH:\n 调用[DescribeBatchTask接口](/document/product/851/80180)查询跑批任务详情,ServiceId为接口返回值中Response.BatchTaskDetail.LatestInstanceId",
3984
+ "example": "train-fsdjl-1",
3985
+ "member": "string",
3986
+ "name": "ServiceId",
3987
+ "required": false,
3988
+ "type": "string"
3989
+ },
3990
+ {
3991
+ "disabled": false,
3992
+ "document": "查询事件最早发生的时间(RFC3339格式的时间字符串),默认值为当前时间的前一天",
3993
+ "example": "2021-11-30T16:22:09+08:00",
3994
+ "member": "string",
3995
+ "name": "StartTime",
3996
+ "required": false,
3997
+ "type": "string"
3998
+ },
3999
+ {
4000
+ "disabled": false,
4001
+ "document": "查询事件最晚发生的时间(RFC3339格式的时间字符串),默认值为当前时间",
4002
+ "example": "2021-11-30T16:22:09+08:00",
4003
+ "member": "string",
4004
+ "name": "EndTime",
4005
+ "required": false,
4006
+ "type": "string"
4007
+ },
4008
+ {
4009
+ "disabled": false,
4010
+ "document": "分页Limit,默认值为100,最大值为100",
4011
+ "example": "100",
4012
+ "member": "uint64",
4013
+ "name": "Limit",
4014
+ "required": false,
4015
+ "type": "int"
4016
+ },
4017
+ {
4018
+ "disabled": false,
4019
+ "document": "分页Offset,默认值为0",
4020
+ "example": "1",
4021
+ "member": "uint64",
4022
+ "name": "Offset",
4023
+ "required": false,
4024
+ "type": "int"
4025
+ },
4026
+ {
4027
+ "disabled": false,
4028
+ "document": "排列顺序(可选值为ASC, DESC ),默认为DESC",
4029
+ "example": "DESC",
4030
+ "member": "string",
4031
+ "name": "Order",
4032
+ "required": false,
4033
+ "type": "string"
4034
+ },
4035
+ {
4036
+ "disabled": false,
4037
+ "document": "排序的依据字段(可选值为FirstTimestamp, LastTimestamp),默认值为LastTimestamp",
4038
+ "example": "LastTimestamp",
4039
+ "member": "string",
4040
+ "name": "OrderField",
4041
+ "required": false,
4042
+ "type": "string"
4043
+ },
4044
+ {
4045
+ "disabled": false,
4046
+ "document": "过滤条件\n注意: \n1. Filter.Name:目前支持ResourceKind(按事件关联的资源类型过滤);Type(按事件类型过滤)\n2. Filter.Values:\n对于Name为ResourceKind,Values的可选取值为Deployment, Replicaset, Pod等K8S资源类型;\n对于Name为Type,Values的可选取值仅为Normal或者Warning;\nValues为多个的时候表示同时满足\n3. Filter. Negative和Filter. Fuzzy没有使用",
4047
+ "example": "无",
4048
+ "member": "Filter",
4049
+ "name": "Filters",
4050
+ "required": false,
4051
+ "type": "list"
4052
+ }
4053
+ ],
4054
+ "type": "object"
4055
+ },
4056
+ "DescribeEventsResponse": {
4057
+ "document": "DescribeEvents返回参数结构体",
4058
+ "members": [
4059
+ {
4060
+ "disabled": false,
4061
+ "document": "事件的列表\n注意:此字段可能返回 null,表示取不到有效值。",
4062
+ "example": "无",
4063
+ "member": "Event",
4064
+ "name": "Events",
4065
+ "output_required": true,
4066
+ "type": "list",
4067
+ "value_allowed_null": true
4068
+ },
4069
+ {
4070
+ "disabled": false,
4071
+ "document": "此次查询的事件的个数\n注意:此字段可能返回 null,表示取不到有效值。",
4072
+ "example": "10",
4073
+ "member": "uint64",
4074
+ "name": "TotalCount",
4075
+ "output_required": true,
4076
+ "type": "int",
4077
+ "value_allowed_null": true
4078
+ },
4079
+ {
4080
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4081
+ "member": "string",
4082
+ "name": "RequestId",
4083
+ "type": "string"
4084
+ }
4085
+ ],
4086
+ "type": "object"
4087
+ },
3944
4088
  "DescribeInferTemplatesRequest": {
3945
4089
  "document": "DescribeInferTemplates请求参数结构体",
3946
4090
  "members": [],
@@ -5038,6 +5182,92 @@
5038
5182
  ],
5039
5183
  "usage": "both"
5040
5184
  },
5185
+ "Event": {
5186
+ "document": "K8s的Event",
5187
+ "members": [
5188
+ {
5189
+ "disabled": false,
5190
+ "document": "事件的id\n注意:此字段可能返回 null,表示取不到有效值。",
5191
+ "example": "xxx-xxx",
5192
+ "member": "string",
5193
+ "name": "Id",
5194
+ "required": true,
5195
+ "type": "string",
5196
+ "value_allowed_null": true
5197
+ },
5198
+ {
5199
+ "disabled": false,
5200
+ "document": "事件的具体信息\n注意:此字段可能返回 null,表示取不到有效值。",
5201
+ "example": "Created pod: ti-log-event-server-9f7dc5598-xxx",
5202
+ "member": "string",
5203
+ "name": "Message",
5204
+ "required": true,
5205
+ "type": "string",
5206
+ "value_allowed_null": true
5207
+ },
5208
+ {
5209
+ "disabled": false,
5210
+ "document": "事件第一次发生的时间\n注意:此字段可能返回 null,表示取不到有效值。",
5211
+ "example": "2021-11-30T16:22:09+08:00",
5212
+ "member": "string",
5213
+ "name": "FirstTimestamp",
5214
+ "required": true,
5215
+ "type": "string",
5216
+ "value_allowed_null": true
5217
+ },
5218
+ {
5219
+ "disabled": false,
5220
+ "document": "事件最后一次发生的时间\n注意:此字段可能返回 null,表示取不到有效值。",
5221
+ "example": "2021-11-30T16:22:09+08:00",
5222
+ "member": "string",
5223
+ "name": "LastTimestamp",
5224
+ "required": true,
5225
+ "type": "string",
5226
+ "value_allowed_null": true
5227
+ },
5228
+ {
5229
+ "disabled": false,
5230
+ "document": "事件发生的次数\n注意:此字段可能返回 null,表示取不到有效值。",
5231
+ "example": "12",
5232
+ "member": "uint64",
5233
+ "name": "Count",
5234
+ "required": true,
5235
+ "type": "int",
5236
+ "value_allowed_null": true
5237
+ },
5238
+ {
5239
+ "disabled": false,
5240
+ "document": "事件的类型\n注意:此字段可能返回 null,表示取不到有效值。",
5241
+ "example": "Normal",
5242
+ "member": "string",
5243
+ "name": "Type",
5244
+ "required": true,
5245
+ "type": "string",
5246
+ "value_allowed_null": true
5247
+ },
5248
+ {
5249
+ "disabled": false,
5250
+ "document": "事件关联的资源的类型\n注意:此字段可能返回 null,表示取不到有效值。",
5251
+ "example": "Pod",
5252
+ "member": "string",
5253
+ "name": "ResourceKind",
5254
+ "required": true,
5255
+ "type": "string",
5256
+ "value_allowed_null": true
5257
+ },
5258
+ {
5259
+ "disabled": false,
5260
+ "document": "事件关联的资源的名字\n注意:此字段可能返回 null,表示取不到有效值。",
5261
+ "example": "ti-log-event-server-9f7dc5598-xxx",
5262
+ "member": "string",
5263
+ "name": "ResourceName",
5264
+ "required": true,
5265
+ "type": "string",
5266
+ "value_allowed_null": true
5267
+ }
5268
+ ],
5269
+ "usage": "out"
5270
+ },
5041
5271
  "ExecAction": {
5042
5272
  "document": "执行命令探针检查行为",
5043
5273
  "members": [
@@ -7293,6 +7523,24 @@
7293
7523
  "name": "HealthProbe",
7294
7524
  "required": false,
7295
7525
  "type": "object"
7526
+ },
7527
+ {
7528
+ "disabled": false,
7529
+ "document": "滚动更新策略",
7530
+ "example": "无",
7531
+ "member": "RollingUpdate",
7532
+ "name": "RollingUpdate",
7533
+ "required": false,
7534
+ "type": "object"
7535
+ },
7536
+ {
7537
+ "disabled": false,
7538
+ "document": "sidecar配置",
7539
+ "example": "无",
7540
+ "member": "SidecarSpec",
7541
+ "name": "Sidecar",
7542
+ "required": false,
7543
+ "type": "object"
7296
7544
  }
7297
7545
  ],
7298
7546
  "type": "object"
@@ -8113,6 +8361,16 @@
8113
8361
  "type": "object",
8114
8362
  "value_allowed_null": true
8115
8363
  },
8364
+ {
8365
+ "disabled": false,
8366
+ "document": "子用户ID\n注意:此字段可能返回 null,表示取不到有效值。",
8367
+ "example": "100032979603",
8368
+ "member": "string",
8369
+ "name": "SubUin",
8370
+ "output_required": false,
8371
+ "type": "string",
8372
+ "value_allowed_null": true
8373
+ },
8116
8374
  {
8117
8375
  "disabled": false,
8118
8376
  "document": "子用户名称",
@@ -8362,12 +8620,22 @@
8362
8620
  {
8363
8621
  "disabled": false,
8364
8622
  "document": "pod资源配置\n注意:此字段可能返回 null,表示取不到有效值。",
8365
- "example": "{ \"Role\": \"WORKER\", \"Cpu\": 180000, \"Memory\": 921600, \"GpuType\": \"HCC-A100\", \"Gpu\": 800, \"InstanceType\": \"\", \"InstanceTypeAlias\": \"\", \"InstanceNum\": 2, \"RDMAConfig\": { \"Enable\": true }, \"ExtendedResourceList\": {}, \"ArchType\": \"\" }",
8623
+ "example": "{\"Role\": \"WORKER\", \"Cpu\": 180000,\"Memory\": 921600,\"GpuType\": \"HCC-A100\",\"Gpu\": 800, \"InstanceType\": \"\",\"InstanceTypeAlias\": \"\", \"InstanceNum\": 2,\"RDMAConfig\": {\"Enable\": true }}",
8366
8624
  "member": "ResourceConfigInfo",
8367
8625
  "name": "ResourceConfigInfo",
8368
8626
  "output_required": false,
8369
8627
  "type": "object",
8370
8628
  "value_allowed_null": true
8629
+ },
8630
+ {
8631
+ "disabled": false,
8632
+ "document": "Pod所属任务的SubUin信息\n注意:此字段可能返回 null,表示取不到有效值。",
8633
+ "example": "100031385875",
8634
+ "member": "string",
8635
+ "name": "SubUin",
8636
+ "output_required": false,
8637
+ "type": "string",
8638
+ "value_allowed_null": true
8371
8639
  }
8372
8640
  ],
8373
8641
  "usage": "out"
@@ -10397,6 +10665,23 @@
10397
10665
  ],
10398
10666
  "usage": "both"
10399
10667
  },
10668
+ "SidecarSpec": {
10669
+ "document": "sidecar容器配置",
10670
+ "members": [
10671
+ {
10672
+ "disabled": false,
10673
+ "document": "镜像配置",
10674
+ "example": "无",
10675
+ "member": "ImageInfo",
10676
+ "name": "ImageInfo",
10677
+ "output_required": false,
10678
+ "required": false,
10679
+ "type": "object",
10680
+ "value_allowed_null": false
10681
+ }
10682
+ ],
10683
+ "usage": "both"
10684
+ },
10400
10685
  "Spec": {
10401
10686
  "document": "计费项内容",
10402
10687
  "members": [
@@ -11907,6 +12192,26 @@
11907
12192
  "output_required": true,
11908
12193
  "type": "string",
11909
12194
  "value_allowed_null": true
12195
+ },
12196
+ {
12197
+ "disabled": false,
12198
+ "document": "任务subUin信息\n注意:此字段可能返回 null,表示取不到有效值。",
12199
+ "example": "无",
12200
+ "member": "string",
12201
+ "name": "SubUin",
12202
+ "output_required": false,
12203
+ "type": "string",
12204
+ "value_allowed_null": true
12205
+ },
12206
+ {
12207
+ "disabled": false,
12208
+ "document": "任务创建者名称\n注意:此字段可能返回 null,表示取不到有效值。",
12209
+ "example": "user",
12210
+ "member": "string",
12211
+ "name": "SubUinName",
12212
+ "output_required": false,
12213
+ "type": "string",
12214
+ "value_allowed_null": true
11910
12215
  }
11911
12216
  ],
11912
12217
  "usage": "out"
@@ -168,6 +168,14 @@
168
168
  "title": "查询数据集列表"
169
169
  }
170
170
  ],
171
+ "DescribeEvents": [
172
+ {
173
+ "document": "获取服务相关的事件(k8s事件)信息",
174
+ "input": "POST / HTTP/1.1\nHost: tione.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEvents\n<公共请求参数>\n\n{\n \"Service\": \"INFER\",\n \"Limit\": 10,\n \"Offset\": 0,\n \"Filters\": [\n {\n \"Name\": \"ResourceKind\",\n \"Values\": [\n \"Pod\"\n ]\n }\n ]\n}",
175
+ "output": "{\n \"Response\": {\n \"Events\": [\n {\n \"Id\": \"44b40fe5-9546-42fd-b75d-557802e0029d\",\n \"Message\": \"Created container sidecar-nginx\",\n \"FirstTimestamp\": \"2022-01-10T19:22:04+08:00\",\n \"LastTimestamp\": \"2022-01-10T19:22:04+08:00\",\n \"Count\": 1,\n \"Type\": \"Normal\",\n \"ResourceKind\": \"Pod\",\n \"ResourceName\": \"ms-cp6rgw9r-1-864587bdb4-p5cv6\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"090e057a-0d4e-488a-978b-83b1636fee99\"\n }\n}",
176
+ "title": "获取事件"
177
+ }
178
+ ],
171
179
  "DescribeInferTemplates": [
172
180
  {
173
181
  "document": "",
@@ -1754,7 +1754,7 @@
1754
1754
  {
1755
1755
  "disabled": false,
1756
1756
  "document": "校验规则相关选项,可配置跳过某些校验规则。目前支持GlobalRouteCIDRCheck(跳过GlobalRouter的相关校验),VpcCniCIDRCheck(跳过VpcCni相关校验)",
1757
- "example": "[[\"GlobalRouteCIDRCheck\",\"VpcCniCIDRCheck\"]",
1757
+ "example": "[\"GlobalRouteCIDRCheck\",\"VpcCniCIDRCheck\"]",
1758
1758
  "member": "string",
1759
1759
  "name": "SkipValidateOptions",
1760
1760
  "required": false,
@@ -1165,6 +1165,17 @@
1165
1165
  "required": false,
1166
1166
  "type": "string",
1167
1167
  "value_allowed_null": false
1168
+ },
1169
+ {
1170
+ "disabled": false,
1171
+ "document": "云盘ID\n注意:此字段可能返回 null,表示取不到有效值。",
1172
+ "example": "disk-kped07j8",
1173
+ "member": "string",
1174
+ "name": "DiskId",
1175
+ "output_required": false,
1176
+ "required": false,
1177
+ "type": "string",
1178
+ "value_allowed_null": true
1168
1179
  }
1169
1180
  ],
1170
1181
  "usage": "both"