tccli 3.0.1234.1__py2.py3-none-any.whl → 3.0.1236.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/cdb/v20170320/api.json +15 -15
  3. tccli/services/cls/v20201016/api.json +4 -4
  4. tccli/services/cwp/cwp_client.py +326 -8
  5. tccli/services/cwp/v20180228/api.json +488 -1
  6. tccli/services/cwp/v20180228/examples.json +48 -0
  7. tccli/services/essbasic/v20210526/api.json +10 -0
  8. tccli/services/faceid/v20180301/api.json +19 -0
  9. tccli/services/hunyuan/v20230901/api.json +12 -3
  10. tccli/services/iotexplorer/iotexplorer_client.py +159 -0
  11. tccli/services/iotexplorer/v20190423/api.json +298 -4
  12. tccli/services/iotexplorer/v20190423/examples.json +30 -0
  13. tccli/services/iotvideo/iotvideo_client.py +106 -0
  14. tccli/services/iotvideo/v20211125/api.json +169 -0
  15. tccli/services/iotvideo/v20211125/examples.json +16 -0
  16. tccli/services/ocr/v20181119/api.json +5 -5
  17. tccli/services/ocr/v20181119/examples.json +7 -7
  18. tccli/services/privatedns/v20201028/api.json +8 -8
  19. tccli/services/smh/v20210712/api.json +7 -7
  20. tccli/services/smh/v20210712/examples.json +1 -1
  21. tccli/services/sms/v20210111/api.json +1 -1
  22. tccli/services/ssl/v20191205/api.json +46 -33
  23. tccli/services/ssl/v20191205/examples.json +13 -13
  24. tccli/services/tcbr/v20220217/api.json +71 -71
  25. tccli/services/tcbr/v20220217/examples.json +13 -31
  26. tccli/services/teo/v20220901/api.json +1 -1
  27. tccli/services/trocket/v20230308/api.json +19 -0
  28. tccli/services/tsf/v20180326/api.json +1577 -1408
  29. tccli/services/tsf/v20180326/examples.json +55 -61
  30. tccli/services/vrs/v20200824/api.json +68 -6
  31. tccli/services/vrs/v20200824/examples.json +8 -0
  32. tccli/services/vrs/vrs_client.py +53 -0
  33. tccli/services/wedata/v20210820/api.json +76 -0
  34. {tccli-3.0.1234.1.dist-info → tccli-3.0.1236.1.dist-info}/METADATA +2 -2
  35. {tccli-3.0.1234.1.dist-info → tccli-3.0.1236.1.dist-info}/RECORD +38 -38
  36. {tccli-3.0.1234.1.dist-info → tccli-3.0.1236.1.dist-info}/WHEEL +0 -0
  37. {tccli-3.0.1234.1.dist-info → tccli-3.0.1236.1.dist-info}/entry_points.txt +0 -0
  38. {tccli-3.0.1234.1.dist-info → tccli-3.0.1236.1.dist-info}/license_files/LICENSE +0 -0
@@ -562,33 +562,33 @@
562
562
  "members": [
563
563
  {
564
564
  "disabled": false,
565
- "document": "服务基本信息\n注意:此字段可能返回 null,表示取不到有效值。",
565
+ "document": "服务基本信息",
566
566
  "example": "无",
567
567
  "member": "ServerBaseInfo",
568
568
  "name": "BaseInfo",
569
569
  "output_required": true,
570
570
  "type": "object",
571
- "value_allowed_null": true
571
+ "value_allowed_null": false
572
572
  },
573
573
  {
574
574
  "disabled": false,
575
- "document": "服务配置信息\n注意:此字段可能返回 null,表示取不到有效值。",
575
+ "document": "服务配置信息",
576
576
  "example": "无",
577
577
  "member": "ServerBaseConfig",
578
578
  "name": "ServerConfig",
579
579
  "output_required": true,
580
580
  "type": "object",
581
- "value_allowed_null": true
581
+ "value_allowed_null": false
582
582
  },
583
583
  {
584
584
  "disabled": false,
585
- "document": "在线版本信息\n注意:此字段可能返回 null,表示取不到有效值。",
585
+ "document": "在线版本信息",
586
586
  "example": "无",
587
587
  "member": "OnlineVersionInfo",
588
588
  "name": "OnlineVersionInfos",
589
589
  "output_required": true,
590
590
  "type": "list",
591
- "value_allowed_null": true
591
+ "value_allowed_null": false
592
592
  },
593
593
  {
594
594
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
@@ -880,7 +880,7 @@
880
880
  "example": "prod-6gvwy9lua50e9504",
881
881
  "member": "string",
882
882
  "name": "EnvId",
883
- "required": true,
883
+ "output_required": true,
884
884
  "type": "string",
885
885
  "value_allowed_null": false
886
886
  },
@@ -890,7 +890,7 @@
890
890
  "example": "qcloud",
891
891
  "member": "string",
892
892
  "name": "Source",
893
- "required": true,
893
+ "output_required": true,
894
894
  "type": "string",
895
895
  "value_allowed_null": false
896
896
  },
@@ -900,7 +900,7 @@
900
900
  "example": "tcb",
901
901
  "member": "string",
902
902
  "name": "Alias",
903
- "required": true,
903
+ "output_required": true,
904
904
  "type": "string",
905
905
  "value_allowed_null": false
906
906
  },
@@ -910,7 +910,7 @@
910
910
  "example": "2021-04-26T12:00:00+08:00",
911
911
  "member": "string",
912
912
  "name": "CreateTime",
913
- "required": true,
913
+ "output_required": true,
914
914
  "type": "string",
915
915
  "value_allowed_null": false
916
916
  },
@@ -920,7 +920,7 @@
920
920
  "example": "2021-04-26T12:00:00+08:00",
921
921
  "member": "string",
922
922
  "name": "UpdateTime",
923
- "required": true,
923
+ "output_required": true,
924
924
  "type": "string",
925
925
  "value_allowed_null": false
926
926
  },
@@ -930,159 +930,159 @@
930
930
  "example": "NORMAL",
931
931
  "member": "string",
932
932
  "name": "Status",
933
- "required": true,
933
+ "output_required": true,
934
934
  "type": "string",
935
935
  "value_allowed_null": false
936
936
  },
937
937
  {
938
938
  "disabled": false,
939
- "document": "是否到期自动降为免费版\n注意:此字段可能返回 null,表示取不到有效值。",
939
+ "document": "是否到期自动降为免费版",
940
940
  "example": "false",
941
941
  "member": "bool",
942
942
  "name": "IsAutoDegrade",
943
- "required": true,
943
+ "output_required": true,
944
944
  "type": "bool",
945
- "value_allowed_null": true
945
+ "value_allowed_null": false
946
946
  },
947
947
  {
948
948
  "disabled": false,
949
- "document": "环境渠道\n注意:此字段可能返回 null,表示取不到有效值。",
949
+ "document": "环境渠道",
950
950
  "example": "qc_console",
951
951
  "member": "string",
952
952
  "name": "EnvChannel",
953
- "required": true,
953
+ "output_required": true,
954
954
  "type": "string",
955
- "value_allowed_null": true
955
+ "value_allowed_null": false
956
956
  },
957
957
  {
958
958
  "disabled": false,
959
- "document": "支付方式。包含以下取值:\n<li> prepayment:预付费</li>\n<li> postpaid:后付费</li>\n注意:此字段可能返回 null,表示取不到有效值。",
959
+ "document": "支付方式。包含以下取值:\n<li> prepayment:预付费</li>\n<li> postpaid:后付费</li>",
960
960
  "example": "postpaid",
961
961
  "member": "string",
962
962
  "name": "PayMode",
963
- "required": true,
963
+ "output_required": true,
964
964
  "type": "string",
965
- "value_allowed_null": true
965
+ "value_allowed_null": false
966
966
  },
967
967
  {
968
968
  "disabled": false,
969
- "document": "是否为默认环境\n注意:此字段可能返回 null,表示取不到有效值。",
969
+ "document": "是否为默认环境",
970
970
  "example": "false",
971
971
  "member": "bool",
972
972
  "name": "IsDefault",
973
- "required": true,
973
+ "output_required": true,
974
974
  "type": "bool",
975
- "value_allowed_null": true
975
+ "value_allowed_null": false
976
976
  },
977
977
  {
978
978
  "disabled": false,
979
- "document": "环境所属地域\n注意:此字段可能返回 null,表示取不到有效值。",
979
+ "document": "环境所属地域",
980
980
  "example": "ap-shanghai",
981
981
  "member": "string",
982
982
  "name": "Region",
983
- "required": true,
983
+ "output_required": true,
984
984
  "type": "string",
985
- "value_allowed_null": true
985
+ "value_allowed_null": false
986
986
  },
987
987
  {
988
988
  "disabled": false,
989
- "document": "环境类型:baas, run, hosting, weda,tcbr\n注意:此字段可能返回 null,表示取不到有效值。",
989
+ "document": "环境类型:baas, run, hosting, weda,tcbr",
990
990
  "example": "baas",
991
991
  "member": "string",
992
992
  "name": "EnvType",
993
- "required": true,
993
+ "output_required": true,
994
994
  "type": "string",
995
- "value_allowed_null": true
995
+ "value_allowed_null": false
996
996
  },
997
997
  {
998
998
  "disabled": false,
999
999
  "document": "数据库列表",
1000
- "example": "[]",
1000
+ "example": "",
1001
1001
  "member": "DatabasesInfo",
1002
1002
  "name": "Databases",
1003
- "required": true,
1003
+ "output_required": true,
1004
1004
  "type": "list",
1005
1005
  "value_allowed_null": false
1006
1006
  },
1007
1007
  {
1008
1008
  "disabled": false,
1009
1009
  "document": "存储列表",
1010
- "example": "[]",
1010
+ "example": "",
1011
1011
  "member": "StorageInfo",
1012
1012
  "name": "Storages",
1013
- "required": true,
1013
+ "output_required": true,
1014
1014
  "type": "list",
1015
1015
  "value_allowed_null": false
1016
1016
  },
1017
1017
  {
1018
1018
  "disabled": false,
1019
1019
  "document": "函数列表",
1020
- "example": "[]",
1020
+ "example": "",
1021
1021
  "member": "FunctionInfo",
1022
1022
  "name": "Functions",
1023
- "required": true,
1023
+ "output_required": true,
1024
1024
  "type": "list",
1025
1025
  "value_allowed_null": false
1026
1026
  },
1027
1027
  {
1028
1028
  "disabled": false,
1029
- "document": "云日志服务列表\n注意:此字段可能返回 null,表示取不到有效值。",
1030
- "example": "[]",
1029
+ "document": "云日志服务列表",
1030
+ "example": "",
1031
1031
  "member": "LogServiceInfo",
1032
1032
  "name": "LogServices",
1033
- "required": true,
1033
+ "output_required": true,
1034
1034
  "type": "list",
1035
- "value_allowed_null": true
1035
+ "value_allowed_null": false
1036
1036
  },
1037
1037
  {
1038
1038
  "disabled": false,
1039
- "document": "静态资源信息\n注意:此字段可能返回 null,表示取不到有效值。",
1040
- "example": "[]",
1039
+ "document": "静态资源信息",
1040
+ "example": "",
1041
1041
  "member": "StaticStorageInfo",
1042
1042
  "name": "StaticStorages",
1043
- "required": true,
1043
+ "output_required": true,
1044
1044
  "type": "list",
1045
- "value_allowed_null": true
1045
+ "value_allowed_null": false
1046
1046
  },
1047
1047
  {
1048
1048
  "disabled": false,
1049
- "document": "环境标签列表\n注意:此字段可能返回 null,表示取不到有效值。",
1050
- "example": "[]",
1049
+ "document": "环境标签列表",
1050
+ "example": "",
1051
1051
  "member": "Tag",
1052
1052
  "name": "Tags",
1053
- "required": true,
1053
+ "output_required": true,
1054
1054
  "type": "list",
1055
- "value_allowed_null": true
1055
+ "value_allowed_null": false
1056
1056
  },
1057
1057
  {
1058
1058
  "disabled": false,
1059
- "document": "自定义日志服务\n注意:此字段可能返回 null,表示取不到有效值。",
1060
- "example": "[]",
1059
+ "document": "自定义日志服务",
1060
+ "example": "",
1061
1061
  "member": "ClsInfo",
1062
1062
  "name": "CustomLogServices",
1063
- "required": true,
1063
+ "output_required": true,
1064
1064
  "type": "list",
1065
- "value_allowed_null": true
1065
+ "value_allowed_null": false
1066
1066
  },
1067
1067
  {
1068
1068
  "disabled": false,
1069
- "document": "tcb产品套餐ID,参考DescribePackages接口的返回值。\n注意:此字段可能返回 null,表示取不到有效值。",
1069
+ "document": "tcb产品套餐ID,参考DescribePackages接口的返回值。",
1070
1070
  "example": "basic1",
1071
1071
  "member": "string",
1072
1072
  "name": "PackageId",
1073
- "required": true,
1073
+ "output_required": true,
1074
1074
  "type": "string",
1075
- "value_allowed_null": true
1075
+ "value_allowed_null": false
1076
1076
  },
1077
1077
  {
1078
1078
  "disabled": false,
1079
- "document": "套餐中文名称,参考DescribePackages接口的返回值。\n注意:此字段可能返回 null,表示取不到有效值。",
1079
+ "document": "套餐中文名称,参考DescribePackages接口的返回值。",
1080
1080
  "example": "基础版1",
1081
1081
  "member": "string",
1082
1082
  "name": "PackageName",
1083
- "required": true,
1083
+ "output_required": true,
1084
1084
  "type": "string",
1085
- "value_allowed_null": true
1085
+ "value_allowed_null": false
1086
1086
  }
1087
1087
  ],
1088
1088
  "usage": "out"
@@ -1118,25 +1118,25 @@
1118
1118
  "members": [
1119
1119
  {
1120
1120
  "disabled": false,
1121
- "document": "扩缩容类型\n注意:此字段可能返回 null,表示取不到有效值。",
1121
+ "document": "扩缩容类型",
1122
1122
  "example": "cpu, mem, cpu/mem",
1123
1123
  "member": "string",
1124
1124
  "name": "PolicyType",
1125
1125
  "output_required": false,
1126
1126
  "required": true,
1127
1127
  "type": "string",
1128
- "value_allowed_null": true
1128
+ "value_allowed_null": false
1129
1129
  },
1130
1130
  {
1131
1131
  "disabled": false,
1132
- "document": "扩缩容阈值\n注意:此字段可能返回 null,表示取不到有效值。",
1132
+ "document": "扩缩容阈值",
1133
1133
  "example": "60",
1134
1134
  "member": "uint64",
1135
1135
  "name": "PolicyThreshold",
1136
1136
  "output_required": false,
1137
1137
  "required": true,
1138
1138
  "type": "int",
1139
- "value_allowed_null": true
1139
+ "value_allowed_null": false
1140
1140
  }
1141
1141
  ],
1142
1142
  "usage": "both"
@@ -1228,33 +1228,33 @@
1228
1228
  "members": [
1229
1229
  {
1230
1230
  "disabled": false,
1231
- "document": "版本名\n注意:此字段可能返回 null,表示取不到有效值。",
1231
+ "document": "版本名",
1232
1232
  "example": "test-001",
1233
1233
  "member": "string",
1234
1234
  "name": "VersionName",
1235
1235
  "output_required": true,
1236
1236
  "type": "string",
1237
- "value_allowed_null": true
1237
+ "value_allowed_null": false
1238
1238
  },
1239
1239
  {
1240
1240
  "disabled": false,
1241
- "document": "镜像url\n注意:此字段可能返回 null,表示取不到有效值。",
1241
+ "document": "镜像url",
1242
1242
  "example": "imageurl",
1243
1243
  "member": "string",
1244
1244
  "name": "ImageUrl",
1245
1245
  "output_required": true,
1246
1246
  "type": "string",
1247
- "value_allowed_null": true
1247
+ "value_allowed_null": false
1248
1248
  },
1249
1249
  {
1250
1250
  "disabled": false,
1251
- "document": "流量\n注意:此字段可能返回 null,表示取不到有效值。",
1251
+ "document": "流量",
1252
1252
  "example": "100",
1253
1253
  "member": "string",
1254
1254
  "name": "FlowRatio",
1255
1255
  "output_required": true,
1256
1256
  "type": "string",
1257
- "value_allowed_null": true
1257
+ "value_allowed_null": false
1258
1258
  }
1259
1259
  ],
1260
1260
  "usage": "out"
@@ -1274,7 +1274,7 @@
1274
1274
  {
1275
1275
  "disabled": false,
1276
1276
  "document": "服务名",
1277
- "example": "test",
1277
+ "example": "server-nginx",
1278
1278
  "member": "string",
1279
1279
  "name": "ServerName",
1280
1280
  "required": true,
@@ -1664,14 +1664,14 @@
1664
1664
  },
1665
1665
  {
1666
1666
  "disabled": false,
1667
- "document": "服务标签, function: 函数托管\n注意:此字段可能返回 null,表示取不到有效值。",
1667
+ "document": "服务标签, function: 函数托管",
1668
1668
  "example": "function",
1669
1669
  "member": "string",
1670
1670
  "name": "Tag",
1671
1671
  "output_required": false,
1672
1672
  "required": false,
1673
1673
  "type": "string",
1674
- "value_allowed_null": true
1674
+ "value_allowed_null": false
1675
1675
  }
1676
1676
  ],
1677
1677
  "usage": "both"
@@ -17,15 +17,9 @@
17
17
  "CreateCloudRunServer": [
18
18
  {
19
19
  "document": "",
20
- "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudRunServer\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"DeployInfo\": {\n \"DeployType\": \"abc\",\n \"ImageUrl\": \"abc\",\n \"PackageName\": \"abc\",\n \"PackageVersion\": \"abc\",\n \"DeployRemark\": \"abc\",\n \"RepoInfo\": {\n \"Source\": \"abc\",\n \"Repo\": \"abc\",\n \"Branch\": \"abc\"\n },\n \"BuildPacks\": {\n \"BaseImage\": \"abc\",\n \"EntryPoint\": \"abc\",\n \"RepoLanguage\": \"abc\",\n \"UploadFilename\": \"abc\"\n },\n \"ReleaseType\": \"abc\"\n },\n \"ServerConfig\": {\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"OpenAccessTypes\": [\n \"abc\"\n ],\n \"Cpu\": 0,\n \"Mem\": 0,\n \"MinNum\": 1,\n \"MaxNum\": 1,\n \"PolicyDetails\": [\n {\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 1\n }\n ],\n \"CustomLogs\": \"abc\",\n \"EnvParams\": \"abc\",\n \"InitialDelaySeconds\": 1,\n \"CreateTime\": \"abc\",\n \"Port\": 0,\n \"HasDockerfile\": true,\n \"Dockerfile\": \"abc\",\n \"BuildDir\": \"abc\",\n \"LogType\": \"abc\",\n \"LogSetId\": \"abc\",\n \"LogTopicId\": \"abc\",\n \"LogParseType\": \"abc\",\n \"Tag\": \"abc\"\n }\n}",
20
+ "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudRunServer\n<公共请求参数>\n\n{\n \"EnvId\": \"env-sdfsdfdf\",\n \"ServerName\": \"server-sdfsdf\",\n \"DeployInfo\": {\n \"DeployType\": \"package\",\n \"ImageUrl\": \"\",\n \"PackageName\": \"redis\",\n \"PackageVersion\": \"234234\",\n \"DeployRemark\": \"remark\",\n \"RepoInfo\": {\n \"Source\": \"source\",\n \"Repo\": \"repo\",\n \"Branch\": \"main\"\n },\n \"BuildPacks\": {\n \"BaseImage\": \"\",\n \"EntryPoint\": \"\",\n \"RepoLanguage\": \"\",\n \"UploadFilename\": \"\"\n },\n \"ReleaseType\": \"FULL\"\n },\n \"ServerConfig\": {\n \"EnvId\": \"env-sdfsdf\",\n \"ServerName\": \"server-sdfsf\",\n \"OpenAccessTypes\": [\n \"OA\"\n ],\n \"Cpu\": 0,\n \"Mem\": 0,\n \"MinNum\": 1,\n \"MaxNum\": 1,\n \"PolicyDetails\": [\n {\n \"PolicyType\": \"cpu\",\n \"PolicyThreshold\": 60\n }\n ],\n \"CustomLogs\": \"\",\n \"EnvParams\": \"\",\n \"InitialDelaySeconds\": 1,\n \"CreateTime\": \"2022-12-12 12:00:00\",\n \"Port\": 0,\n \"HasDockerfile\": true,\n \"Dockerfile\": \"Dockerfile\",\n \"BuildDir\": \"\",\n \"LogType\": \"none\",\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LogParseType\": \"\",\n \"Tag\": \"\"\n }\n}",
21
21
  "output": "{\n \"Response\": {\n \"RequestId\": \"d1267757-ade0-42b5-9ea4-42229a580acd\",\n \"TaskId\": 0\n }\n}",
22
22
  "title": "success"
23
- },
24
- {
25
- "document": "",
26
- "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudRunServer\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"DeployInfo\": {\n \"DeployType\": \"abc\",\n \"ImageUrl\": \"abc\",\n \"PackageName\": \"abc\",\n \"PackageVersion\": \"abc\",\n \"DeployRemark\": \"abc\",\n \"RepoInfo\": {\n \"Source\": \"abc\",\n \"Repo\": \"abc\",\n \"Branch\": \"abc\"\n },\n \"BuildPacks\": {\n \"BaseImage\": \"abc\",\n \"EntryPoint\": \"abc\",\n \"RepoLanguage\": \"abc\",\n \"UploadFilename\": \"abc\"\n },\n \"ReleaseType\": \"abc\"\n },\n \"ServerConfig\": {\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"OpenAccessTypes\": [\n \"abc\"\n ],\n \"Cpu\": 0,\n \"Mem\": 0,\n \"MinNum\": 1,\n \"MaxNum\": 1,\n \"PolicyDetails\": [\n {\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 1\n }\n ],\n \"CustomLogs\": \"abc\",\n \"EnvParams\": \"abc\",\n \"InitialDelaySeconds\": 1,\n \"CreateTime\": \"abc\",\n \"Port\": 0,\n \"HasDockerfile\": true,\n \"Dockerfile\": \"abc\",\n \"BuildDir\": \"abc\",\n \"LogType\": \"abc\",\n \"LogSetId\": \"abc\",\n \"LogTopicId\": \"abc\",\n \"LogParseType\": \"abc\",\n \"Tag\": \"abc\"\n }\n}",
27
- "output": "{\n \"Response\": {\n \"TaskId\": 0,\n \"RequestId\": \"abc\"\n }\n}",
28
- "title": "CreateCloudRunServer"
29
23
  }
30
24
  ],
31
25
  "DescribeCloudRunEnvs": [
@@ -45,29 +39,17 @@
45
39
  "DescribeCloudRunServerDetail": [
46
40
  {
47
41
  "document": "",
48
- "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudRunServerDetail\n<公共请求参数>\n\n{\n \"ServerName\": \"字符串\",\n \"EnvId\": \"字符串\"\n}",
49
- "output": "{\n \"Response\": {\n \"BaseInfo\": null,\n \"RequestId\": \"34143393-ede8-43ac-ad78-12a5bfea9663\",\n \"ServerConfig\": null,\n \"OnlineVersionInfos\": null\n }\n}",
50
- "title": "success"
51
- },
52
- {
53
- "document": "",
54
- "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudRunServerDetail\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\"\n}",
55
- "output": "{\n \"Response\": {\n \"BaseInfo\": {\n \"ServerName\": \"abc\",\n \"DefaultDomainName\": \"abc\",\n \"CustomDomainName\": \"abc\",\n \"Status\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"AccessTypes\": [\n \"abc\"\n ],\n \"CustomDomainNames\": [\n \"abc\"\n ]\n },\n \"ServerConfig\": {\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"OpenAccessTypes\": [\n \"abc\"\n ],\n \"Cpu\": 0,\n \"Mem\": 0,\n \"MinNum\": 1,\n \"MaxNum\": 1,\n \"PolicyDetails\": [\n {\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 1\n }\n ],\n \"CustomLogs\": \"abc\",\n \"EnvParams\": \"abc\",\n \"InitialDelaySeconds\": 1,\n \"CreateTime\": \"abc\",\n \"Port\": 0,\n \"HasDockerfile\": true,\n \"Dockerfile\": \"abc\",\n \"BuildDir\": \"abc\",\n \"LogType\": \"abc\",\n \"LogSetId\": \"abc\",\n \"LogTopicId\": \"abc\",\n \"LogParseType\": \"abc\",\n \"Tag\": \"abc\"\n },\n \"OnlineVersionInfos\": [\n {\n \"VersionName\": \"abc\",\n \"ImageUrl\": \"abc\",\n \"FlowRatio\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
42
+ "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudRunServerDetail\n<公共请求参数>\n\n{\n \"EnvId\": \"prod-2g59lad002c864a6\",\n \"ServerName\": \"golang-h7yv\"\n}",
43
+ "output": "{\n \"Response\": {\n \"BaseInfo\": {\n \"AccessTypes\": [],\n \"CustomDomainName\": \"\",\n \"CustomDomainNames\": [],\n \"DefaultDomainName\": \"https://golang-h7yv-121864-6-1258467748.sh.run.tcloudbase.com\",\n \"ServerName\": \"golang-h7yv\",\n \"Status\": \"running\",\n \"UpdateTime\": \"2024-09-13 10:31:56\"\n },\n \"OnlineVersionInfos\": [\n {\n \"FlowRatio\": \"100\",\n \"ImageUrl\": \"ccr.ccs.tencentyun.com/weixincloud/weixincloud_golang:10\",\n \"VersionName\": \"golang-h7yv-001\"\n }\n ],\n \"RequestId\": \"ec98425e-cc3f-4c95-a231-cd144757c9bd\",\n \"ServerConfig\": {\n \"BuildDir\": \"\",\n \"Cpu\": 1,\n \"CreateTime\": \"2024-09-13 10:31:17\",\n \"CustomLogs\": \"stdout\",\n \"Dockerfile\": \"Dockerfile\",\n \"EnvId\": \"prod-2g59lad002c864a6\",\n \"EnvParams\": \"\",\n \"HasDockerfile\": false,\n \"InitialDelaySeconds\": 2,\n \"LogParseType\": \"\",\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LogType\": \"\",\n \"MaxNum\": 5,\n \"Mem\": 2,\n \"MinNum\": 0,\n \"OpenAccessTypes\": [],\n \"PolicyDetails\": [\n {\n \"PolicyThreshold\": 60,\n \"PolicyType\": \"cpu\"\n },\n {\n \"PolicyThreshold\": 60,\n \"PolicyType\": \"mem\"\n }\n ],\n \"Port\": 8080,\n \"ServerName\": \"golang-h7yv\",\n \"Tag\": \"\"\n }\n }\n}",
56
44
  "title": "DescribeCloudRunServerDetail"
57
45
  }
58
46
  ],
59
47
  "DescribeCloudRunServers": [
60
48
  {
61
49
  "document": "",
62
- "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudRunServers\n<公共请求参数>\n\n{\n \"EnvId\": \"字符串\",\n \"PageSize\": 15,\n \"PageNum\": 1\n}",
63
- "output": "{\n \"Response\": {\n \"RequestId\": \"9fb51324-4592-4690-a6fe-f4a676321588\",\n \"ServerList\": [],\n \"Total\": 0\n }\n}",
50
+ "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudRunServers\n<公共请求参数>\n\n{\n \"EnvId\": \"prod-2g59lad002c864a6\"\n}",
51
+ "output": "{\n \"Response\": {\n \"RequestId\": \"8d28b0d2-8215-4f80-a6d2-3e1a372ac748\",\n \"ServerList\": [\n {\n \"AccessTypes\": [\n \"OA\",\n \"PUBLIC\",\n \"MINIAPP\"\n ],\n \"CustomDomainName\": \"\",\n \"CustomDomainNames\": [\n \"\"\n ],\n \"DefaultDomainName\": \"\",\n \"ServerName\": \"golang-h7yv\",\n \"Status\": \"running\",\n \"UpdateTime\": \"2024-09-13 10:31:56\"\n }\n ],\n \"Total\": 1\n }\n}",
64
52
  "title": "success"
65
- },
66
- {
67
- "document": "",
68
- "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudRunServers\n<公共请求参数>\n\n{\n \"EnvId\": \"字符串\",\n \"PageNum\": \"0\",\n \"PageSize\": \"0\"\n}",
69
- "output": "{\n \"Response\": {\n \"ServerList\": [\n {\n \"ServerName\": \"abc\",\n \"DefaultDomainName\": \"abc\",\n \"CustomDomainName\": \"abc\",\n \"Status\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"AccessTypes\": [\n \"abc\"\n ],\n \"CustomDomainNames\": [\n \"abc\"\n ]\n }\n ],\n \"Total\": 0,\n \"RequestId\": \"abc\"\n }\n}",
70
- "title": "success 0630"
71
53
  }
72
54
  ],
73
55
  "DescribeEnvBaseInfo": [
@@ -81,32 +63,32 @@
81
63
  "DescribeServerManageTask": [
82
64
  {
83
65
  "document": "",
84
- "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServerManageTask\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"TaskId\": 0,\n \"OperatorRemark\": \"abc\"\n}",
85
- "output": "{\n \"Response\": {\n \"IsExist\": true,\n \"Task\": {\n \"Id\": 0,\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"CreateTime\": \"abc\",\n \"ChangeType\": \"abc\",\n \"ReleaseType\": \"abc\",\n \"DeployType\": \"abc\",\n \"PreVersionName\": \"abc\",\n \"VersionName\": \"abc\",\n \"PipelineId\": 0,\n \"PipelineTaskId\": 0,\n \"ReleaseId\": 0,\n \"Status\": \"abc\",\n \"Steps\": [\n {\n \"Name\": \"abc\",\n \"Status\": \"abc\",\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"CostTime\": 0,\n \"FailReason\": \"abc\"\n }\n ],\n \"FailReason\": \"abc\",\n \"OperatorRemark\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
66
+ "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeServerManageTask\n<公共请求参数>\n\n{\n \"EnvId\": \"prod-2g59lad002c864a6\",\n \"ServerName\": \"golang-h7yv\",\n \"TaskId\": 1000\n}",
67
+ "output": "{\n \"Response\": {\n \"IsExist\": false,\n \"RequestId\": \"f72cf9c7-e477-443e-98f5-19703abbd2af\",\n \"Task\": {\n \"ChangeType\": \"\",\n \"CreateTime\": \"\",\n \"DeployType\": \"\",\n \"EnvId\": \"\",\n \"FailReason\": \"\",\n \"Id\": 0,\n \"OperatorRemark\": \"\",\n \"PipelineId\": 0,\n \"PipelineTaskId\": 0,\n \"PreVersionName\": \"\",\n \"ReleaseId\": 0,\n \"ReleaseType\": \"\",\n \"ServerName\": \"\",\n \"Status\": \"\",\n \"Steps\": [],\n \"VersionName\": \"\"\n }\n }\n}",
86
68
  "title": "查询服务管理任务信息"
87
69
  }
88
70
  ],
89
71
  "OperateServerManage": [
90
72
  {
91
73
  "document": "",
92
- "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OperateServerManage\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"TaskId\": 0,\n \"OperateType\": \"abc\",\n \"OperatorRemark\": \"abc\"\n}",
93
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
74
+ "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: OperateServerManage\n<公共请求参数>\n\n{\n \"EnvId\": \"env-sdfsdf\",\n \"ServerName\": \"server\",\n \"TaskId\": 1001,\n \"OperateType\": \"cancel\",\n \"OperatorRemark\": \"remark\"\n}",
75
+ "output": "{\n \"Response\": {\n \"RequestId\": \"dsafdsadfsasdffgfhgh\"\n }\n}",
94
76
  "title": "操作发布单"
95
77
  }
96
78
  ],
97
79
  "ReleaseGray": [
98
80
  {
99
81
  "document": "",
100
- "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReleaseGray\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"GrayType\": \"abc\",\n \"VersionFlowItems\": [\n {\n \"VersionName\": \"abc\",\n \"FlowRatio\": 0,\n \"UrlParam\": {\n \"Key\": \"abc\",\n \"Value\": \"abc\"\n },\n \"Priority\": 0,\n \"IsDefaultPriority\": true\n }\n ],\n \"TrafficType\": \"abc\",\n \"OperatorRemark\": \"abc\",\n \"GrayFlowRatio\": 0\n}",
101
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
82
+ "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReleaseGray\n<公共请求参数>\n\n{\n \"EnvId\": \"env-sdfsdf\",\n \"ServerName\": \"server-sdfsdf\",\n \"GrayType\": \"FLOW\",\n \"VersionFlowItems\": [\n {\n \"VersionName\": \"version-sdfsdf\",\n \"FlowRatio\": 50,\n \"UrlParam\": {\n \"Key\": \"key\",\n \"Value\": \"value\"\n },\n \"Priority\": 0,\n \"IsDefaultPriority\": true\n }\n ],\n \"TrafficType\": \"\",\n \"OperatorRemark\": \"remark\",\n \"GrayFlowRatio\": 0\n}",
83
+ "output": "{\n \"Response\": {\n \"RequestId\": \"sdfsdfsdf\"\n }\n}",
102
84
  "title": "灰度发布"
103
85
  }
104
86
  ],
105
87
  "UpdateCloudRunServer": [
106
88
  {
107
89
  "document": "",
108
- "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCloudRunServer\n<公共请求参数>\n\n{\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"DeployInfo\": {\n \"DeployType\": \"abc\",\n \"ImageUrl\": \"abc\",\n \"PackageName\": \"abc\",\n \"PackageVersion\": \"abc\",\n \"DeployRemark\": \"abc\",\n \"RepoInfo\": {\n \"Source\": \"abc\",\n \"Repo\": \"abc\",\n \"Branch\": \"abc\"\n },\n \"BuildPacks\": {\n \"BaseImage\": \"abc\",\n \"EntryPoint\": \"abc\",\n \"RepoLanguage\": \"abc\",\n \"UploadFilename\": \"abc\"\n },\n \"ReleaseType\": \"abc\"\n },\n \"ServerConfig\": {\n \"EnvId\": \"abc\",\n \"ServerName\": \"abc\",\n \"OpenAccessTypes\": [\n \"abc\"\n ],\n \"Cpu\": 0,\n \"Mem\": 0,\n \"MinNum\": 1,\n \"MaxNum\": 1,\n \"PolicyDetails\": [\n {\n \"PolicyType\": \"abc\",\n \"PolicyThreshold\": 1\n }\n ],\n \"CustomLogs\": \"abc\",\n \"EnvParams\": \"abc\",\n \"InitialDelaySeconds\": 1,\n \"CreateTime\": \"abc\",\n \"Port\": 0,\n \"HasDockerfile\": true,\n \"Dockerfile\": \"abc\",\n \"BuildDir\": \"abc\",\n \"LogType\": \"abc\",\n \"LogSetId\": \"abc\",\n \"LogTopicId\": \"abc\",\n \"LogParseType\": \"abc\",\n \"Tag\": \"abc\"\n }\n}",
109
- "output": "{\n \"Response\": {\n \"EnvId\": \"abc\",\n \"TaskId\": 0,\n \"RequestId\": \"abc\"\n }\n}",
90
+ "input": "POST / HTTP/1.1\nHost: tcbr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateCloudRunServer\n<公共请求参数>\n\n{\n \"EnvId\": \"env-sdsdf\",\n \"ServerName\": \"server-sdfsdf\",\n \"DeployInfo\": {\n \"DeployType\": \"package\",\n \"ImageUrl\": \"\",\n \"PackageName\": \"redis\",\n \"PackageVersion\": \"12324\",\n \"DeployRemark\": \"remark\",\n \"RepoInfo\": {\n \"Source\": \"source\",\n \"Repo\": \"repo\",\n \"Branch\": \"main\"\n },\n \"BuildPacks\": {\n \"BaseImage\": \"\",\n \"EntryPoint\": \"\",\n \"RepoLanguage\": \"\",\n \"UploadFilename\": \"\"\n },\n \"ReleaseType\": \"FULL\"\n },\n \"ServerConfig\": {\n \"EnvId\": \"env-sdfafa\",\n \"ServerName\": \"server-sdfafd\",\n \"OpenAccessTypes\": [\n \"OA\"\n ],\n \"Cpu\": 0,\n \"Mem\": 0,\n \"MinNum\": 1,\n \"MaxNum\": 1,\n \"PolicyDetails\": [\n {\n \"PolicyType\": \"cpu\",\n \"PolicyThreshold\": 60\n }\n ],\n \"CustomLogs\": \"\",\n \"EnvParams\": \"\",\n \"InitialDelaySeconds\": 1,\n \"CreateTime\": \"2024-12-12 12:22:00\",\n \"Port\": 0,\n \"HasDockerfile\": true,\n \"Dockerfile\": \"Dockerfile\",\n \"BuildDir\": \"\",\n \"LogType\": \"none\",\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LogParseType\": \"\",\n \"Tag\": \"\"\n }\n}",
91
+ "output": "{\n \"Response\": {\n \"EnvId\": \"env-sdfsfddf\",\n \"TaskId\": 0,\n \"RequestId\": \"sdfjlskdflkf\"\n }\n}",
110
92
  "title": "UpdateCloudRunServer"
111
93
  }
112
94
  ]
@@ -4540,7 +4540,7 @@
4540
4540
  {
4541
4541
  "disabled": false,
4542
4542
  "document": "失败的任务列表。\n注意:此字段可能返回 null,表示取不到有效值。",
4543
- "example": "[]",
4543
+ "example": "",
4544
4544
  "member": "FailReason",
4545
4545
  "name": "FailedList",
4546
4546
  "output_required": true,
@@ -696,6 +696,15 @@
696
696
  "name": "MaxTopicNum",
697
697
  "required": false,
698
698
  "type": "int"
699
+ },
700
+ {
701
+ "disabled": false,
702
+ "document": "部署可用区列表",
703
+ "example": "[10001,10002]",
704
+ "member": "int64",
705
+ "name": "ZoneIds",
706
+ "required": false,
707
+ "type": "list"
699
708
  }
700
709
  ],
701
710
  "type": "object"
@@ -2234,6 +2243,16 @@
2234
2243
  "type": "int",
2235
2244
  "value_allowed_null": true
2236
2245
  },
2246
+ {
2247
+ "disabled": false,
2248
+ "document": "可用区列表",
2249
+ "example": "[100001,100002]",
2250
+ "member": "int64",
2251
+ "name": "ZoneIds",
2252
+ "output_required": false,
2253
+ "type": "list",
2254
+ "value_allowed_null": false
2255
+ },
2237
2256
  {
2238
2257
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2239
2258
  "member": "string",