tccli 3.0.1244.1__py2.py3-none-any.whl → 3.0.1246.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/__init__.py +3 -0
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +72 -0
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/dbbrain/dbbrain_client.py +57 -4
- tccli/services/dbbrain/v20210527/api.json +145 -0
- tccli/services/dbbrain/v20210527/examples.json +8 -0
- tccli/services/dbdc/v20201029/api.json +72 -72
- tccli/services/dcdb/v20180411/api.json +3 -3
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/iotexplorer/iotexplorer_client.py +216 -4
- tccli/services/iotexplorer/v20190423/api.json +146 -1
- tccli/services/iotexplorer/v20190423/examples.json +34 -2
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/lke/v20231130/api.json +30 -0
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +1426 -0
- tccli/services/lkeap/v20240522/api.json +1882 -0
- tccli/services/lkeap/v20240522/examples.json +215 -0
- tccli/services/mna/v20210119/api.json +7 -7
- tccli/services/mna/v20210119/examples.json +9 -9
- tccli/services/monitor/v20180724/api.json +74 -0
- tccli/services/ocr/ocr_client.py +91 -38
- tccli/services/ocr/v20181119/api.json +187 -0
- tccli/services/ocr/v20181119/examples.json +8 -0
- tccli/services/scf/v20180416/examples.json +2 -2
- tccli/services/sqlserver/v20180328/api.json +43 -5
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/tcb/v20180608/api.json +45 -39
- tccli/services/tcb/v20180608/examples.json +9 -9
- tccli/services/tcm/v20210413/api.json +9 -3
- tccli/services/tcm/v20210413/examples.json +7 -7
- tccli/services/tcr/v20190924/api.json +89 -89
- tccli/services/tcr/v20190924/examples.json +31 -31
- tccli/services/teo/v20220901/api.json +3 -3
- tccli/services/tke/v20180525/api.json +874 -688
- tccli/services/tke/v20180525/examples.json +40 -40
- tccli/services/tke/v20220501/api.json +16 -16
- tccli/services/tke/v20220501/examples.json +2 -2
- tccli/services/trocket/trocket_client.py +57 -4
- tccli/services/trocket/v20230308/api.json +143 -51
- tccli/services/trocket/v20230308/examples.json +11 -3
- tccli/services/vclm/v20240523/api.json +3 -3
- tccli/services/vpc/v20170312/api.json +20 -20
- tccli/services/vpc/v20170312/examples.json +19 -19
- tccli/services/waf/v20180125/api.json +1 -1
- tccli/services/wedata/v20210820/api.json +34 -1
- {tccli-3.0.1244.1.dist-info → tccli-3.0.1246.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1244.1.dist-info → tccli-3.0.1246.1.dist-info}/RECORD +55 -51
- {tccli-3.0.1244.1.dist-info → tccli-3.0.1246.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1244.1.dist-info → tccli-3.0.1246.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1244.1.dist-info → tccli-3.0.1246.1.dist-info}/license_files/LICENSE +0 -0
@@ -7738,7 +7738,7 @@
|
|
7738
7738
|
{
|
7739
7739
|
"disabled": false,
|
7740
7740
|
"document": "TDE透明数据加密配置",
|
7741
|
-
"example": "
|
7741
|
+
"example": "{\"Encryption\":\"disable\", \"CertificateAttribution\":\"self\"}",
|
7742
7742
|
"member": "TDEConfigAttribute",
|
7743
7743
|
"name": "TDEConfig",
|
7744
7744
|
"output_required": true,
|
@@ -7748,7 +7748,7 @@
|
|
7748
7748
|
{
|
7749
7749
|
"disabled": false,
|
7750
7750
|
"document": "SSL加密",
|
7751
|
-
"example": "
|
7751
|
+
"example": "{\"IsKMS\":0, \"Encryption\":\"disable\",\"SSLValidity\":0}",
|
7752
7752
|
"member": "SSLConfig",
|
7753
7753
|
"name": "SSLConfig",
|
7754
7754
|
"output_required": true,
|
@@ -7757,8 +7757,8 @@
|
|
7757
7757
|
},
|
7758
7758
|
{
|
7759
7759
|
"disabled": false,
|
7760
|
-
"document": "
|
7761
|
-
"example": "
|
7760
|
+
"document": "双节点备机只读信息",
|
7761
|
+
"example": "{\"DrInstanceId\":\"mssqldr-0918ha7\", \"Zone\":\"ap-guangzhou\",\"SlaveStatus\":\"disable\"}",
|
7762
7762
|
"member": "DrReadableInfo",
|
7763
7763
|
"name": "DrReadableInfo",
|
7764
7764
|
"output_required": true,
|
@@ -7775,6 +7775,26 @@
|
|
7775
7775
|
"type": "list",
|
7776
7776
|
"value_allowed_null": false
|
7777
7777
|
},
|
7778
|
+
{
|
7779
|
+
"disabled": false,
|
7780
|
+
"document": "操作日志采集状态,enable-采集中,disable-不可用,renew_doing-配置开启或关闭中",
|
7781
|
+
"example": "disable",
|
7782
|
+
"member": "string",
|
7783
|
+
"name": "XEventStatus",
|
7784
|
+
"output_required": false,
|
7785
|
+
"type": "string",
|
7786
|
+
"value_allowed_null": false
|
7787
|
+
},
|
7788
|
+
{
|
7789
|
+
"disabled": false,
|
7790
|
+
"document": "多节点备机只读信息",
|
7791
|
+
"example": "[{\"DrInstanceId\":\"mssqldr-0918ha7\", \"Zone\":\"ap-guangzhou\",\"SlaveStatus\":\"disable\"}]",
|
7792
|
+
"member": "DrReadableInfo",
|
7793
|
+
"name": "MultiDrReadableInfo",
|
7794
|
+
"output_required": false,
|
7795
|
+
"type": "list",
|
7796
|
+
"value_allowed_null": false
|
7797
|
+
},
|
7778
7798
|
{
|
7779
7799
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7780
7800
|
"member": "string",
|
@@ -7924,7 +7944,7 @@
|
|
7924
7944
|
},
|
7925
7945
|
{
|
7926
7946
|
"disabled": false,
|
7927
|
-
"document": "实例类型 HA-高可用 RO-只读实例 SI-基础版 BI
|
7947
|
+
"document": "实例类型 HA-高可用 RO-只读实例 SI-基础版 BI-商业智能服务,cvmHA-云盘双机高可用,cvmRO-云盘只读副本,MultiHA-多节点,cvmMultiHA-云盘多节点",
|
7928
7948
|
"example": "HA",
|
7929
7949
|
"member": "string",
|
7930
7950
|
"name": "InstanceType",
|
@@ -13779,6 +13799,15 @@
|
|
13779
13799
|
"name": "DRNetwork",
|
13780
13800
|
"required": false,
|
13781
13801
|
"type": "int"
|
13802
|
+
},
|
13803
|
+
{
|
13804
|
+
"disabled": false,
|
13805
|
+
"document": "备机资源ID。当DRNetwork = 1时必填",
|
13806
|
+
"example": "mssqldr-juiay7a",
|
13807
|
+
"member": "string",
|
13808
|
+
"name": "DrInstanceId",
|
13809
|
+
"required": false,
|
13810
|
+
"type": "string"
|
13782
13811
|
}
|
13783
13812
|
],
|
13784
13813
|
"type": "object"
|
@@ -18170,6 +18199,15 @@
|
|
18170
18199
|
"name": "WaitSwitch",
|
18171
18200
|
"required": false,
|
18172
18201
|
"type": "int"
|
18202
|
+
},
|
18203
|
+
{
|
18204
|
+
"disabled": false,
|
18205
|
+
"document": "多节点架构实例的备节点可用区,默认为空。如果需要在变配的同时修改指定备节点的可用区时必传,当MultiZones = MultiZones时主节点和备节点可用区不能全部相同。备机可用区集合最小为2个,最大不超过5个。\n",
|
18206
|
+
"example": "[\"ap-guangzhou-3\"]",
|
18207
|
+
"member": "DrZoneInfo",
|
18208
|
+
"name": "DrZones",
|
18209
|
+
"required": false,
|
18210
|
+
"type": "list"
|
18173
18211
|
}
|
18174
18212
|
],
|
18175
18213
|
"type": "object"
|
@@ -412,7 +412,7 @@
|
|
412
412
|
{
|
413
413
|
"document": "",
|
414
414
|
"input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstances\n<公共请求参数>\n\n{\n \"Status\": \"2\",\n \"SearchKey\": \"172.17.0.12\",\n \"VpcId\": \"vpc-mknbt351\",\n \"Zone\": \"ap-guangzhou-2\",\n \"VersionSet\": [\n \"2008R2\"\n ],\n \"ProjectId\": \"0\",\n \"Offset\": \"0\",\n \"PayMode\": \"1\",\n \"Limit\": \"3\",\n \"InstanceIdSet\": [\n \"mssql-3l3fgqn7\"\n ],\n \"SubnetId\": \"subnet-f72hylo6\",\n \"TagKeys\": [\n \"测试tag\"\n ],\n \"VipSet\": [\n \"172.1.0.12\"\n ],\n \"InstanceNameSet\": [\n \"数仓\"\n ]\n}",
|
415
|
-
"output": "{\n \"Response\": {\n \"DBInstances\": [\n {\n \"BackupCycle\": [\n 1\n ],\n \"BackupCycleType\": \"daily\",\n \"BackupModel\": \"
|
415
|
+
"output": "{\n \"Response\": {\n \"DBInstances\": [\n {\n \"Architecture\": \"MULTI\",\n \"BackupCycle\": [\n 1\n ],\n \"BackupCycleType\": \"daily\",\n \"BackupModel\": \"master_no_pkg\",\n \"BackupSaveDays\": 7,\n \"BackupTime\": \"00:15:15\",\n \"Collation\": \"Chinese_PRC_CI_AS\",\n \"Cpu\": 2,\n \"CreateTime\": \"2024-09-26 20:00:59\",\n \"CrossBackupEnabled\": \"disable\",\n \"CrossBackupSaveDays\": 0,\n \"CrossRegions\": [],\n \"DnsPodDomain\": \"\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"HAFlag\": \"MIRROR\",\n \"InstanceId\": \"mssql-25psend9\",\n \"InstanceNote\": \"\",\n \"InstanceType\": \"cvmMultiHA\",\n \"IsDrZone\": true,\n \"IsolateOperator\": \"\",\n \"IsolateTime\": \"0000-00-00 00:00:00\",\n \"Memory\": 4,\n \"Model\": 7,\n \"MultiSlaveZones\": [\n {\n \"DrInstanceId\": \"mssqldr-phqpv3mz\",\n \"SlaveZone\": \"ap-guangzhou-3\",\n \"SlaveZoneName\": \"广州三区\"\n },\n {\n \"DrInstanceId\": \"mssqldr-6fcqb0vd\",\n \"SlaveZone\": \"ap-guangzhou-3\",\n \"SlaveZoneName\": \"广州三区\"\n }\n ],\n \"Name\": \"ac9488be-9cd7-4db9-93f0-d698795833db\",\n \"PayMode\": 0,\n \"Pid\": 1038028,\n \"ProjectId\": 0,\n \"ROFlag\": \"\",\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": 1,\n \"RenewFlag\": 0,\n \"ResourceTags\": null,\n \"SlaveZones\": {\n \"SlaveZone\": \"\",\n \"SlaveZoneName\": \"\"\n },\n \"StartTime\": \"2024-09-26 20:00:59\",\n \"Status\": 2,\n \"Storage\": 20,\n \"Style\": \"EXCLUSIVE\",\n \"SubFlag\": \"\",\n \"SubnetId\": 2920039,\n \"TgwWanVPort\": 0,\n \"TimeZone\": \"China Standard Time\",\n \"Type\": \"CLOUD_BSSD\",\n \"Uid\": \"gamedb.gz1000432.mssql.db\",\n \"UniqSubnetId\": \"subnet-1qz3tgim\",\n \"UniqVpcId\": \"vpc-idmq8dwn\",\n \"UpdateTime\": \"2024-09-26 20:30:29\",\n \"UsedStorage\": 0,\n \"Version\": \"2017\",\n \"VersionName\": \"SQL Server 2017 Enterprise\",\n \"Vip\": \"172.16.64.6\",\n \"VpcId\": 81006,\n \"Vport\": 1433,\n \"Zone\": \"ap-guangzhou-6\",\n \"ZoneId\": 100006\n }\n ],\n \"RequestId\": \"eca79e80-7c7a-11ef-95d0-525400853186\",\n \"TotalCount\": 1\n }\n}",
|
416
416
|
"title": "查询实例列表"
|
417
417
|
}
|
418
418
|
],
|
@@ -420,7 +420,7 @@
|
|
420
420
|
{
|
421
421
|
"document": "查询实例附属属性",
|
422
422
|
"input": "POST / HTTP/1.1\nHost: sqlserver.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDBInstancesAttribute\n<公共请求参数>\n\n{\n \"InstanceId\": \"mssql-j8kv137v\"\n}",
|
423
|
-
"output": "{\n \"Response\": {\n \"BlockedThreshold\": 0,\n \"EventSaveDays\": 7,\n \"InstanceId\": \"mssql-
|
423
|
+
"output": "{\n \"Response\": {\n \"BlockedThreshold\": 0,\n \"DrReadableInfo\": {\n \"DrInstanceId\": \"mssqldr-oo1\",\n \"Zone\": \"ap-guangzhou\",\n \"RoWeight\": 0,\n \"ReadableStatus\": \"\",\n \"ReadMode\": \"BalancedReadOnly\",\n \"SlaveStatus\": \"\",\n \"UniqSubnetId\": \"\",\n \"UniqVpcId\": \"\",\n \"VPort\": 0,\n \"Vip\": \"\"\n },\n \"EventSaveDays\": 7,\n \"InstanceId\": \"mssql-9pk12q33\",\n \"OldVipList\": [],\n \"RegularBackupCounts\": 100,\n \"RegularBackupEnable\": \"disable\",\n \"RegularBackupSaveDays\": 123,\n \"RegularBackupStartTime\": \"2024-06-17\",\n \"RegularBackupStrategy\": \"years\",\n \"RequestId\": \"c1bd8e12-4744-4d95-b08e-fbc2d8477c11\",\n \"SSLConfig\": {\n \"Encryption\": \"disable\",\n \"SSLValidity\": 0,\n \"SSLValidityPeriod\": \"0000-00-00 00:00:00\"\n },\n \"TDEConfig\": {\n \"CertificateAttribution\": \"none\",\n \"Encryption\": \"disable\",\n \"QuoteUin\": \"\"\n },\n \"XEventStatus\": \"disable\",\n \"MultiDrReadableInfo\": [\n {\n \"DrInstanceId\": \"mssqldr-jia78a\",\n \"Zone\": \"ap-guangzhou-3\",\n \"SlaveStatus\": \"DR_RUNNING\",\n \"ReadableStatus\": \"disable\",\n \"ReadMode\": \"BalancedReadOnly\",\n \"Vip\": \"\",\n \"VPort\": 1433,\n \"UniqVpcId\": \"\",\n \"UniqSubnetId\": \"\",\n \"RoWeight\": 1\n }\n ]\n }\n}",
|
424
424
|
"title": "查询实例mssql-j8kv137v的附属属性"
|
425
425
|
}
|
426
426
|
],
|
@@ -402,7 +402,7 @@
|
|
402
402
|
"DescribePostpayFreeQuotas": {
|
403
403
|
"document": "查询后付费资源免费量",
|
404
404
|
"input": "DescribePostpayFreeQuotasRequest",
|
405
|
-
"name": "
|
405
|
+
"name": "查询后付费资源免费用量",
|
406
406
|
"output": "DescribePostpayFreeQuotasResponse",
|
407
407
|
"status": "online"
|
408
408
|
},
|
@@ -830,7 +830,7 @@
|
|
830
830
|
"usage": "out"
|
831
831
|
},
|
832
832
|
"BaasPackageInfo": {
|
833
|
-
"document": "
|
833
|
+
"document": "云开发新套餐详情",
|
834
834
|
"members": [
|
835
835
|
{
|
836
836
|
"disabled": false,
|
@@ -838,7 +838,7 @@
|
|
838
838
|
"example": "personal_calculation",
|
839
839
|
"member": "string",
|
840
840
|
"name": "PackageName",
|
841
|
-
"
|
841
|
+
"output_required": true,
|
842
842
|
"type": "string",
|
843
843
|
"value_allowed_null": true
|
844
844
|
},
|
@@ -848,7 +848,7 @@
|
|
848
848
|
"example": "个人版-计算型",
|
849
849
|
"member": "string",
|
850
850
|
"name": "PackageTitle",
|
851
|
-
"
|
851
|
+
"output_required": true,
|
852
852
|
"type": "string",
|
853
853
|
"value_allowed_null": true
|
854
854
|
},
|
@@ -858,7 +858,7 @@
|
|
858
858
|
"example": "calculation",
|
859
859
|
"member": "string",
|
860
860
|
"name": "GroupName",
|
861
|
-
"
|
861
|
+
"output_required": true,
|
862
862
|
"type": "string",
|
863
863
|
"value_allowed_null": true
|
864
864
|
},
|
@@ -868,17 +868,17 @@
|
|
868
868
|
"example": "计算型",
|
869
869
|
"member": "string",
|
870
870
|
"name": "GroupTitle",
|
871
|
-
"
|
871
|
+
"output_required": true,
|
872
872
|
"type": "string",
|
873
873
|
"value_allowed_null": true
|
874
874
|
},
|
875
875
|
{
|
876
876
|
"disabled": false,
|
877
877
|
"document": "json格式化计费标签,例如:\n{\"pid\":2, \"cids\":{\"create\": 2, \"renew\": 2, \"modify\": 2}, \"productCode\":\"p_tcb_mp\", \"subProductCode\":\"sp_tcb_mp_cloudbase_dau\"}\n注意:此字段可能返回 null,表示取不到有效值。",
|
878
|
-
"example": "
|
878
|
+
"example": "{\"pid\":2, \"cids\":{\"create\": 2, \"renew\": 2, \"modify\": 2}, \"productCode\":\"p_tcb_mp\", \"subProductCode\":\"sp_tcb_mp_cloudbase_dau\"}",
|
879
879
|
"member": "string",
|
880
880
|
"name": "BillTags",
|
881
|
-
"
|
881
|
+
"output_required": true,
|
882
882
|
"type": "string",
|
883
883
|
"value_allowed_null": true
|
884
884
|
},
|
@@ -888,7 +888,7 @@
|
|
888
888
|
"example": "参考接口示例",
|
889
889
|
"member": "string",
|
890
890
|
"name": "ResourceLimit",
|
891
|
-
"
|
891
|
+
"output_required": true,
|
892
892
|
"type": "string",
|
893
893
|
"value_allowed_null": true
|
894
894
|
},
|
@@ -898,7 +898,7 @@
|
|
898
898
|
"example": "参考接口示例",
|
899
899
|
"member": "string",
|
900
900
|
"name": "AdvanceLimit",
|
901
|
-
"
|
901
|
+
"output_required": true,
|
902
902
|
"type": "string",
|
903
903
|
"value_allowed_null": true
|
904
904
|
},
|
@@ -908,7 +908,7 @@
|
|
908
908
|
"example": "适合商家小程序",
|
909
909
|
"member": "string",
|
910
910
|
"name": "PackageDescription",
|
911
|
-
"
|
911
|
+
"output_required": true,
|
912
912
|
"type": "string",
|
913
913
|
"value_allowed_null": true
|
914
914
|
},
|
@@ -918,7 +918,7 @@
|
|
918
918
|
"example": "false",
|
919
919
|
"member": "bool",
|
920
920
|
"name": "IsExternal",
|
921
|
-
"
|
921
|
+
"output_required": true,
|
922
922
|
"type": "bool",
|
923
923
|
"value_allowed_null": true
|
924
924
|
}
|
@@ -3060,7 +3060,7 @@
|
|
3060
3060
|
{
|
3061
3061
|
"disabled": false,
|
3062
3062
|
"document": "需要转发的云API参数,要转成JSON格式",
|
3063
|
-
"example": "{}",
|
3063
|
+
"example": "{\"WxAppId\":\"wx989d74faaeb9fbdc\",\"EnvType\":\"baas\"}",
|
3064
3064
|
"member": "string",
|
3065
3065
|
"name": "JSONData",
|
3066
3066
|
"required": false,
|
@@ -3087,7 +3087,7 @@
|
|
3087
3087
|
"example": "d",
|
3088
3088
|
"member": "string",
|
3089
3089
|
"name": "JSONResp",
|
3090
|
-
"
|
3090
|
+
"output_required": true,
|
3091
3091
|
"type": "string",
|
3092
3092
|
"value_allowed_null": false
|
3093
3093
|
},
|
@@ -3893,7 +3893,7 @@
|
|
3893
3893
|
{
|
3894
3894
|
"disabled": false,
|
3895
3895
|
"document": "扩展ID",
|
3896
|
-
"example": "
|
3896
|
+
"example": "ext-aabbccddef",
|
3897
3897
|
"member": "string",
|
3898
3898
|
"name": "ExtensionId",
|
3899
3899
|
"required": false,
|
@@ -3920,7 +3920,7 @@
|
|
3920
3920
|
{
|
3921
3921
|
"disabled": false,
|
3922
3922
|
"document": "附加字段,用于透传额外的自定义信息",
|
3923
|
-
"example": "
|
3923
|
+
"example": "{\"abc\":\"def\"}",
|
3924
3924
|
"member": "string",
|
3925
3925
|
"name": "Extra",
|
3926
3926
|
"required": false,
|
@@ -3938,6 +3938,7 @@
|
|
3938
3938
|
"example": "20200603119423",
|
3939
3939
|
"member": "string",
|
3940
3940
|
"name": "TranId",
|
3941
|
+
"output_required": true,
|
3941
3942
|
"type": "string",
|
3942
3943
|
"value_allowed_null": false
|
3943
3944
|
},
|
@@ -3947,6 +3948,7 @@
|
|
3947
3948
|
"example": "cdnheader-v2a",
|
3948
3949
|
"member": "string",
|
3949
3950
|
"name": "EnvId",
|
3951
|
+
"output_required": true,
|
3950
3952
|
"type": "string",
|
3951
3953
|
"value_allowed_null": true
|
3952
3954
|
},
|
@@ -4895,7 +4897,7 @@
|
|
4895
4897
|
{
|
4896
4898
|
"disabled": false,
|
4897
4899
|
"document": "tcb产品套餐ID,不填拉取全量package信息。",
|
4898
|
-
"example": "
|
4900
|
+
"example": "baas_personal",
|
4899
4901
|
"member": "string",
|
4900
4902
|
"name": "PackageName",
|
4901
4903
|
"required": false,
|
@@ -4904,7 +4906,7 @@
|
|
4904
4906
|
{
|
4905
4907
|
"disabled": false,
|
4906
4908
|
"document": "环境ID",
|
4907
|
-
"example": "
|
4909
|
+
"example": "env-xxyyzzaabb",
|
4908
4910
|
"member": "string",
|
4909
4911
|
"name": "EnvId",
|
4910
4912
|
"required": false,
|
@@ -4976,7 +4978,7 @@
|
|
4976
4978
|
"example": "无",
|
4977
4979
|
"member": "BaasPackageInfo",
|
4978
4980
|
"name": "PackageList",
|
4979
|
-
"
|
4981
|
+
"output_required": true,
|
4980
4982
|
"type": "list",
|
4981
4983
|
"value_allowed_null": false
|
4982
4984
|
},
|
@@ -7524,9 +7526,10 @@
|
|
7524
7526
|
{
|
7525
7527
|
"disabled": false,
|
7526
7528
|
"document": "权限标签。包含以下取值:\n<li> READONLY:所有用户可读,仅创建者和管理员可写</li>\n<li> PRIVATE:仅创建者及管理员可读写</li>\n<li> ADMINWRITE:所有用户可读,仅管理员可写</li>\n<li> ADMINONLY:仅管理员可读写</li>",
|
7527
|
-
"example": "
|
7529
|
+
"example": "READONLY",
|
7528
7530
|
"member": "string",
|
7529
7531
|
"name": "AclTag",
|
7532
|
+
"output_required": true,
|
7530
7533
|
"type": "string",
|
7531
7534
|
"value_allowed_null": false
|
7532
7535
|
},
|
@@ -7912,7 +7915,7 @@
|
|
7912
7915
|
"example": "1",
|
7913
7916
|
"member": "int64",
|
7914
7917
|
"name": "MaxEnvNum",
|
7915
|
-
"
|
7918
|
+
"output_required": true,
|
7916
7919
|
"type": "int",
|
7917
7920
|
"value_allowed_null": false
|
7918
7921
|
},
|
@@ -7922,7 +7925,7 @@
|
|
7922
7925
|
"example": "1",
|
7923
7926
|
"member": "int64",
|
7924
7927
|
"name": "CurrentEnvNum",
|
7925
|
-
"
|
7928
|
+
"output_required": true,
|
7926
7929
|
"type": "int",
|
7927
7930
|
"value_allowed_null": false
|
7928
7931
|
},
|
@@ -7932,7 +7935,7 @@
|
|
7932
7935
|
"example": "1",
|
7933
7936
|
"member": "int64",
|
7934
7937
|
"name": "MaxFreeEnvNum",
|
7935
|
-
"
|
7938
|
+
"output_required": true,
|
7936
7939
|
"type": "int",
|
7937
7940
|
"value_allowed_null": false
|
7938
7941
|
},
|
@@ -7942,7 +7945,7 @@
|
|
7942
7945
|
"example": "1",
|
7943
7946
|
"member": "int64",
|
7944
7947
|
"name": "CurrentFreeEnvNum",
|
7945
|
-
"
|
7948
|
+
"output_required": true,
|
7946
7949
|
"type": "int",
|
7947
7950
|
"value_allowed_null": false
|
7948
7951
|
},
|
@@ -7952,7 +7955,7 @@
|
|
7952
7955
|
"example": "1",
|
7953
7956
|
"member": "int64",
|
7954
7957
|
"name": "MaxDeleteTotal",
|
7955
|
-
"
|
7958
|
+
"output_required": true,
|
7956
7959
|
"type": "int",
|
7957
7960
|
"value_allowed_null": false
|
7958
7961
|
},
|
@@ -7962,7 +7965,7 @@
|
|
7962
7965
|
"example": "1",
|
7963
7966
|
"member": "int64",
|
7964
7967
|
"name": "CurrentDeleteTotal",
|
7965
|
-
"
|
7968
|
+
"output_required": true,
|
7966
7969
|
"type": "int",
|
7967
7970
|
"value_allowed_null": false
|
7968
7971
|
},
|
@@ -7972,7 +7975,7 @@
|
|
7972
7975
|
"example": "1",
|
7973
7976
|
"member": "int64",
|
7974
7977
|
"name": "MaxDeleteMonthly",
|
7975
|
-
"
|
7978
|
+
"output_required": true,
|
7976
7979
|
"type": "int",
|
7977
7980
|
"value_allowed_null": false
|
7978
7981
|
},
|
@@ -7982,7 +7985,7 @@
|
|
7982
7985
|
"example": "1",
|
7983
7986
|
"member": "int64",
|
7984
7987
|
"name": "CurrentDeleteMonthly",
|
7985
|
-
"
|
7988
|
+
"output_required": true,
|
7986
7989
|
"type": "int",
|
7987
7990
|
"value_allowed_null": false
|
7988
7991
|
},
|
@@ -7992,7 +7995,7 @@
|
|
7992
7995
|
"example": "1",
|
7993
7996
|
"member": "int64",
|
7994
7997
|
"name": "MaxFreeTrialNum",
|
7995
|
-
"
|
7998
|
+
"output_required": true,
|
7996
7999
|
"type": "int",
|
7997
8000
|
"value_allowed_null": false
|
7998
8001
|
},
|
@@ -8002,7 +8005,7 @@
|
|
8002
8005
|
"example": "0",
|
8003
8006
|
"member": "int64",
|
8004
8007
|
"name": "CurrentFreeTrialNum",
|
8005
|
-
"
|
8008
|
+
"output_required": true,
|
8006
8009
|
"type": "int",
|
8007
8010
|
"value_allowed_null": false
|
8008
8011
|
},
|
@@ -8012,7 +8015,7 @@
|
|
8012
8015
|
"example": "0",
|
8013
8016
|
"member": "int64",
|
8014
8017
|
"name": "ChangePayTotal",
|
8015
|
-
"
|
8018
|
+
"output_required": true,
|
8016
8019
|
"type": "int",
|
8017
8020
|
"value_allowed_null": false
|
8018
8021
|
},
|
@@ -8022,7 +8025,7 @@
|
|
8022
8025
|
"example": "0",
|
8023
8026
|
"member": "int64",
|
8024
8027
|
"name": "CurrentChangePayTotal",
|
8025
|
-
"
|
8028
|
+
"output_required": true,
|
8026
8029
|
"type": "int",
|
8027
8030
|
"value_allowed_null": false
|
8028
8031
|
},
|
@@ -8032,7 +8035,7 @@
|
|
8032
8035
|
"example": "0",
|
8033
8036
|
"member": "int64",
|
8034
8037
|
"name": "ChangePayMonthly",
|
8035
|
-
"
|
8038
|
+
"output_required": true,
|
8036
8039
|
"type": "int",
|
8037
8040
|
"value_allowed_null": false
|
8038
8041
|
},
|
@@ -8042,7 +8045,7 @@
|
|
8042
8045
|
"example": "0",
|
8043
8046
|
"member": "int64",
|
8044
8047
|
"name": "CurrentChangePayMonthly",
|
8045
|
-
"
|
8048
|
+
"output_required": true,
|
8046
8049
|
"type": "int",
|
8047
8050
|
"value_allowed_null": false
|
8048
8051
|
},
|
@@ -8643,7 +8646,7 @@
|
|
8643
8646
|
{
|
8644
8647
|
"disabled": false,
|
8645
8648
|
"document": "环境ID",
|
8646
|
-
"example": "
|
8649
|
+
"example": "env-xxyyzzaa",
|
8647
8650
|
"member": "string",
|
8648
8651
|
"name": "EnvId",
|
8649
8652
|
"required": true,
|
@@ -8661,6 +8664,7 @@
|
|
8661
8664
|
"example": "无",
|
8662
8665
|
"member": "FreequotaInfo",
|
8663
8666
|
"name": "FreequotaInfoList",
|
8667
|
+
"output_required": true,
|
8664
8668
|
"type": "list",
|
8665
8669
|
"value_allowed_null": true
|
8666
8670
|
},
|
@@ -8679,7 +8683,7 @@
|
|
8679
8683
|
{
|
8680
8684
|
"disabled": false,
|
8681
8685
|
"document": "环境ID",
|
8682
|
-
"example": "
|
8686
|
+
"example": "env-xxyyzzaa",
|
8683
8687
|
"member": "string",
|
8684
8688
|
"name": "EnvId",
|
8685
8689
|
"required": false,
|
@@ -8688,7 +8692,7 @@
|
|
8688
8692
|
{
|
8689
8693
|
"disabled": false,
|
8690
8694
|
"document": "免费额度类型标识",
|
8691
|
-
"example": "
|
8695
|
+
"example": "free",
|
8692
8696
|
"member": "string",
|
8693
8697
|
"name": "FreeQuotaType",
|
8694
8698
|
"required": false,
|
@@ -8706,6 +8710,7 @@
|
|
8706
8710
|
"example": "无",
|
8707
8711
|
"member": "PackageFreeQuotaInfo",
|
8708
8712
|
"name": "PackageFreeQuotaInfos",
|
8713
|
+
"output_required": true,
|
8709
8714
|
"type": "list",
|
8710
8715
|
"value_allowed_null": true
|
8711
8716
|
},
|
@@ -12090,7 +12095,7 @@
|
|
12090
12095
|
{
|
12091
12096
|
"disabled": false,
|
12092
12097
|
"document": "鉴权token",
|
12093
|
-
"example": "\"
|
12098
|
+
"example": "\"tokenxzjkdlfjlks\"",
|
12094
12099
|
"member": "string",
|
12095
12100
|
"name": "ChannelToken",
|
12096
12101
|
"required": false,
|
@@ -12525,7 +12530,7 @@
|
|
12525
12530
|
{
|
12526
12531
|
"disabled": false,
|
12527
12532
|
"document": "加载更多使用,透传上次返回的 context 值,获取后续的日志内容,通过游标最多可获取10000条,请尽可能缩小时间范围",
|
12528
|
-
"example": "
|
12533
|
+
"example": "ctxxu4igkldjkjiut4jkgdjsk",
|
12529
12534
|
"member": "string",
|
12530
12535
|
"name": "Context",
|
12531
12536
|
"required": false,
|
@@ -12561,6 +12566,7 @@
|
|
12561
12566
|
"example": "无",
|
12562
12567
|
"member": "LogResObject",
|
12563
12568
|
"name": "LogResults",
|
12569
|
+
"output_required": true,
|
12564
12570
|
"type": "object",
|
12565
12571
|
"value_allowed_null": false
|
12566
12572
|
},
|
@@ -19,8 +19,8 @@
|
|
19
19
|
"CommonServiceAPI": [
|
20
20
|
{
|
21
21
|
"document": "",
|
22
|
-
"input": "
|
23
|
-
"output": "{\n \"Response\": {\n \"JSONResp\": \"\",\n \"RequestId\": \"
|
22
|
+
"input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CommonServiceAPI\n<公共请求参数>\n\n{\n \"Service\": \"DescribeEnvs\",\n \"JSONData\": \"{\\\"WxAppId\\\":\\\"wx989d74faaeb9fbdc\\\",\\\"EnvType\\\":\\\"test\\\"}\"\n}",
|
23
|
+
"output": "{\n \"Response\": {\n \"JSONResp\": \"{\\\"Response\\\":{\\\"EnvList\\\":[],\\\"RequestId\\\":\\\"b7811e09-ab86-48cc-8b1a-4c4122c3bf42\\\",\\\"Total\\\":0}}\",\n \"RequestId\": \"9f5382d6-0f69-4780-9ebb-12f9d084ce0b\"\n }\n}",
|
24
24
|
"title": "示例"
|
25
25
|
}
|
26
26
|
],
|
@@ -184,7 +184,7 @@
|
|
184
184
|
{
|
185
185
|
"document": "获取套餐",
|
186
186
|
"input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBaasPackageList\n<公共请求参数>\n\n{\n \"Source\": \"miniapp\"\n}",
|
187
|
-
"output": "{\n \"Response\": {\n \"PackageList\": [\n {\n \"PackageName\": \"personal_calculation\",\n \"PackageTitle\": \"个人版-计算型\",\n \"GroupName\": \"calculation\",\n \"GroupTitle\": \"套餐分组中文名\",\n \"BillTags\": \"{\\\"pid\\\":0, \\\"cids\\\":{\\\"create\\\":0, \\\"renew\\\":0, \\\"modify\\\":0}, \\\"productCode\\\":0, \\\"subProductCode\\\":0}\",\n \"ResourceLimit\": \"{\\\"Capacity\\\":{\\\"TimeUnit\\\":\\\"m\\\", \\\"Unit\\\":\\\"GB\\\", \\\"MaxSize\\\": 100}, \\\"Flux\\\":{\\\"TimeUnit\\\":\\\"m\\\", \\\"Unit\\\":\\\"GB\\\", \\\"MaxSize\\\": 100}, \\\"CalculationTime\\\":{\\\"TimeUnit\\\":\\\"m\\\", \\\"Unit\\\":\\\"s\\\", \\\"MaxSize\\\": 100}, \\\"InvokeNum\\\":{\\\"TimeUnit\\\":\\\"m\\\", \\\"Unit\\\":\\\"次\\\", \\\"MaxSize\\\": 100}}\",\n \"AdvanceLimit\": \"{\\\"CMSEnable\\\":false,\\\"ProvisionedConcurrencyMem\\\":512000, \\\"PictureProcessing\\\":false, \\\"SecurityAudit\\\":false, \\\"RealTimePush\\\":false, \\\"TemplateMessageBatchPush\\\":false, \\\"Payment\\\":false}\",\n \"PackageDescription\": \"
|
187
|
+
"output": "{\n \"Response\": {\n \"PackageList\": [\n {\n \"PackageName\": \"personal_calculation\",\n \"PackageTitle\": \"个人版-计算型\",\n \"GroupName\": \"calculation\",\n \"GroupTitle\": \"套餐分组中文名\",\n \"BillTags\": \"{\\\"pid\\\":0, \\\"cids\\\":{\\\"create\\\":0, \\\"renew\\\":0, \\\"modify\\\":0}, \\\"productCode\\\":0, \\\"subProductCode\\\":0}\",\n \"ResourceLimit\": \"{\\\"Capacity\\\":{\\\"TimeUnit\\\":\\\"m\\\", \\\"Unit\\\":\\\"GB\\\", \\\"MaxSize\\\": 100}, \\\"Flux\\\":{\\\"TimeUnit\\\":\\\"m\\\", \\\"Unit\\\":\\\"GB\\\", \\\"MaxSize\\\": 100}, \\\"CalculationTime\\\":{\\\"TimeUnit\\\":\\\"m\\\", \\\"Unit\\\":\\\"s\\\", \\\"MaxSize\\\": 100}, \\\"InvokeNum\\\":{\\\"TimeUnit\\\":\\\"m\\\", \\\"Unit\\\":\\\"次\\\", \\\"MaxSize\\\": 100}}\",\n \"AdvanceLimit\": \"{\\\"CMSEnable\\\":false,\\\"ProvisionedConcurrencyMem\\\":512000, \\\"PictureProcessing\\\":false, \\\"SecurityAudit\\\":false, \\\"RealTimePush\\\":false, \\\"TemplateMessageBatchPush\\\":false, \\\"Payment\\\":false}\",\n \"PackageDescription\": \"baas personal package\",\n \"IsExternal\": true\n }\n ],\n \"RequestId\": \"2e992b19-7906-44a4-a8bb-5a71672b0ec9\"\n }\n}",
|
188
188
|
"title": "获取套餐"
|
189
189
|
}
|
190
190
|
],
|
@@ -349,8 +349,8 @@
|
|
349
349
|
"DescribeDatabaseACL": [
|
350
350
|
{
|
351
351
|
"document": "查询数据库集合的ACL",
|
352
|
-
"input": "
|
353
|
-
"output": "{\n \"Response\": {\n \"AclTag\": \"
|
352
|
+
"input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDatabaseACL\n<公共请求参数>\n\n{\n \"EnvId\": \"env-xxyyzzaa\",\n \"CollectionName\": \"table-abc\"\n}",
|
353
|
+
"output": "{\n \"Response\": {\n \"AclTag\": \"READONLY\",\n \"RequestId\": \"uuid-here\"\n }\n}",
|
354
354
|
"title": "查询数据库ACL"
|
355
355
|
}
|
356
356
|
],
|
@@ -405,8 +405,8 @@
|
|
405
405
|
"DescribeEnvLimit": [
|
406
406
|
{
|
407
407
|
"document": "",
|
408
|
-
"input": "https://tcb.tencentcloudapi.com/?Action=DescribeEnvLimit\n&Source=
|
409
|
-
"output": "{\n \"Response\": {\n \"CurrentFreeEnvNum\": 0,\n \"ChangePayTotal\": 0,\n \"CurrentChangePayMonthly\": 0,\n \"MaxDeleteMonthly\": 0,\n \"MaxEnvNum\": 0,\n \"ChangePayMonthly\": 0,\n \"CurrentChangePayTotal\": 0,\n \"MaxDeleteTotal\": 0,\n \"CurrentEnvNum\": 0,\n \"CurrentDeleteMonthly\": 0,\n \"CurrentDeleteTotal\": 0,\n \"CurrentFreeTrialNum\": 0,\n \"MaxFreeTrialNum\": 0,\n \"MaxFreeEnvNum\": 0,\n \"RequestId\": \"
|
408
|
+
"input": "https://tcb.tencentcloudapi.com/?Action=DescribeEnvLimit\n&Source=miniapp\n&<公共请求参数>",
|
409
|
+
"output": "{\n \"Response\": {\n \"CurrentFreeEnvNum\": 0,\n \"ChangePayTotal\": 0,\n \"CurrentChangePayMonthly\": 0,\n \"MaxDeleteMonthly\": 0,\n \"MaxEnvNum\": 0,\n \"ChangePayMonthly\": 0,\n \"CurrentChangePayTotal\": 0,\n \"MaxDeleteTotal\": 0,\n \"CurrentEnvNum\": 0,\n \"CurrentDeleteMonthly\": 0,\n \"CurrentDeleteTotal\": 0,\n \"CurrentFreeTrialNum\": 0,\n \"MaxFreeTrialNum\": 0,\n \"MaxFreeEnvNum\": 0,\n \"RequestId\": \"uuid-here\"\n }\n}",
|
410
410
|
"title": "查询环境个数上限接口"
|
411
411
|
}
|
412
412
|
],
|
@@ -485,7 +485,7 @@
|
|
485
485
|
"DescribePostpayPackageFreeQuotas": [
|
486
486
|
{
|
487
487
|
"document": "获取后付费免费额度 ",
|
488
|
-
"input": "{\n
|
488
|
+
"input": "POST / HTTP/1.1\nHost: tcb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePostpayPackageFreeQuotas\n<公共请求参数>\n\n{\n \"EnvId\": \"env-xxyyzzaq\",\n \"FreeQuotaType\": \"free\"\n}",
|
489
489
|
"output": "{\n \"Response\": {\n \"PackageFreeQuotaInfos\": [\n {\n \"ResourceType\": \"COS\",\n \"ResourceMetric\": \"ReadRequests\",\n \"FreeQuota\": 150,\n \"MetricUnit\": \"万次\",\n \"DeductType\": \"sum-month\",\n \"FreeQuotaType\": \"basic\"\n },\n {\n \"ResourceType\": \"COS\",\n \"ResourceMetric\": \"WriteRequests\",\n \"FreeQuota\": 60,\n \"MetricUnit\": \"万次\",\n \"DeductType\": \"sum-month\",\n \"FreeQuotaType\": \"basic\"\n },\n {\n \"ResourceType\": \"COS\",\n \"ResourceMetric\": \"Capacity\",\n \"FreeQuota\": 5,\n \"MetricUnit\": \"GB\",\n \"DeductType\": \"totalize\",\n \"FreeQuotaType\": \"basic\"\n },\n {\n \"ResourceType\": \"COS\",\n \"ResourceMetric\": \"Flux\",\n \"FreeQuota\": 5,\n \"MetricUnit\": \"GB\",\n \"DeductType\": \"sum-month\",\n \"FreeQuotaType\": \"basic\"\n },\n {\n \"ResourceType\": \"CDN\",\n \"ResourceMetric\": \"Flux\",\n \"FreeQuota\": 5,\n \"MetricUnit\": \"GB\",\n \"DeductType\": \"sum-month\",\n \"FreeQuotaType\": \"basic\"\n },\n {\n \"ResourceType\": \"SCF\",\n \"ResourceMetric\": \"MemoryUse\",\n \"FreeQuota\": 40000,\n \"MetricUnit\": \"GBs\",\n \"DeductType\": \"sum-month\",\n \"FreeQuotaType\": \"basic\"\n },\n {\n \"ResourceType\": \"SCF\",\n \"ResourceMetric\": \"Outflow\",\n \"FreeQuota\": 1,\n \"MetricUnit\": \"GB\",\n \"DeductType\": \"sum-month\",\n \"FreeQuotaType\": \"basic\"\n },\n {\n \"ResourceType\": \"FLEXDB\",\n \"ResourceMetric\": \"Capacity\",\n \"FreeQuota\": 2,\n \"MetricUnit\": \"GB\",\n \"DeductType\": \"totalize\",\n \"FreeQuotaType\": \"basic\"\n },\n {\n \"ResourceType\": \"FLEXDB\",\n \"ResourceMetric\": \"ReadRequests\",\n \"FreeQuota\": 5,\n \"MetricUnit\": \"万次\",\n \"DeductType\": \"sum-day\",\n \"FreeQuotaType\": \"basic\"\n },\n {\n \"ResourceType\": \"FLEXDB\",\n \"ResourceMetric\": \"WriteRequests\",\n \"FreeQuota\": 3,\n \"MetricUnit\": \"万次\",\n \"DeductType\": \"sum-day\",\n \"FreeQuotaType\": \"basic\"\n },\n {\n \"ResourceType\": \"HOSTING\",\n \"ResourceMetric\": \"Capacity\",\n \"FreeQuota\": 5120,\n \"MetricUnit\": \"GB\",\n \"DeductType\": \"totalize\",\n \"FreeQuotaType\": \"basic\"\n }\n ],\n \"RequestId\": \"a1b9ccf2-86a7-490d-9769-a5fb6b856192\"\n }\n}",
|
490
490
|
"title": "获取后付费免费额度"
|
491
491
|
}
|
@@ -701,7 +701,7 @@
|
|
701
701
|
"SearchClsLog": [
|
702
702
|
{
|
703
703
|
"document": "搜索CLS日志",
|
704
|
-
"input": "https://tcb.tencentcloudapi.com/?Action=SearchClsLog\n&EnvId=test-12323\n&StartTime=
|
704
|
+
"input": "https://tcb.tencentcloudapi.com/?Action=SearchClsLog\n&EnvId=test-12323\n&StartTime=2024-12-01 00:00:00\n&EndTime=2024-12-01 01:00:00\n&Limit=10\n&QueryString=my-function-name\n&Sort=desc\n&<公共请求参数>",
|
705
705
|
"output": "{\n \"Response\": {\n \"RequestId\": \"3e22b381-93a3-44c4-85b7-456679a7b8cd\",\n \"LogResults\": {\n \"Context\": \"\",\n \"ListOver\": true,\n \"Results\": []\n }\n }\n}",
|
706
706
|
"title": "搜索CLS日志"
|
707
707
|
}
|