tccli 3.0.1239.1__py2.py3-none-any.whl → 3.0.1241.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/apm/v20210622/api.json +66 -69
- tccli/services/apm/v20210622/examples.json +26 -26
- tccli/services/autoscaling/v20180419/api.json +12 -1
- tccli/services/batch/v20170312/api.json +11 -11
- tccli/services/billing/v20180709/api.json +20 -0
- tccli/services/cam/v20190116/api.json +1 -1
- tccli/services/car/v20220110/api.json +1 -1
- tccli/services/car/v20220110/examples.json +3 -3
- tccli/services/cdb/v20170320/api.json +582 -579
- tccli/services/cdb/v20170320/examples.json +9 -9
- tccli/services/cdwdoris/v20211228/api.json +40 -0
- tccli/services/cfg/v20210820/api.json +11 -0
- tccli/services/chdfs/v20201112/api.json +10 -10
- tccli/services/chdfs/v20201112/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/cmq/v20190304/api.json +77 -77
- tccli/services/csip/csip_client.py +281 -16
- tccli/services/csip/v20221121/api.json +1631 -101
- tccli/services/csip/v20221121/examples.json +40 -0
- tccli/services/cvm/cvm_client.py +60 -325
- tccli/services/cvm/v20170312/api.json +618 -1401
- tccli/services/cvm/v20170312/examples.json +8 -48
- tccli/services/cwp/cwp_client.py +0 -53
- tccli/services/cwp/v20180228/api.json +0 -34
- tccli/services/cwp/v20180228/examples.json +0 -8
- tccli/services/cynosdb/v20190107/api.json +452 -458
- tccli/services/cynosdb/v20190107/examples.json +23 -23
- tccli/services/dbbrain/v20191016/api.json +16 -4
- tccli/services/dbbrain/v20191016/examples.json +5 -5
- tccli/services/dbbrain/v20210527/api.json +44 -44
- tccli/services/dbbrain/v20210527/examples.json +8 -8
- tccli/services/dts/v20180330/api.json +30 -30
- tccli/services/dts/v20180330/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +19 -9
- tccli/services/dts/v20211206/examples.json +5 -5
- tccli/services/ecm/v20190719/api.json +55 -48
- tccli/services/ecm/v20190719/examples.json +7 -7
- tccli/services/emr/emr_client.py +493 -16
- tccli/services/emr/v20190103/api.json +1323 -246
- tccli/services/emr/v20190103/examples.json +72 -0
- tccli/services/ess/v20201111/api.json +15 -6
- tccli/services/ess/v20201111/examples.json +12 -0
- tccli/services/essbasic/v20210526/api.json +11 -2
- tccli/services/essbasic/v20210526/examples.json +12 -0
- tccli/services/faceid/v20180301/api.json +3 -3
- tccli/services/gaap/v20180529/api.json +181 -183
- tccli/services/gaap/v20180529/examples.json +31 -37
- tccli/services/gs/v20191118/api.json +3 -3
- tccli/services/gs/v20191118/examples.json +3 -3
- tccli/services/iai/iai_client.py +53 -0
- tccli/services/iai/v20200303/api.json +80 -0
- tccli/services/iai/v20200303/examples.json +14 -0
- tccli/services/iotexplorer/v20190423/api.json +10 -0
- tccli/services/keewidb/v20220308/api.json +188 -190
- tccli/services/live/v20180801/api.json +323 -222
- tccli/services/live/v20180801/examples.json +79 -79
- tccli/services/mna/v20210119/api.json +20 -20
- tccli/services/mps/v20190612/api.json +40 -0
- tccli/services/oceanus/v20190422/api.json +407 -39
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +50 -0
- tccli/services/sms/v20190711/api.json +81 -81
- tccli/services/sms/v20190711/examples.json +8 -8
- tccli/services/sms/v20210111/api.json +39 -39
- tccli/services/sqlserver/v20180328/api.json +235 -139
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +777 -779
- tccli/services/ssl/v20191205/examples.json +8 -8
- tccli/services/tbaas/v20180416/api.json +118 -82
- tccli/services/tbaas/v20180416/examples.json +7 -7
- tccli/services/tcb/v20180608/api.json +18 -18
- tccli/services/tcb/v20180608/examples.json +2 -2
- tccli/services/tcm/v20210413/api.json +6 -6
- tccli/services/tcm/v20210413/examples.json +1 -1
- tccli/services/tcr/v20190924/api.json +17 -12
- tccli/services/tdmq/v20200217/api.json +18 -0
- tccli/services/tem/v20210701/api.json +439 -280
- tccli/services/tem/v20210701/examples.json +39 -39
- tccli/services/tke/v20180525/api.json +50 -39
- tccli/services/tke/v20180525/examples.json +51 -21
- tccli/services/trro/v20220325/api.json +27 -27
- tccli/services/trro/v20220325/examples.json +1 -1
- tccli/services/tse/v20201207/api.json +46 -9
- tccli/services/tse/v20201207/examples.json +31 -31
- tccli/services/tsf/v20180326/api.json +448 -434
- tccli/services/tsf/v20180326/examples.json +122 -122
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +278 -37
- tccli/services/vpc/v20170312/examples.json +56 -8
- tccli/services/vpc/vpc_client.py +159 -0
- tccli/services/waf/v20180125/api.json +303 -4
- tccli/services/waf/v20180125/examples.json +25 -1
- tccli/services/waf/waf_client.py +163 -4
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/RECORD +99 -99
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1239.1.dist-info → tccli-3.0.1241.1.dist-info}/license_files/LICENSE +0 -0
@@ -3,15 +3,15 @@
|
|
3
3
|
"CreateApplication": [
|
4
4
|
{
|
5
5
|
"document": "创建应用",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApplication\n<公共请求参数>\n\n{\n \"ApplicationName\": \"
|
7
|
-
"output": "{\n \"Response\": {\n \"Result\": \"
|
6
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApplication\n<公共请求参数>\n\n{\n \"ApplicationName\": \"tem-app\",\n \"Description\": \"这是一个描述\",\n \"CodingLanguage\": \"JAVA\",\n \"RepoType\": 3\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"Result\": \"57d58b44-ee28-4db6-acba-c1cb0cxxx\",\n \"RequestId\": \"app-xxxxxx\"\n }\n}",
|
8
8
|
"title": "创建应用"
|
9
9
|
}
|
10
10
|
],
|
11
11
|
"CreateApplicationAutoscaler": [
|
12
12
|
{
|
13
13
|
"document": "创建弹性伸缩策略组合",
|
14
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApplicationAutoscaler\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-xxxxxx\",\n \"SourceChannel\": 0,\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Autoscaler\": {\n \"MinReplicas\":
|
14
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApplicationAutoscaler\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-xxxxxx\",\n \"SourceChannel\": 0,\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Autoscaler\": {\n \"MinReplicas\": 1,\n \"MaxReplicas\": 3,\n \"AutoscalerName\": \"pk-test-1\",\n \"Description\": \"这是一个描述\",\n \"Enabled\": false,\n \"HorizontalAutoscaler\": [\n {\n \"MinReplicas\": 1,\n \"MaxReplicas\": 3,\n \"Metrics\": \"CPU\",\n \"DoubleThreshold\": 50,\n \"Enabled\": true\n }\n ],\n \"CronHorizontalAutoscaler\": [\n {\n \"Name\": \"policy-test\",\n \"Period\": \"* * *\",\n \"Schedules\": [\n {\n \"StartAt\": \"00:00\",\n \"TargetReplicas\": 1\n }\n ],\n \"Enabled\": true,\n \"Priority\": 0\n }\n ]\n }\n}",
|
15
15
|
"output": "{\n \"Response\": {\n \"Result\": \"scaler-xxxxxx\",\n \"RequestId\": \"ab-xx\"\n }\n}",
|
16
16
|
"title": "创建弹性伸缩策略组合"
|
17
17
|
}
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"CreateApplicationService": [
|
20
20
|
{
|
21
21
|
"document": "",
|
22
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApplicationService\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-xxxxxx\",\n \"SourceChannel\": 0,\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Service\": {\n \"Type\": \"VPC\",\n \"ServiceName\": \"
|
22
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApplicationService\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-xxxxxx\",\n \"SourceChannel\": 0,\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Service\": {\n \"Type\": \"VPC\",\n \"ServiceName\": \"svc-name-xxx\",\n \"ClusterIp\": \"10.xx.xx.xx\",\n \"ExternalIp\": \"10.xx.xx.xx\",\n \"SubnetId\": \"subnet-xxxxxx\",\n \"VpcId\": \"vpc-xxxxxx\",\n \"LoadBalanceId\": \"10.xx.xx.xx\",\n \"Yaml\": \"yaml-apiVersion-xxx\",\n \"Ports\": [\n 0\n ],\n \"PortMappingItemList\": [\n {\n \"Port\": 8080,\n \"TargetPort\": 8080,\n \"Protocol\": \"TCP\"\n }\n ],\n \"ExternalDomain\": \"ext.domain.xxx\"\n }\n}",
|
23
23
|
"output": "{\n \"Response\": {\n \"Result\": true,\n \"RequestId\": \"xx-xxx-xxx\"\n }\n}",
|
24
24
|
"title": "新增访问方式"
|
25
25
|
}
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"CreateConfigData": [
|
28
28
|
{
|
29
29
|
"document": "创建配置",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConfigData\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Name\": \"
|
30
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateConfigData\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Name\": \"config-name-xxx\",\n \"SourceChannel\": 0,\n \"Data\": [\n {\n \"Key\": \"key-xxx\",\n \"Value\": \"val-xxx\"\n }\n ]\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": true\n }\n}",
|
32
32
|
"title": "创建配置"
|
33
33
|
}
|
@@ -43,15 +43,15 @@
|
|
43
43
|
"CreateEnvironment": [
|
44
44
|
{
|
45
45
|
"document": "创建环境",
|
46
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEnvironment\n<公共请求参数>\n\n{\n \"EnvironmentName\": \"name-xxx\",\n \"Description\": \"
|
47
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": \"
|
46
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEnvironment\n<公共请求参数>\n\n{\n \"EnvironmentName\": \"name-xxx\",\n \"Description\": \"这是一个描述\",\n \"K8sVersion\": \"1.69.1\",\n \"SubnetIds\": [\n \"subnet-xxx\"\n ],\n \"EnableTswTraceService\": true,\n \"SourceChannel\": 0,\n \"Vpc\": \"vpc-1n5javez\"\n}",
|
47
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": \"en-xxxx\"\n }\n}",
|
48
48
|
"title": "创建环境"
|
49
49
|
}
|
50
50
|
],
|
51
51
|
"CreateLogConfig": [
|
52
52
|
{
|
53
53
|
"document": "创建日志收集配置",
|
54
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLogConfig\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-
|
54
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLogConfig\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-dpxydze5\",\n \"ApplicationId\": \"app-5vaz8x85\",\n \"LogsetId\": \"7a126551-62d1-4e12-b426-84bd5b2fdbca\",\n \"TopicId\": \"6c69fdb7-5e4c-4e52-8437-32c2c729b85a\",\n \"InputType\": \"container_stdout\",\n \"LogType\": \"json_log\",\n \"Name\": \"log-cfg-xxx\",\n \"ExtractRule\": {\n \"FilterKeys\": [],\n \"FilterRegex\": [],\n \"UnMatchUpload\": \"true\",\n \"UnMatchedKey\": \"LogParseFailure\"\n }\n}",
|
55
55
|
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": true\n }\n}",
|
56
56
|
"title": "创建日志收集配置"
|
57
57
|
}
|
@@ -59,7 +59,7 @@
|
|
59
59
|
"CreateResource": [
|
60
60
|
{
|
61
61
|
"document": "绑定云资源",
|
62
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateResource\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"ResourceType\": \"CFS\",\n \"ResourceId\": \"resource-xxxxxx\",\n \"SourceChannel\": 0,\n \"ResourceFrom\": \"
|
62
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateResource\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"ResourceType\": \"CFS\",\n \"ResourceId\": \"resource-xxxxxx\",\n \"SourceChannel\": 0,\n \"ResourceFrom\": \"existing\"\n}",
|
63
63
|
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": true\n }\n}",
|
64
64
|
"title": "绑定云资源"
|
65
65
|
}
|
@@ -99,7 +99,7 @@
|
|
99
99
|
"DeployApplication": [
|
100
100
|
{
|
101
101
|
"document": "应用部署",
|
102
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeployApplication\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-5vaz8x85\",\n \"ConfEdited\": false,\n \"
|
102
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeployApplication\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-5vaz8x85\",\n \"ConfEdited\": false,\n \"DeployMode\": \"JAR\",\n \"JdkVersion\": \"KONA:11\",\n \"PkgName\": \"tem/pkg/130xxxx/app-5vaz8x85/1733xxxx/K8sDemo-1.0.jar\",\n \"SpeedUp\": true,\n \"OsFlavour\": \"ALPINE\",\n \"DeployVersion\": \"20241202165113\",\n \"JvmOpts\": \"-Xms128m -XX:MetaspaceSize=128m\",\n \"InitPodNum\": 3,\n \"CpuSpec\": 1,\n \"MemorySpec\": 2,\n \"EnvConf\": [\n {\n \"Key\": \"key\",\n \"Value\": \"val\",\n \"Type\": \"default\",\n \"Config\": \"\",\n \"Secret\": \"\"\n }\n ],\n \"LogEnable\": 0,\n \"StorageConfs\": [],\n \"StorageMountConfs\": [],\n \"SecurityGroupIds\": [\n \"sg-1zwhplpi\"\n ],\n \"EnvironmentId\": \"en-dpxydze5\",\n \"Service\": {\n \"ServicePortMappingList\": [\n {\n \"Type\": \"CLUSTER\",\n \"ServiceName\": \"k8s-svc-test\",\n \"ClusterIp\": \"172.16.56.122\",\n \"ExternalIp\": \"10.xx.xx.xx\",\n \"ExternalDomain\": \"ext.domain.com\",\n \"SubnetId\": \"subnet-xxx\",\n \"VpcId\": \"vpc-xxx\",\n \"LoadBalanceId\": \"10.xx.xx.xx\",\n \"Yaml\": \"apiVersion: xxxxx\",\n \"Ports\": [\n 8080\n ],\n \"PortMappingItemList\": [\n {\n \"Port\": 8080,\n \"TargetPort\": 8080,\n \"Protocol\": \"TCP\"\n }\n ]\n }\n ],\n \"EnableRegistryNextDeploy\": 0,\n \"FlushAll\": true\n },\n \"UseRegistryDefaultConfig\": false,\n \"EnableTracing\": 0,\n \"SettingConfs\": [\n {\n \"ConfigDataName\": \"cfg-test-1\",\n \"MountedPath\": \"/data\",\n \"SecretDataName\": \"secret-name\"\n }\n ],\n \"DeployStrategyConf\": {\n \"TotalBatchCount\": 1,\n \"BetaBatchNum\": 0,\n \"DeployStrategyType\": 3,\n \"MinAvailable\": 1,\n \"Force\": true,\n \"BatchInterval\": 0\n },\n \"PostStart\": \"/bin/sh\\n-c\\ncurl localhost:8080/postStart\",\n \"PreStop\": \"/bin/sh\\n-c\\nwget --server-response --spider -S --no-verbose --header=\\\"Content-Type:application/json\\\" --post-data='{\\\"serverName\\\":\\\"api-basic\\\"}' \\\"http://localhost:9900/actuator/stopmsg\\\"\\nsleep 30s\"\n}",
|
103
103
|
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": \"revision-xxxxxx\"\n }\n}",
|
104
104
|
"title": "应用部署"
|
105
105
|
}
|
@@ -108,7 +108,7 @@
|
|
108
108
|
{
|
109
109
|
"document": "获取应用弹性策略组合",
|
110
110
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplicationAutoscalerList\n<公共请求参数>\n\n{\n \"SourceChannel\": 0,\n \"ApplicationId\": \"app-xxxxxx\",\n \"EnvironmentId\": \"en-xxxxxx\"\n}",
|
111
|
-
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"MinReplicas\": 0,\n \"MaxReplicas\":
|
111
|
+
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"AutoscalerId\": \"scaler-3j2o6ypg\",\n \"AutoscalerName\": \"elastic-test\",\n \"MinReplicas\": 0,\n \"MaxReplicas\": 4,\n \"CreateDate\": \"2024-12-05 11:10:19\",\n \"ModifyDate\": \"2024-12-20 17:00:23\",\n \"EnableDate\": \"2024-12-20 17:00:23\",\n \"Description\": \"这是一个描述\",\n \"Enabled\": true,\n \"HorizontalAutoscaler\": [\n {\n \"MinReplicas\": 0,\n \"MaxReplicas\": 4,\n \"Metrics\": \"CPU\",\n \"Threshold\": 0,\n \"DoubleThreshold\": 60,\n \"Enabled\": true\n }\n ],\n \"CronHorizontalAutoscaler\": []\n },\n {\n \"AutoscalerId\": \"scaler-b5q33njo\",\n \"AutoscalerName\": \"pk-test-clb\",\n \"MinReplicas\": 0,\n \"MaxReplicas\": 4,\n \"CreateDate\": \"2024-10-25 16:36:10\",\n \"ModifyDate\": \"2024-11-29 10:35:52\",\n \"EnableDate\": \"2024-11-29 10:35:52\",\n \"Description\": \"这是一个描述\",\n \"Enabled\": false,\n \"HorizontalAutoscaler\": [\n {\n \"MinReplicas\": 0,\n \"MaxReplicas\": 4,\n \"Metrics\": \"CPU\",\n \"Threshold\": 0,\n \"DoubleThreshold\": 50,\n \"Enabled\": true\n }\n ],\n \"CronHorizontalAutoscaler\": [\n {\n \"Name\": \"pk-test\",\n \"Period\": \"* * *\",\n \"Schedules\": [\n {\n \"StartAt\": \"02:00\",\n \"TargetReplicas\": 1\n }\n ],\n \"Enabled\": false,\n \"Priority\": 0\n }\n ]\n },\n {\n \"AutoscalerId\": \"scaler-ojr3nlj9\",\n \"AutoscalerName\": \"pk-test-1\",\n \"MinReplicas\": 1,\n \"MaxReplicas\": 3,\n \"CreateDate\": \"2024-12-19 23:38:45\",\n \"ModifyDate\": \"2024-12-19 23:38:45\",\n \"EnableDate\": null,\n \"Description\": \"\",\n \"Enabled\": false,\n \"HorizontalAutoscaler\": [\n {\n \"MinReplicas\": 1,\n \"MaxReplicas\": 3,\n \"Metrics\": \"CPU\",\n \"Threshold\": 0,\n \"DoubleThreshold\": 50,\n \"Enabled\": true\n }\n ],\n \"CronHorizontalAutoscaler\": [\n {\n \"Name\": \"policy-test\",\n \"Period\": \"* * *\",\n \"Schedules\": [\n {\n \"StartAt\": \"00:00\",\n \"TargetReplicas\": 1\n }\n ],\n \"Enabled\": true,\n \"Priority\": 0\n }\n ]\n }\n ],\n \"RequestId\": \"c1d58f12-420f-464c-ac3e-f4f6a77284b0\"\n }\n}",
|
112
112
|
"title": "获取应用弹性策略组合"
|
113
113
|
}
|
114
114
|
],
|
@@ -116,7 +116,7 @@
|
|
116
116
|
{
|
117
117
|
"document": "服务基本信息查看",
|
118
118
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplicationInfo\n<公共请求参数>\n\n{\n \"SourceChannel\": 0,\n \"ApplicationId\": \"app-xxxxxx\",\n \"EnvironmentId\": \"en-xxxxxx\"\n}",
|
119
|
-
"output": "{\n \"Response\": {\n \"Result\": {\n \"VersionId\": \"abc\",\n \"ApplicationId\": \"abc\",\n \"DeployMode\": \"abc\",\n \"JdkVersion\": \"abc\",\n \"Description\": \"abc\",\n \"DeployVersion\": \"abc\",\n \"PublishMode\": \"abc\",\n \"JvmOpts\": \"abc\",\n \"InitPodNum\": 0,\n \"CpuSpec\": 0,\n \"MemorySpec\": 0,\n \"ImgRepo\": \"abc\",\n \"ImgName\": \"abc\",\n \"ImgVersion\": \"abc\",\n \"EsInfo\": {\n \"MinAliveInstances\": 0,\n \"MaxAliveInstances\": 0,\n \"EsStrategy\": 0,\n \"VersionId\": \"abc\",\n \"Threshold\": 1\n },\n \"EnvConf\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"Type\": \"abc\",\n \"Config\": \"abc\",\n \"Secret\": \"abc\"\n }\n ],\n \"StorageConfs\": [\n {\n \"StorageVolName\": \"abc\",\n \"StorageVolPath\": \"abc\",\n \"StorageVolIp\": \"abc\"\n }\n ],\n \"Status\": \"abc\",\n \"Vpc\": \"abc\",\n \"SubnetId\": \"abc\",\n \"CreateDate\": \"abc\",\n \"ModifyDate\": \"abc\",\n \"StorageMountConfs\": [\n {\n \"VolumeName\": \"abc\",\n \"MountPath\": \"abc\"\n }\n ],\n \"VersionName\": \"abc\",\n \"LogOutputConf\": {\n \"OutputType\": \"abc\",\n \"ClsLogsetName\": \"abc\",\n \"ClsLogTopicId\": \"abc\",\n \"ClsLogsetId\": \"abc\",\n \"ClsLogTopicName\": \"abc\"\n },\n \"ApplicationName\": \"abc\",\n \"ApplicationDescription\": \"abc\",\n \"EnvironmentName\": \"abc\",\n \"EnvironmentId\": \"abc\",\n \"PublicDomain\": \"abc\",\n \"EnablePublicAccess\": true,\n \"CurrentInstances\": 0,\n \"ExpectedInstances\": 0,\n \"CodingLanguage\": \"abc\",\n \"PkgName\": \"abc\",\n \"EsEnable\": 0,\n \"EsStrategy\": 0,\n \"ImageTag\": \"abc\",\n \"LogEnable\": 0,\n \"MinAliveInstances\": \"abc\",\n \"SecurityGroupIds\": [\n \"abc\"\n ],\n \"ImageCommand\": \"abc\",\n \"ImageArgs\": [\n \"abc\"\n ],\n \"UseRegistryDefaultConfig\": true,\n \"Service\": {\n \"Name\": \"abc\",\n \"Ports\": [\n 0\n ],\n \"Yaml\": \"abc\",\n \"ApplicationName\": \"abc\",\n \"VersionName\": \"abc\",\n \"ClusterIp\": [\n \"abc\"\n ],\n \"ExternalIp\": \"abc\",\n \"Type\": \"abc\",\n \"SubnetId\": \"abc\",\n \"LoadBalanceId\": \"abc\",\n \"PortMappings\": [\n {\n \"Port\": 0,\n \"TargetPort\": 0,\n \"Protocol\": \"abc\",\n \"ServiceName\": \"abc\"\n }\n ],\n \"ServicePortMappingList\": [\n {\n \"Type\": \"abc\",\n \"ServiceName\": \"abc\",\n \"ClusterIp\": \"abc\",\n \"ExternalIp\": \"abc\",\n \"SubnetId\": \"abc\",\n \"VpcId\": \"abc\",\n \"LoadBalanceId\": \"abc\",\n \"Yaml\": \"abc\",\n \"Ports\": [\n 0\n ],\n \"PortMappingItemList\": [\n {\n \"Port\": 0,\n \"TargetPort\": 0,\n \"Protocol\": \"abc\"\n }\n ],\n \"ExternalDomain\": \"abc\"\n }\n ],\n \"FlushAll\": true,\n \"EnableRegistryNextDeploy\": 0,\n \"ApplicationId\": \"abc\",\n \"AllIpDone\": true,\n \"ExternalDomain\": \"abc\"\n },\n \"SettingConfs\": [\n {\n \"ConfigDataName\": \"abc\",\n \"MountedPath\": \"abc\",\n \"Data\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"Type\": \"abc\",\n \"Config\": \"abc\",\n \"Secret\": \"abc\"\n }\n ],\n \"SecretDataName\": \"abc\"\n }\n ],\n \"LogConfs\": [\n \"abc\"\n ],\n \"PostStart\": \"abc\",\n \"PreStop\": \"abc\",\n \"Liveness\": {\n \"Type\": \"abc\",\n \"Protocol\": \"abc\",\n \"Path\": \"abc\",\n \"Exec\": \"abc\",\n \"Port\": 0,\n \"InitialDelaySeconds\": 0,\n \"TimeoutSeconds\": 0,\n \"PeriodSeconds\": 0\n },\n \"Readiness\": {\n \"Type\": \"abc\",\n \"Protocol\": \"abc\",\n \"Path\": \"abc\",\n \"Exec\": \"abc\",\n \"Port\": 0,\n \"InitialDelaySeconds\": 0,\n \"TimeoutSeconds\": 0,\n \"PeriodSeconds\": 0\n },\n \"HorizontalAutoscaler\": [\n {\n \"MinReplicas\": 0,\n \"MaxReplicas\": 0,\n \"Metrics\": \"abc\",\n \"Threshold\": 0,\n \"Enabled\": true,\n \"DoubleThreshold\": 0\n }\n ],\n \"CronHorizontalAutoscaler\": [\n {\n \"Name\": \"abc\",\n \"Period\": \"abc\",\n \"Schedules\": [\n {\n \"StartAt\": \"abc\",\n \"TargetReplicas\": 0\n }\n ],\n \"Enabled\": true,\n \"Priority\": 0\n }\n ],\n \"Zones\": [\n \"abc\"\n ],\n \"LastDeployDate\": \"abc\",\n \"LastDeploySuccessDate\": \"abc\",\n \"NodeInfos\": [\n {\n \"Name\": \"abc\",\n \"Zone\": \"abc\",\n \"SubnetId\": \"abc\",\n \"AvailableIpCount\": \"abc\",\n \"Cidr\": \"abc\"\n }\n ],\n \"ImageType\": 0,\n \"EnableTracing\": 1,\n \"EnableTracingReport\": 1,\n \"RepoType\": 1,\n \"BatchDeployStatus\": \"abc\",\n \"ApmInstanceId\": \"abc\",\n \"WorkloadInfo\": {\n \"ClusterId\": \"abc\",\n \"ApplicationName\": \"abc\",\n \"VersionName\": \"abc\",\n \"ReadyReplicas\": 0,\n \"Replicas\": 0,\n \"UpdatedReplicas\": 0,\n \"UpdatedReadyReplicas\": 0,\n \"UpdateRevision\": \"abc\",\n \"CurrentRevision\": \"abc\"\n },\n \"SpeedUp\": true,\n \"StartupProbe\": {\n \"Type\": \"abc\",\n \"Protocol\": \"abc\",\n \"Path\": \"abc\",\n \"Exec\": \"abc\",\n \"Port\": 0,\n \"InitialDelaySeconds\": 0,\n \"TimeoutSeconds\": 0,\n \"PeriodSeconds\": 0\n },\n \"OsFlavour\": \"abc\",\n \"RepoServer\": \"abc\",\n \"UnderDeploying\": true,\n \"EnablePrometheusConf\": {\n \"Port\": 0,\n \"Path\": \"abc\"\n },\n \"StoppedManually\": true,\n \"TcrInstanceId\": \"abc\",\n \"EnableMetrics\": 0,\n \"AppId\": \"abc\",\n \"SubAccountUin\": \"abc\",\n \"Uin\": \"abc\",\n \"Region\": \"abc\",\n \"GroupId\": \"abc\",\n \"EnableRegistry\": 0,\n \"AutoscalerList\": [\n {\n \"MinReplicas\": 0,\n \"MaxReplicas\": 0,\n \"HorizontalAutoscaler\": [\n {\n \"MinReplicas\": 0,\n \"MaxReplicas\": 0,\n \"Metrics\": \"abc\",\n \"Threshold\": 0,\n \"Enabled\": true,\n \"DoubleThreshold\": 0\n }\n ],\n \"CronHorizontalAutoscaler\": [\n {\n \"Name\": \"abc\",\n \"Period\": \"abc\",\n \"Schedules\": [\n {\n \"StartAt\": \"abc\",\n \"TargetReplicas\": 0\n }\n ],\n \"Enabled\": true,\n \"Priority\": 0\n }\n ],\n \"AutoscalerId\": \"abc\",\n \"AutoscalerName\": \"abc\",\n \"Description\": \"abc\",\n \"CreateDate\": \"abc\",\n \"ModifyDate\": \"abc\",\n \"EnableDate\": \"abc\",\n \"Enabled\": true\n }\n ],\n \"Modifier\": \"abc\",\n \"Creator\": \"abc\",\n \"DeployStrategyConf\": {\n \"TotalBatchCount\": 0,\n \"BetaBatchNum\": 0,\n \"DeployStrategyType\": 0,\n \"BatchInterval\": 0,\n \"MinAvailable\": 0,\n \"Force\": true\n },\n \"PodList\": {\n \"Offset\": 0,\n \"Limit\": 0,\n \"TotalCount\": 0,\n \"RequestId\": \"abc\",\n \"PodList\": [\n {\n \"Webshell\": \"abc\",\n \"PodId\": \"abc\",\n \"Status\": \"abc\",\n \"CreateTime\": \"abc\",\n \"PodIp\": \"abc\",\n \"Zone\": \"abc\",\n \"DeployVersion\": \"abc\",\n \"RestartCount\": 0,\n \"Ready\": true,\n \"ContainerState\": \"abc\",\n \"NodeInfo\": {\n \"Name\": \"abc\",\n \"Zone\": \"abc\",\n \"SubnetId\": \"abc\",\n \"AvailableIpCount\": \"abc\",\n \"Cidr\": \"abc\"\n },\n \"StartTime\": \"abc\",\n \"Unhealthy\": true,\n \"UnhealthyWarningMsg\": \"abc\",\n \"VersionId\": \"abc\",\n \"ApplicationName\": \"abc\"\n }\n ]\n },\n \"ConfEdited\": true,\n \"Tags\": [\n {\n \"TagKey\": \"abc\",\n \"TagValue\": \"abc\"\n }\n ],\n \"PreStopEncoded\": \"abc\",\n \"PostStartEncoded\": \"abc\"\n },\n \"RequestId\": \"abc\"\n }\n}",
|
119
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b86d4065-771d-485c-9130-8914fe5fd1bc\",\n \"Result\": {\n \"AppId\": \"1305738457\",\n \"SubAccountUin\": \"100000799529\",\n \"Uin\": \"100019051593\",\n \"Region\": \"ap-shanghai\",\n \"VersionId\": \"revision-jorxnl6j\",\n \"VersionName\": \"20241202165113\",\n \"ApplicationId\": \"app-5vaz8x85\",\n \"Vpc\": \"vpc-e3ay8qku\",\n \"SubnetId\": \"subnet-kctzw7nj,subnet-8indzsuv,subnet-qau65gm1\",\n \"DeployMode\": \"JAR\",\n \"JdkVersion\": \"KONA:11\",\n \"Description\": \"\",\n \"DeployVersion\": \"20241202165113\",\n \"GroupId\": \"group-job6vv75\",\n \"PublishMode\": \"\",\n \"InitPodNum\": 3,\n \"CpuSpec\": 1,\n \"MemorySpec\": 2,\n \"ImgRepo\": \"\",\n \"ImgName\": \"tem-100019051593-sfuw/app0925\",\n \"ImgVersion\": \"20241202165113\",\n \"EsInfo\": null,\n \"EnvConf\": [\n {\n \"Key\": \"TEM_APM_TOKEN\",\n \"Value\": \"DBaxEudGGxxOFmAYNBuq\",\n \"Type\": \"reserved\",\n \"Config\": \"\",\n \"Secret\": \"\"\n },\n {\n \"Key\": \"TEM_APM_COLLECTOR_SKYWALKING\",\n \"Value\": \"pl.ap-shanghai.apm.tencentcs.com:11800\",\n \"Type\": \"reserved\",\n \"Config\": \"\",\n \"Secret\": \"\"\n },\n {\n \"Key\": \"TEM_APM_COLLECTOR_JAEGER\",\n \"Value\": \"pl.ap-shanghai.apm.tencentcs.com:14250\",\n \"Type\": \"reserved\",\n \"Config\": \"\",\n \"Secret\": \"\"\n },\n {\n \"Key\": \"TEM_APM_COLLECTOR_OPENTELEMETRY\",\n \"Value\": \"pl.ap-shanghai.apm.tencentcs.com:4317\",\n \"Type\": \"reserved\",\n \"Config\": \"\",\n \"Secret\": \"\"\n },\n {\n \"Key\": \"TEM_APM_INSTANCE_ID\",\n \"Value\": \"apm-JcXK7eNzw\",\n \"Type\": \"reserved\",\n \"Config\": \"\",\n \"Secret\": \"\"\n },\n {\n \"Key\": \"PROMETHEUS_INSTANCE_ID\",\n \"Value\": \"prom-hdiellob\",\n \"Type\": \"reserved\",\n \"Config\": \"\",\n \"Secret\": \"\"\n },\n {\n \"Key\": \"PROMETHEUS_TOKEN\",\n \"Value\": \";F1Lh7zVs-LFhT&+3dRqUA5bhdl\",\n \"Type\": \"reserved\",\n \"Config\": \"\",\n \"Secret\": \"\"\n },\n {\n \"Key\": \"PROMETHEUS_REMOTE_WRITE_URL\",\n \"Value\": \"http://10.0.30.147:9090/api/v1/prom/write\",\n \"Type\": \"reserved\",\n \"Config\": \"\",\n \"Secret\": \"\"\n },\n {\n \"Key\": \"PROMETHEUS_REMOTE_READ_URL\",\n \"Value\": \"http://10.0.30.147:9090/api/v1/read\",\n \"Type\": \"reserved\",\n \"Config\": \"\",\n \"Secret\": \"\"\n },\n {\n \"Key\": \"PROMETHEUS_PUSH_GATEWAY_ADDR\",\n \"Value\": \"10.0.30.147:9090\",\n \"Type\": \"reserved\",\n \"Config\": \"\",\n \"Secret\": \"\"\n },\n {\n \"Key\": \"PROMETHEUS_HTTP_API\",\n \"Value\": \"http://10.0.30.147:9090/api/v1\",\n \"Type\": \"reserved\",\n \"Config\": \"\",\n \"Secret\": \"\"\n },\n {\n \"Key\": \"PROMETHEUS_GRAFANA_ADDR\",\n \"Value\": \"\",\n \"Type\": \"reserved\",\n \"Config\": \"\",\n \"Secret\": \"\"\n }\n ],\n \"SettingConfs\": [\n {\n \"ConfigDataName\": \"pk-test-1\",\n \"SecretDataName\": \"\",\n \"MountedPath\": \"/data\",\n \"Data\": [\n {\n \"Key\": \"name\",\n \"Value\": \"value\",\n \"Type\": \"\",\n \"Config\": \"\",\n \"Secret\": \"\"\n }\n ]\n }\n ],\n \"LogConfs\": [],\n \"LogOutputConf\": null,\n \"PostStart\": \"/bin/sh\\n-c\\ncurl localhost:8080/postStart\",\n \"PostStartEncoded\": \"\",\n \"PreStop\": \"/bin/sh\\n-c\\nwget --server-response --spider -S --no-verbose --header=\\\"Content-Type:application/json\\\" --post-data='{\\\"serverName\\\":\\\"api-basic\\\"}' \\\"http://localhost:9900/actuator/stopmsg\\\"\\nsleep 30s\",\n \"PreStopEncoded\": \"\",\n \"StorageConfs\": [],\n \"StorageMountConfs\": [],\n \"JvmOpts\": \"-Xms128m -XX:MetaspaceSize=128m\",\n \"Service\": {\n \"PortMappings\": [],\n \"LoadBalanceId\": \"\",\n \"SubnetId\": \"\",\n \"Type\": \"\",\n \"Name\": \"\",\n \"ApplicationName\": \"app0925\",\n \"ClusterIp\": [],\n \"ExternalIp\": \"\",\n \"ExternalDomain\": \"\",\n \"VersionName\": \"\",\n \"Ports\": [],\n \"Yaml\": \"\",\n \"ApplicationId\": \"app-5vaz8x85\",\n \"ServicePortMappingList\": [\n {\n \"Type\": \"CLUSTER\",\n \"ServiceName\": \"k8s-svc-test\",\n \"ClusterIp\": \"172.16.56.122\",\n \"ExternalIp\": \"\",\n \"ExternalDomain\": \"\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\",\n \"LoadBalanceId\": \"\",\n \"Yaml\": \"apiVersion: xxxx\",\n \"Ports\": [\n 8080\n ],\n \"PortMappingItemList\": [\n {\n \"Port\": 8080,\n \"TargetPort\": 8080,\n \"Protocol\": \"TCP\"\n }\n ]\n },\n {\n \"Type\": \"CLUSTER\",\n \"ServiceName\": \"pk-svc\",\n \"ClusterIp\": \"172.16.52.35\",\n \"ExternalIp\": \"\",\n \"ExternalDomain\": \"\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\",\n \"LoadBalanceId\": \"\",\n \"Yaml\": \"apiVersion: xxxx\",\n \"Ports\": [\n 8080\n ],\n \"PortMappingItemList\": [\n {\n \"Port\": 8080,\n \"TargetPort\": 8080,\n \"Protocol\": \"TCP\"\n }\n ]\n }\n ],\n \"FlushAll\": false,\n \"EnableRegistryNextDeploy\": 0,\n \"AllIpDone\": true\n },\n \"Liveness\": null,\n \"Readiness\": null,\n \"StartupProbe\": null,\n \"EsEnable\": null,\n \"EnableTracing\": 0,\n \"EnableRegistry\": 0,\n \"EnableTracingReport\": 0,\n \"EnableMetrics\": 0,\n \"EnablePrometheusConf\": null,\n \"ApmInstanceId\": \"\",\n \"LogEnable\": null,\n \"RepoType\": 3,\n \"CreateDate\": \"2024-09-25 11:36:11\",\n \"ModifyDate\": \"2024-12-20 17:00:16\",\n \"MinAliveInstances\": \"\",\n \"ImageTag\": \"20241202165113\",\n \"SecurityGroupIds\": [\n \"sg-1zwhplpi\"\n ],\n \"EsStrategy\": null,\n \"AutoscalerList\": [\n {\n \"AutoscalerId\": \"scaler-3j2o6ypg\",\n \"AutoscalerName\": \"elastic-test\",\n \"MinReplicas\": 0,\n \"MaxReplicas\": 4,\n \"CreateDate\": \"2024-12-05 11:10:19\",\n \"ModifyDate\": \"2024-12-20 17:00:23\",\n \"EnableDate\": \"2024-12-20 17:00:23\",\n \"Description\": \"\",\n \"Enabled\": true,\n \"HorizontalAutoscaler\": [\n {\n \"MinReplicas\": 0,\n \"MaxReplicas\": 4,\n \"Metrics\": \"CPU\",\n \"Threshold\": 0,\n \"DoubleThreshold\": 60,\n \"Enabled\": true\n }\n ],\n \"CronHorizontalAutoscaler\": []\n },\n {\n \"AutoscalerId\": \"scaler-b5q33njo\",\n \"AutoscalerName\": \"pk-test-clb\",\n \"MinReplicas\": 0,\n \"MaxReplicas\": 4,\n \"CreateDate\": \"2024-10-25 16:36:10\",\n \"ModifyDate\": \"2024-11-29 10:35:52\",\n \"EnableDate\": \"2024-11-29 10:35:52\",\n \"Description\": \"\",\n \"Enabled\": false,\n \"HorizontalAutoscaler\": [\n {\n \"MinReplicas\": 0,\n \"MaxReplicas\": 4,\n \"Metrics\": \"CPU\",\n \"Threshold\": 0,\n \"DoubleThreshold\": 50,\n \"Enabled\": true\n }\n ],\n \"CronHorizontalAutoscaler\": [\n {\n \"Name\": \"pk-test\",\n \"Period\": \"* * *\",\n \"Schedules\": [\n {\n \"StartAt\": \"02:00\",\n \"TargetReplicas\": 1\n }\n ],\n \"Enabled\": false,\n \"Priority\": 0\n }\n ]\n },\n {\n \"AutoscalerId\": \"scaler-ojr3nlj9\",\n \"AutoscalerName\": \"pk-test-1\",\n \"MinReplicas\": 1,\n \"MaxReplicas\": 3,\n \"CreateDate\": \"2024-12-19 23:38:45\",\n \"ModifyDate\": \"2024-12-19 23:38:45\",\n \"EnableDate\": null,\n \"Description\": \"\",\n \"Enabled\": false,\n \"HorizontalAutoscaler\": [\n {\n \"MinReplicas\": 1,\n \"MaxReplicas\": 3,\n \"Metrics\": \"CPU\",\n \"Threshold\": 0,\n \"DoubleThreshold\": 50,\n \"Enabled\": true\n }\n ],\n \"CronHorizontalAutoscaler\": [\n {\n \"Name\": \"policy-test\",\n \"Period\": \"* * *\",\n \"Schedules\": [\n {\n \"StartAt\": \"00:00\",\n \"TargetReplicas\": 1\n }\n ],\n \"Enabled\": true,\n \"Priority\": 0\n }\n ]\n }\n ],\n \"ApplicationName\": \"app0925\",\n \"ApplicationDescription\": \"preStop-test\",\n \"EnvironmentName\": \"tt\",\n \"EnvironmentId\": \"en-dpxydze5\",\n \"RepoServer\": \"tem-sh-custom-registry-prd-01.tencentcloudcr.com\",\n \"PublicDomain\": \"\",\n \"EnablePublicAccess\": null,\n \"Modifier\": \"100019051593\",\n \"Creator\": \"100019051593\",\n \"CurrentInstances\": 1,\n \"ExpectedInstances\": 3,\n \"Status\": \"abnormal\",\n \"UnderDeploying\": true,\n \"BatchDeployStatus\": \"\",\n \"CodingLanguage\": \"JAVA\",\n \"ImageType\": 1,\n \"ImageCommand\": \"\",\n \"ImageArgs\": null,\n \"UseRegistryDefaultConfig\": false,\n \"DeployStrategyConf\": null,\n \"Zones\": [\n \"ap-shanghai-2\"\n ],\n \"LastDeployDate\": \"2024-12-20 17:00:17\",\n \"LastDeploySuccessDate\": \"2024-12-20 17:00:17\",\n \"NodeInfos\": [\n {\n \"Name\": \"eklet-subnet-kctzw7nj-711231\",\n \"Zone\": \"ap-shanghai-2\",\n \"SubnetId\": \"subnet-kctzw7nj\",\n \"AvailableIpCount\": \"243\",\n \"Cidr\": \"10.0.10.0-24\"\n },\n {\n \"Name\": \"eklet-subnet-8indzsuv-457482\",\n \"Zone\": \"ap-shanghai-2\",\n \"SubnetId\": \"subnet-8indzsuv\",\n \"AvailableIpCount\": \"226\",\n \"Cidr\": \"10.0.30.0-24\"\n },\n {\n \"Name\": \"eklet-subnet-qau65gm1-638453\",\n \"Zone\": \"ap-shanghai-2\",\n \"SubnetId\": \"subnet-qau65gm1\",\n \"AvailableIpCount\": \"246\",\n \"Cidr\": \"10.0.20.0-24\"\n }\n ],\n \"WorkloadInfo\": {\n \"ApplicationName\": \"app0925\",\n \"ClusterId\": \"cls-kotuimb9\",\n \"VersionName\": \"20241202165113\",\n \"ReadyReplicas\": 1,\n \"Replicas\": 3,\n \"UpdatedReplicas\": 2,\n \"UpdatedReadyReplicas\": 0,\n \"UpdateRevision\": \"app0925-574b65c5f7\",\n \"CurrentRevision\": \"app0925-77969b5b49\"\n },\n \"PodList\": {\n \"Offset\": 0,\n \"Limit\": 3,\n \"TotalCount\": 3,\n \"PodList\": [\n {\n \"Zone\": \"ap-shanghai-2\",\n \"NodeInfo\": {\n \"Name\": \"eklet-subnet-kctzw7nj-711231\",\n \"Zone\": \"ap-shanghai-2\",\n \"SubnetId\": \"subnet-kctzw7nj\",\n \"AvailableIpCount\": \"243\",\n \"Cidr\": \"10.0.10.0-24\"\n },\n \"DeployVersion\": \"\",\n \"RestartCount\": 0,\n \"Ready\": false,\n \"StartTime\": \"2024-12-20T09:01:01Z\",\n \"ContainerState\": \"waiting\",\n \"Unhealthy\": null,\n \"UnhealthyWarningMsg\": \"\",\n \"VersionId\": \"revision-jorxnl6j\",\n \"ApplicationName\": \"app0925\",\n \"Status\": \"CrashLoopBackOff\",\n \"CreateTime\": \"2024-12-20T09:00:23Z\",\n \"PodIp\": \"10.0.10.220\",\n \"Webshell\": \"https://tkecache.cloud.tencent.com/xxxx\",\n \"PodId\": \"app0925-4sbct\"\n },\n {\n \"Zone\": \"ap-shanghai-2\",\n \"NodeInfo\": {\n \"Name\": \"eklet-subnet-qau65gm1-638453\",\n \"Zone\": \"ap-shanghai-2\",\n \"SubnetId\": \"subnet-qau65gm1\",\n \"AvailableIpCount\": \"246\",\n \"Cidr\": \"10.0.20.0-24\"\n },\n \"DeployVersion\": \"\",\n \"RestartCount\": 0,\n \"Ready\": false,\n \"StartTime\": \"2024-12-20T09:01:11Z\",\n \"ContainerState\": \"waiting\",\n \"Unhealthy\": null,\n \"UnhealthyWarningMsg\": \"\",\n \"VersionId\": \"revision-jorxnl6j\",\n \"ApplicationName\": \"app0925\",\n \"Status\": \"CrashLoopBackOff\",\n \"CreateTime\": \"2024-12-20T09:00:23Z\",\n \"PodIp\": \"10.0.20.37\",\n \"Webshell\": \"https://tkecache.cloud.tencent.com/xxxx\",\n \"PodId\": \"app0925-s4vpj\"\n },\n {\n \"Zone\": \"ap-shanghai-2\",\n \"NodeInfo\": {\n \"Name\": \"eklet-subnet-8indzsuv-457482\",\n \"Zone\": \"ap-shanghai-2\",\n \"SubnetId\": \"subnet-8indzsuv\",\n \"AvailableIpCount\": \"226\",\n \"Cidr\": \"10.0.30.0-24\"\n },\n \"DeployVersion\": \"\",\n \"RestartCount\": 0,\n \"Ready\": true,\n \"StartTime\": \"2024-12-19T03:12:44Z\",\n \"ContainerState\": \"running\",\n \"Unhealthy\": null,\n \"UnhealthyWarningMsg\": \"\",\n \"VersionId\": \"revision-57moqvm5\",\n \"ApplicationName\": \"app0925\",\n \"Status\": \"Running\",\n \"CreateTime\": \"2024-12-19T03:11:32Z\",\n \"PodIp\": \"10.0.30.158\",\n \"Webshell\": \"https://tkecache.cloud.tencent.com/qcloud/xxxx\",\n \"PodId\": \"app0925-jt5bn\"\n }\n ],\n \"RequestId\": \"csdse233-xxx-xxx-xxx\"\n },\n \"ConfEdited\": null,\n \"SpeedUp\": true,\n \"OsFlavour\": \"ALPINE\",\n \"StoppedManually\": false,\n \"TcrInstanceId\": \"tcr-d8g5il2x\",\n \"Tags\": [],\n \"PkgName\": \"tem/pkg/1305738457/app-5vaz8x85/1733129495394/K8sEventDemo-1.0.jar\",\n \"HorizontalAutoscaler\": [],\n \"CronHorizontalAutoscaler\": []\n }\n }\n}",
|
120
120
|
"title": "服务基本信息查看"
|
121
121
|
}
|
122
122
|
],
|
@@ -124,7 +124,7 @@
|
|
124
124
|
{
|
125
125
|
"document": "获取应用实例列表",
|
126
126
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplicationPods\n<公共请求参数>\n\n{\n \"Status\": \"Running\",\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Offset\": 0,\n \"SourceChannel\": 0,\n \"Limit\": 20,\n \"PodName\": \"pod-name-xxx\",\n \"ApplicationId\": \"app-xxxxxx\"\n}",
|
127
|
-
"output": "{\n \"Response\": {\n \"Result\": {\n \"Offset\": 0,\n \"Limit\":
|
127
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0f09d0d3-3414-48ba-b8cc-e1c543b1fc1a\",\n \"Result\": {\n \"Offset\": 0,\n \"Limit\": 3,\n \"TotalCount\": 3,\n \"PodList\": [\n {\n \"Zone\": \"ap-shanghai-2\",\n \"NodeInfo\": {\n \"Name\": \"eklet-subnet-kctzw7nj-711231\",\n \"Zone\": \"ap-shanghai-2\",\n \"SubnetId\": \"subnet-kctzw7nj\",\n \"AvailableIpCount\": \"243\",\n \"Cidr\": \"10.0.10.0-24\"\n },\n \"DeployVersion\": \"20241202165113\",\n \"RestartCount\": 0,\n \"Ready\": false,\n \"StartTime\": \"2024-12-20T09:01:01Z\",\n \"ContainerState\": \"waiting\",\n \"Unhealthy\": null,\n \"UnhealthyWarningMsg\": \"\",\n \"VersionId\": \"revision-jorxnl6j\",\n \"ApplicationName\": \"app0925\",\n \"Status\": \"CrashLoopBackOff\",\n \"CreateTime\": \"2024-12-20 17:00:23\",\n \"Webshell\": \"https://tkecache.cloud.tencent.com/xxx\",\n \"PodId\": \"app0925-4sbct\",\n \"PodIp\": \"10.0.10.220\"\n },\n {\n \"Zone\": \"ap-shanghai-2\",\n \"NodeInfo\": {\n \"Name\": \"eklet-subnet-qau65gm1-638453\",\n \"Zone\": \"ap-shanghai-2\",\n \"SubnetId\": \"subnet-qau65gm1\",\n \"AvailableIpCount\": \"246\",\n \"Cidr\": \"10.0.20.0-24\"\n },\n \"DeployVersion\": \"20241202165113\",\n \"RestartCount\": 0,\n \"Ready\": false,\n \"StartTime\": \"2024-12-20T09:01:11Z\",\n \"ContainerState\": \"waiting\",\n \"Unhealthy\": null,\n \"UnhealthyWarningMsg\": \"\",\n \"VersionId\": \"revision-jorxnl6j\",\n \"ApplicationName\": \"app0925\",\n \"Status\": \"CrashLoopBackOff\",\n \"CreateTime\": \"2024-12-20 17:00:23\",\n \"Webshell\": \"https://tkecache.cloud.tencent.com/xxx\",\n \"PodId\": \"app0925-s4vpj\",\n \"PodIp\": \"10.0.20.37\"\n },\n {\n \"Zone\": \"ap-shanghai-2\",\n \"NodeInfo\": {\n \"Name\": \"eklet-subnet-8indzsuv-457482\",\n \"Zone\": \"ap-shanghai-2\",\n \"SubnetId\": \"subnet-8indzsuv\",\n \"AvailableIpCount\": \"226\",\n \"Cidr\": \"10.0.30.0-24\"\n },\n \"DeployVersion\": \"20241202165113\",\n \"RestartCount\": 0,\n \"Ready\": true,\n \"StartTime\": \"2024-12-19T03:12:44Z\",\n \"ContainerState\": \"running\",\n \"Unhealthy\": null,\n \"UnhealthyWarningMsg\": \"\",\n \"VersionId\": \"revision-57moqvm5\",\n \"ApplicationName\": \"app0925\",\n \"Status\": \"Running\",\n \"CreateTime\": \"2024-12-19 11:11:32\",\n \"Webshell\": \"https://tkecache.cloud.tencent.com/xxx\",\n \"PodId\": \"app0925-jt5bn\",\n \"PodIp\": \"10.0.30.158\"\n }\n ],\n \"RequestId\": \"0f09d0d3-xxx-xxx-xxx\"\n }\n }\n}",
|
128
128
|
"title": "获取应用实例列表"
|
129
129
|
}
|
130
130
|
],
|
@@ -132,7 +132,7 @@
|
|
132
132
|
{
|
133
133
|
"document": "",
|
134
134
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplicationServiceList\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"ApplicationId\": \"app-xxxxxx\",\n \"SourceChannel\": 0\n}",
|
135
|
-
"output": "{\n \"Response\": {\n \"
|
135
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7003cb9f-0932-4cba-b15a-21788df3a8fb\",\n \"Result\": {\n \"PortMappings\": [],\n \"LoadBalanceId\": \"\",\n \"SubnetId\": \"\",\n \"Type\": \"\",\n \"Name\": \"\",\n \"ApplicationName\": \"app0925\",\n \"ClusterIp\": [],\n \"ExternalIp\": \"\",\n \"ExternalDomain\": \"\",\n \"VersionName\": \"\",\n \"Ports\": [],\n \"Yaml\": \"\",\n \"ApplicationId\": \"app-5vaz8x85\",\n \"ServicePortMappingList\": [\n {\n \"Type\": \"CLUSTER\",\n \"ServiceName\": \"k8s-svc-test\",\n \"ClusterIp\": \"172.16.56.122\",\n \"ExternalIp\": \"\",\n \"ExternalDomain\": \"\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\",\n \"LoadBalanceId\": \"\",\n \"Yaml\": \"apiVersion: xxx\",\n \"Ports\": [\n 8080\n ],\n \"PortMappingItemList\": [\n {\n \"Port\": 8080,\n \"TargetPort\": 8080,\n \"Protocol\": \"TCP\"\n }\n ]\n },\n {\n \"Type\": \"CLUSTER\",\n \"ServiceName\": \"pk-svc\",\n \"ClusterIp\": \"172.16.52.35\",\n \"ExternalIp\": \"\",\n \"ExternalDomain\": \"\",\n \"SubnetId\": \"\",\n \"VpcId\": \"\",\n \"LoadBalanceId\": \"\",\n \"Yaml\": \"apiVersion: xxx\",\n \"Ports\": [\n 8080\n ],\n \"PortMappingItemList\": [\n {\n \"Port\": 8080,\n \"TargetPort\": 8080,\n \"Protocol\": \"TCP\"\n }\n ]\n }\n ],\n \"FlushAll\": false,\n \"EnableRegistryNextDeploy\": 0,\n \"AllIpDone\": true\n }\n }\n}",
|
136
136
|
"title": "查询应用访问方式列表"
|
137
137
|
}
|
138
138
|
],
|
@@ -148,7 +148,7 @@
|
|
148
148
|
{
|
149
149
|
"document": "单环境下所有应用状态查看",
|
150
150
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeApplicationsStatus\n<公共请求参数>\n\n{\n \"SourceChannel\": 0,\n \"EnvironmentId\": \"en-xxxxxx\"\n}",
|
151
|
-
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"VersionName\": \"
|
151
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"dda3b8c7-b536-4842-92a2-6756688a337e\",\n \"Result\": [\n {\n \"VersionName\": \"bj\",\n \"VersionId\": \"revision-jbzmeq7j\",\n \"Status\": \"normal\",\n \"BatchDeployStatus\": \"\",\n \"EnableEs\": -1,\n \"LogOutputConf\": null,\n \"ExpectedInstances\": 1,\n \"CurrentInstances\": 1,\n \"DeployMode\": \"JAR\",\n \"BuildTaskId\": \"build-5enzamz5\",\n \"EnvironmentId\": \"en-dpxydml5\",\n \"EnvironmentName\": \"bugfix-bj\",\n \"ApplicationId\": \"app-5vaz8x85\",\n \"ApplicationName\": \"app0925\",\n \"Zones\": [\n \"ap-beijing-3\"\n ],\n \"NodeInfos\": [\n {\n \"Name\": \"eklet-subnet-1ebj4rp9-766511\",\n \"Zone\": \"ap-beijing-3\",\n \"SubnetId\": \"subnet-1ebj4rp9\",\n \"AvailableIpCount\": \"232\",\n \"Cidr\": \"10.0.0.0-24\"\n }\n ],\n \"PodList\": {\n \"Offset\": -1,\n \"Limit\": -1,\n \"TotalCount\": 1,\n \"PodList\": [\n {\n \"Zone\": \"ap-beijing-3\",\n \"NodeInfo\": {\n \"Name\": \"eklet-subnet-1ebj4rp9-766511\",\n \"Zone\": \"ap-beijing-3\",\n \"SubnetId\": \"subnet-1ebj4rp9\",\n \"AvailableIpCount\": \"232\",\n \"Cidr\": \"10.0.0.0-24\"\n },\n \"DeployVersion\": \"\",\n \"RestartCount\": 0,\n \"Ready\": true,\n \"StartTime\": \"2024-09-25T03:39:59Z\",\n \"ContainerState\": \"running\",\n \"Unhealthy\": null,\n \"UnhealthyWarningMsg\": \"\",\n \"VersionId\": \"revision-jbzmeq7j\",\n \"ApplicationName\": \"app0925\",\n \"Status\": \"Running\",\n \"CreateTime\": \"2024-09-25T03:39:08Z\",\n \"Webshell\": \"https://tkecache.cloud.tencent.com/xxx\",\n \"PodId\": \"app0925-p728w\",\n \"PodIp\": \"10.0.0.7\"\n }\n ],\n \"RequestId\": \"\"\n },\n \"WorkloadInfo\": {\n \"ApplicationName\": \"app0925\",\n \"ClusterId\": \"cls-1trz6x5l\",\n \"VersionName\": \"bj\",\n \"ReadyReplicas\": 1,\n \"Replicas\": 1,\n \"UpdatedReplicas\": 1,\n \"UpdatedReadyReplicas\": 1,\n \"UpdateRevision\": \"app0925-868b68987\",\n \"CurrentRevision\": \"app0925-868b68987\"\n },\n \"CreateDate\": null,\n \"UnderDeploying\": false,\n \"RegionId\": \"8\"\n },\n {\n \"VersionName\": \"hello-world\",\n \"VersionId\": \"revision-jordnl7j\",\n \"Status\": \"normal\",\n \"BatchDeployStatus\": \"\",\n \"EnableEs\": -1,\n \"LogOutputConf\": null,\n \"ExpectedInstances\": 1,\n \"CurrentInstances\": 1,\n \"DeployMode\": \"IMAGE\",\n \"BuildTaskId\": \"\",\n \"EnvironmentId\": \"en-dpxydml5\",\n \"EnvironmentName\": \"bugfix-bj\",\n \"ApplicationId\": \"app-57477ag5\",\n \"ApplicationName\": \"bugfix-test\",\n \"Zones\": [\n \"ap-beijing-3\"\n ],\n \"NodeInfos\": [\n {\n \"Name\": \"eklet-subnet-1ebj4rp9-766511\",\n \"Zone\": \"ap-beijing-3\",\n \"SubnetId\": \"subnet-1ebj4rp9\",\n \"AvailableIpCount\": \"232\",\n \"Cidr\": \"10.0.0.0-24\"\n }\n ],\n \"PodList\": {\n \"Offset\": -1,\n \"Limit\": -1,\n \"TotalCount\": 1,\n \"PodList\": [\n {\n \"Zone\": \"ap-beijing-3\",\n \"NodeInfo\": {\n \"Name\": \"eklet-subnet-1ebj4rp9-766511\",\n \"Zone\": \"ap-beijing-3\",\n \"SubnetId\": \"subnet-1ebj4rp9\",\n \"AvailableIpCount\": \"232\",\n \"Cidr\": \"10.0.0.0-24\"\n },\n \"DeployVersion\": \"\",\n \"RestartCount\": 0,\n \"Ready\": true,\n \"StartTime\": \"2024-08-05T08:15:26Z\",\n \"ContainerState\": \"running\",\n \"Unhealthy\": null,\n \"UnhealthyWarningMsg\": \"\",\n \"VersionId\": \"revision-jordnl7j\",\n \"ApplicationName\": \"bugfix-test\",\n \"Status\": \"Running\",\n \"CreateTime\": \"2024-08-05T08:14:28Z\",\n \"Webshell\": \"https://tkecache.cloud.tencent.com/xxx\",\n \"PodId\": \"bugfix-test-lvn56\",\n \"PodIp\": \"10.0.0.16\"\n }\n ],\n \"RequestId\": \"\"\n },\n \"WorkloadInfo\": {\n \"ApplicationName\": \"bugfix-test\",\n \"ClusterId\": \"cls-1trz6x5l\",\n \"VersionName\": \"hello-world\",\n \"ReadyReplicas\": 1,\n \"Replicas\": 1,\n \"UpdatedReplicas\": 1,\n \"UpdatedReadyReplicas\": 1,\n \"UpdateRevision\": \"bugfix-test-648f6b456d\",\n \"CurrentRevision\": \"bugfix-test-648f6b456d\"\n },\n \"CreateDate\": null,\n \"UnderDeploying\": false,\n \"RegionId\": \"8\"\n }\n ]\n }\n}",
|
152
152
|
"title": "单环境下所有应用状态查看"
|
153
153
|
}
|
154
154
|
],
|
@@ -156,7 +156,7 @@
|
|
156
156
|
{
|
157
157
|
"document": "查询配置详情",
|
158
158
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConfigData\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Name\": \"abc-xxxx\",\n \"SourceChannel\": 0\n}",
|
159
|
-
"output": "{\n \"Response\": {\n \"
|
159
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8b94500c-06cf-42cf-a228-dfea478c3239\",\n \"Result\": {\n \"Name\": \"config-test\",\n \"CreateTime\": \"2024-12-19 23:55:05\",\n \"RelatedApplications\": [],\n \"Data\": [\n {\n \"Key\": \"key-xxx\",\n \"Value\": \"val-xxx\",\n \"Type\": \"\",\n \"Config\": \"\",\n \"Secret\": \"\"\n }\n ]\n }\n }\n}",
|
160
160
|
"title": "查询配置详情"
|
161
161
|
}
|
162
162
|
],
|
@@ -164,7 +164,7 @@
|
|
164
164
|
{
|
165
165
|
"document": "查询配置列表",
|
166
166
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConfigDataList\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"ContinueToken\": \"token-xxxxxx\",\n \"Limit\": 0,\n \"SourceChannel\": 0\n}",
|
167
|
-
"output": "{\n \"Response\": {\n \"
|
167
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"8b94500c-06cf-42cf-a228-dfea478c3239\",\n \"Result\": {\n \"Records\": [\n {\n \"Name\": \"config-test\",\n \"CreateTime\": \"2024-12-19 23:55:05\",\n \"RelatedApplications\": [],\n \"Data\": [\n {\n \"Key\": \"key-xxx\",\n \"Value\": \"val-xxx\",\n \"Type\": \"\",\n \"Config\": \"\",\n \"Secret\": \"\"\n }\n ]\n },\n {\n \"Name\": \"pk-test\",\n \"CreateTime\": \"2024-12-19 11:04:13\",\n \"RelatedApplications\": [],\n \"Data\": [\n {\n \"Key\": \"name\",\n \"Value\": \"pk\",\n \"Type\": \"\",\n \"Config\": \"\",\n \"Secret\": \"\"\n }\n ]\n }\n ],\n \"RemainingCount\": null,\n \"ContinueToken\": \"\"\n }\n }\n}",
|
168
168
|
"title": "查询配置列表"
|
169
169
|
}
|
170
170
|
],
|
@@ -172,7 +172,7 @@
|
|
172
172
|
{
|
173
173
|
"document": "获取分批发布详情",
|
174
174
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeployApplicationDetail\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-xxxxxx\",\n \"EnvironmentId\": \"en-xxxxxx\",\n \"VersionId\": \"version-xxx\"\n}",
|
175
|
-
"output": "{\n \"Response\": {\n \"Result\": {\n \"DeployStrategyConf\": {\n \"TotalBatchCount\":
|
175
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7559e31e-4e32-476d-93f2-db6bcbab530a\",\n \"Result\": {\n \"DeployStrategyConf\": {\n \"TotalBatchCount\": 1,\n \"BetaBatchNum\": 0,\n \"DeployStrategyType\": 3,\n \"BatchInterval\": 0,\n \"MinAvailable\": 1,\n \"Force\": true\n },\n \"StartTime\": \"2024-12-20 17:00:17\",\n \"EndTime\": \"\",\n \"Status\": \"Error\",\n \"CurrentBatchStatus\": \"Finish\",\n \"ErrorMessage\": \"\",\n \"BetaBatchDetail\": null,\n \"OtherBatchDetail\": [\n {\n \"OldPods\": [],\n \"NewPods\": [\n {\n \"PodId\": \"app0925-4sbct\",\n \"PodVersion\": \"\",\n \"CreateTime\": \"2024-12-20 17:00:23\",\n \"Zone\": \"ap-shanghai-2\",\n \"Webshell\": \"https://tkecache.cloud.tencent.com/xxx\",\n \"Status\": \"CrashLoopBackOff\",\n \"PodStatus\": [\n \"CrashLoopBackOff\"\n ]\n },\n {\n \"PodId\": \"app0925-s4vpj\",\n \"PodVersion\": \"\",\n \"CreateTime\": \"2024-12-20 17:00:23\",\n \"Zone\": \"ap-shanghai-2\",\n \"Webshell\": \"https://tkecache.cloud.tencent.com/xxx\",\n \"Status\": \"CrashLoopBackOff\",\n \"PodStatus\": [\n \"CrashLoopBackOff\"\n ]\n }\n ],\n \"BatchStatus\": \"Finish\",\n \"PodNum\": 3,\n \"BatchIndex\": 0,\n \"NextBatchStartTime\": 0,\n \"OldPodList\": null,\n \"NewPodList\": null\n }\n ],\n \"OldVersionPodList\": {\n \"Offset\": 0,\n \"Limit\": 1,\n \"TotalCount\": 1,\n \"PodList\": [\n {\n \"Zone\": \"ap-shanghai-2\",\n \"NodeInfo\": {\n \"Name\": \"eklet-subnet-8indzsuv-457482\",\n \"Zone\": \"ap-shanghai-2\",\n \"SubnetId\": \"subnet-8indzsuv\",\n \"AvailableIpCount\": \"226\",\n \"Cidr\": \"10.0.30.0-24\"\n },\n \"DeployVersion\": \"20241202165113\",\n \"RestartCount\": 0,\n \"Ready\": true,\n \"StartTime\": \"2024-12-19T03:12:44Z\",\n \"ContainerState\": \"running\",\n \"Unhealthy\": null,\n \"UnhealthyWarningMsg\": \"\",\n \"VersionId\": \"revision-57moqvm5\",\n \"ApplicationName\": \"app0925\",\n \"Status\": \"Running\",\n \"CreateTime\": \"2024-12-19 11:11:32\",\n \"Webshell\": \"https://tkecache.cloud.tencent.com/xxx\",\n \"PodId\": \"app0925-jt5bn\",\n \"PodIp\": \"10.0.30.158\"\n }\n ],\n \"RequestId\": \"\"\n },\n \"CurrentBatchIndex\": 0,\n \"NewVersionPackageInfo\": \"K8sEventDemo-1.0.jar\",\n \"NewDeployVersion\": \"20241202165113\",\n \"OldDeployVersion\": \"20241202165113\",\n \"NextBatchStartTime\": null\n }\n }\n}",
|
176
176
|
"title": "获取分批发布详情"
|
177
177
|
}
|
178
178
|
],
|
@@ -180,7 +180,7 @@
|
|
180
180
|
{
|
181
181
|
"document": "获取环境状态",
|
182
182
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnvironment\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"SourceChannel\": 0\n}",
|
183
|
-
"output": "{\n \"Response\": {\n \"Result\": {\n \"EnvironmentId\": \"en-
|
183
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"85435f86-a454-4bf8-8e8c-074a51f55bb2\",\n \"Result\": {\n \"EnvironmentId\": \"en-l5mmxey5\",\n \"EnvironmentName\": \"bugfix-gz\",\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-9xcgo41t\",\n \"SubnetIds\": [\n \"subnet-orcy48cy\"\n ],\n \"Description\": \"这是一个描述\",\n \"CreatedDate\": \"2024-07-01 17:48:35\",\n \"ApmInstanceId\": \"\",\n \"Locked\": 0,\n \"NamespaceName\": \"\",\n \"Tags\": [],\n \"EnvType\": \"prod\"\n }\n }\n}",
|
184
184
|
"title": "获取环境状态"
|
185
185
|
}
|
186
186
|
],
|
@@ -188,7 +188,7 @@
|
|
188
188
|
{
|
189
189
|
"document": "获取环境状态",
|
190
190
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnvironmentStatus\n<公共请求参数>\n\n{\n \"EnvironmentIds\": [\n \"en-xxxxxx\"\n ],\n \"SourceChannel\": 0\n}",
|
191
|
-
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"EnvironmentId\": \"en-xxxxxx\",\n \"EnvironmentName\": \"
|
191
|
+
"output": "{\n \"Response\": {\n \"Result\": [\n {\n \"EnvironmentId\": \"en-xxxxxx\",\n \"EnvironmentName\": \"en-name-xxx\",\n \"ClusterId\": \"cls-xxxxxx\",\n \"ClusterStatus\": \"running\",\n \"EnvironmentStartingStatus\": {\n \"ApplicationNumNeedToStart\": 0,\n \"StartedApplicationNum\": 0,\n \"StartFailedApplicationNum\": 0\n },\n \"EnvironmentStoppingStatus\": {\n \"ApplicationNumNeedToStop\": 0,\n \"StoppedApplicationNum\": 0,\n \"StopFailedApplicationNum\": 0\n }\n }\n ],\n \"RequestId\": \"1se3sd-xxx-xxx-xxx\"\n }\n}",
|
192
192
|
"title": "获取环境状态"
|
193
193
|
}
|
194
194
|
],
|
@@ -196,7 +196,7 @@
|
|
196
196
|
{
|
197
197
|
"document": "获取环境列表",
|
198
198
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEnvironments\n<公共请求参数>\n\n{}",
|
199
|
-
"output": "{\n \"Response\": {\n \"Result\": {\n \"Records\": [\n {\n \"EnvironmentId\": \"en-xxxxxx\",\n \"
|
199
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a438e9af-34a0-47d8-bdfc-fc42f652ad6f\",\n \"Result\": {\n \"Pages\": 1,\n \"Records\": [\n {\n \"EnvironmentId\": \"en-xxxxxx\",\n \"AppId\": \"130573xxx\",\n \"ApplicationNum\": 0,\n \"RunInstancesNum\": 0,\n \"Uin\": \"10001905xxx\",\n \"SubAccountUin\": \"100000799xxx\",\n \"EnvironmentName\": \"test-cluster\",\n \"Region\": \"ap-guangzhou\",\n \"RegionId\": \"1\",\n \"Description\": \"\",\n \"ClusterId\": \"cls-qtqz9mxx\",\n \"ClusterStatus\": \"NORMAL\",\n \"Vpc\": \"vpc-3le4yaxx\",\n \"SubnetId\": \"subnet-pm9fq4xx\",\n \"CreateDate\": \"2024-11-07 16:57:21\",\n \"ModifyDate\": \"2024-11-07 16:57:21\",\n \"Modifier\": \"100019051593\",\n \"Creator\": \"100019051593\",\n \"Locked\": 0,\n \"Channel\": \"\",\n \"Status\": 1,\n \"EnableTswTraceService\": false,\n \"Tags\": [],\n \"EnvType\": \"prod\",\n \"HasAuthority\": true\n }\n ],\n \"Total\": 1,\n \"Size\": 20,\n \"Current\": 1\n }\n }\n}",
|
200
200
|
"title": "获取环境列表"
|
201
201
|
}
|
202
202
|
],
|
@@ -204,7 +204,7 @@
|
|
204
204
|
{
|
205
205
|
"document": "查询 Ingress 规则",
|
206
206
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIngress\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"ClusterNamespace\": \"default\",\n \"SourceChannel\": 0,\n \"IngressName\": \"name-xxx\"\n}",
|
207
|
-
"output": "{\n \"Response\": {\n \"Result\": {\n \"EnvironmentId\": \"en-xxxxxx\",\n \"AddressIPVersion\": \"
|
207
|
+
"output": "{\n \"Response\": {\n \"Result\": {\n \"EnvironmentId\": \"en-xxxxxx\",\n \"AddressIPVersion\": \"IPV4\",\n \"IngressName\": \"ingress-name-xxx\",\n \"Rules\": [\n {\n \"Host\": \"11.xx.xx.xx\",\n \"Http\": {\n \"Paths\": [\n {\n \"Path\": \"/path\",\n \"Backend\": {\n \"ServiceName\": \"svc-name-xxx\",\n \"ServicePort\": 8080\n }\n }\n ]\n },\n \"Protocol\": \"TCP\"\n }\n ],\n \"ClbId\": \"lb-xxx\",\n \"ClusterNamespace\": \"default\",\n \"Tls\": [\n {\n \"Hosts\": [\n \"11.xx.xx.xx\"\n ],\n \"SecretName\": \"secret-name-xxx\",\n \"CertificateId\": \"certId-xxx\"\n }\n ],\n \"ClusterId\": \"cls-xxxxxx\",\n \"Vip\": \"11.xx.xx.xx\",\n \"CreateTime\": \"2024-12-04 20:46:29\",\n \"Mixed\": true,\n \"RewriteType\": \"AUTO\",\n \"Domain\": \"\"\n },\n \"RequestId\": \"abc-xxx-xxx-xxx\"\n }\n}",
|
208
208
|
"title": "查询 Ingress 规则"
|
209
209
|
}
|
210
210
|
],
|
@@ -212,23 +212,23 @@
|
|
212
212
|
{
|
213
213
|
"document": "查询 Ingress 规则列表",
|
214
214
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIngresses\n<公共请求参数>\n\n{\n \"ClusterNamespace\": \"default\",\n \"EnvironmentId\": \"en-xxxxxx\",\n \"IngressNames\": [\n \"ingress-name\"\n ],\n \"SourceChannel\": 0\n}",
|
215
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": [\n {\n \"ClusterId\": \"
|
215
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": [\n {\n \"ClusterId\": \"cls-xxxxxx\",\n \"EnvironmentId\": \"en-xxxxxx\",\n \"IngressName\": \"ingress-name-xxx\",\n \"ClusterNamespace\": \"default\",\n \"AddressIPVersion\": \"IPV4\",\n \"ClbId\": \"clb-xxxx\",\n \"Vip\": \"10.xx.xx.xx\",\n \"Rules\": [\n {\n \"Host\": \"\",\n \"Http\": {\n \"Paths\": [\n {\n \"Path\": \"/path\",\n \"Backend\": {\n \"ServiceName\": \"kubernetes\",\n \"ServicePort\": 443\n }\n }\n ]\n }\n }\n ],\n \"Tls\": [\n {\n \"Hosts\": [\n \"xxx.com\"\n ],\n \"SecretName\": \"secret-name-xxx\"\n }\n ],\n \"CreateTime\": \"2024-12-04 20:46:29\",\n \"Mixed\": true,\n \"RewriteType\": \"AUTO\",\n \"Domain\": \"xxx.xxx.com\"\n }\n ]\n }\n}",
|
216
216
|
"title": "查询 Ingress 规则列表"
|
217
217
|
}
|
218
218
|
],
|
219
219
|
"DescribeLogConfig": [
|
220
220
|
{
|
221
221
|
"document": "查询日志收集配置详情",
|
222
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLogConfig\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Name\": \"
|
223
|
-
"output": "{\n \"Response\": {\n \"
|
222
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLogConfig\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Name\": \"log-name-xxx\",\n \"ApplicationId\": \"app-xxxxxx\"\n}",
|
223
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e6fedfb8-1bc9-414d-b69b-5e24fdda6416\",\n \"Result\": {\n \"Name\": \"log-name-xxx\",\n \"ApplicationName\": \"app-name-xxx\",\n \"ApplicationId\": \"\",\n \"InputType\": \"container_stdout\",\n \"TopicId\": \"3ae33b64-d3d1-4a2c-96ff-a2e044dcexxx\",\n \"LogsetId\": \"5bf3beeb-1f64-40f9-9672-b596248d7xxx\",\n \"LogType\": \"minimalist_log\",\n \"BeginningRegex\": \"\",\n \"ExtractRule\": {\n \"Backtracking\": \"-1\",\n \"BeginningRegex\": \"\",\n \"Delimiter\": \"\",\n \"FilterKeys\": [],\n \"FilterRegex\": [],\n \"Keys\": [],\n \"LogRegex\": \"\",\n \"TimeFormat\": \"\",\n \"TimeKey\": \"\",\n \"UnMatchUpload\": \"false\",\n \"UnMatchedKey\": \"\"\n },\n \"LogPath\": \"\",\n \"FilePattern\": \"\",\n \"CreateDate\": \"2022-05-28T18:02:55.000+08:00\",\n \"ModifyDate\": \"2022-05-28T18:02:56.000+08:00\"\n }\n }\n}",
|
224
224
|
"title": "查询日志收集配置详情"
|
225
225
|
}
|
226
226
|
],
|
227
227
|
"DescribePagedLogConfigList": [
|
228
228
|
{
|
229
229
|
"document": "查询分页的日志收集配置列表",
|
230
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePagedLogConfigList\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"ApplicationId\": \"app-xxxxxx\",\n \"ApplicationName\": \"
|
231
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"0793bb3c-6de8-4816-9ab0-5f006cf7656c\",\n \"Result\": {\n \"ContinueToken\": \"\",\n \"Records\": [\n {\n \"ApplicationId\": \"app-5vaz8x85\",\n \"ApplicationName\": \"app0925\",\n \"BeginningRegex\": \"\",\n \"CreateDate\": \"2024-10-31T15:25:07.000+08:00\",\n \"ExtractRule\": {\n \"Backtracking\": \"\",\n \"BeginningRegex\": \"\",\n \"Delimiter\": \"\",\n \"FilterKeys\": [],\n \"FilterRegex\": [],\n \"Keys\": [],\n \"LogRegex\": \"\",\n \"TimeFormat\": \"\",\n \"TimeKey\": \"\",\n \"UnMatchUpload\": \"true\",\n \"UnMatchedKey\": \"LogParseFailure\"\n },\n \"FilePattern\": \"\",\n \"InputType\": \"container_stdout\",\n \"LogPath\": \"\",\n \"LogType\": \"\",\n \"LogsetId\": \"7a126551-62d1-4e12-b426-
|
230
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePagedLogConfigList\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"ApplicationId\": \"app-xxxxxx\",\n \"ApplicationName\": \"name-xxx\",\n \"Name\": \"name-xxx\",\n \"Limit\": 0,\n \"ContinueToken\": \"some-token-value\"\n}",
|
231
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0793bb3c-6de8-4816-9ab0-5f006cf7656c\",\n \"Result\": {\n \"ContinueToken\": \"\",\n \"Records\": [\n {\n \"ApplicationId\": \"app-5vaz8x85\",\n \"ApplicationName\": \"app0925\",\n \"BeginningRegex\": \"\",\n \"CreateDate\": \"2024-10-31T15:25:07.000+08:00\",\n \"ExtractRule\": {\n \"Backtracking\": \"\",\n \"BeginningRegex\": \"\",\n \"Delimiter\": \"\",\n \"FilterKeys\": [],\n \"FilterRegex\": [],\n \"Keys\": [],\n \"LogRegex\": \"\",\n \"TimeFormat\": \"\",\n \"TimeKey\": \"\",\n \"UnMatchUpload\": \"true\",\n \"UnMatchedKey\": \"LogParseFailure\"\n },\n \"FilePattern\": \"\",\n \"InputType\": \"container_stdout\",\n \"LogPath\": \"\",\n \"LogType\": \"\",\n \"LogsetId\": \"7a126551-62d1-4e12-b426-84bd5b2fdxxx\",\n \"ModifyDate\": \"2024-10-31T15:25:08.000+08:00\",\n \"Name\": \"test\",\n \"TopicId\": \"6c69fdb7-5e4c-4e52-8437-32c2c729b85a\"\n }\n ]\n }\n }\n}",
|
232
232
|
"title": "查询分页的日志收集配置列表"
|
233
233
|
}
|
234
234
|
],
|
@@ -236,7 +236,7 @@
|
|
236
236
|
{
|
237
237
|
"document": "查询应用关联的 Ingress 规则列表",
|
238
238
|
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRelatedIngresses\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"ClusterNamespace\": \"default\",\n \"ApplicationId\": \"app-xxxxxx\",\n \"SourceChannel\": 0\n}",
|
239
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": [\n {\n \"ClusterId\": \"
|
239
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": [\n {\n \"ClusterId\": \"cls-xxxxxx\",\n \"IngressName\": \"ingress-name-xxx\",\n \"ClusterNamespace\": \"default\",\n \"EnvironmentId\": \"en-xxxxxx\",\n \"AddressIPVersion\": \"IPV4\",\n \"ClbId\": \"clb-xxxx\",\n \"Vip\": \"10.xx.xx.xx\",\n \"Mixed\": true,\n \"Rules\": [\n {\n \"Host\": \"\",\n \"Http\": {\n \"Paths\": [\n {\n \"Path\": \"/path\",\n \"Backend\": {\n \"ServiceName\": \"svc-name-xxx\",\n \"ServicePort\": 443\n }\n }\n ]\n }\n }\n ],\n \"Tls\": [\n {\n \"Hosts\": [\n \"xxx.com\"\n ],\n \"SecretName\": \"secret-name-xxx\"\n }\n ],\n \"CreateTime\": \"2024-12-04 20:46:29\",\n \"RewriteType\": \"AUTO\",\n \"Domain\": \"xxx.xxx.com\"\n }\n ]\n }\n}",
|
240
240
|
"title": "查询应用关联的 Ingress 规则列表"
|
241
241
|
}
|
242
242
|
],
|
@@ -259,7 +259,7 @@
|
|
259
259
|
"DestroyLogConfig": [
|
260
260
|
{
|
261
261
|
"document": "销毁日志收集配置",
|
262
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DestroyLogConfig\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Name\": \"
|
262
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DestroyLogConfig\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Name\": \"name-xxx\",\n \"ApplicationId\": \"app-xxxxxx\"\n}",
|
263
263
|
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": true\n }\n}",
|
264
264
|
"title": "销毁日志收集配置"
|
265
265
|
}
|
@@ -291,16 +291,16 @@
|
|
291
291
|
"ModifyApplicationAutoscaler": [
|
292
292
|
{
|
293
293
|
"document": "修改弹性伸缩策略组合",
|
294
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApplicationAutoscaler\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-xxxxxx\",\n \"
|
295
|
-
"output": "{\n \"Response\": {\n \"Result\": true,\n \"RequestId\": \"
|
294
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApplicationAutoscaler\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-xxxxxx\",\n \"EnvironmentId\": \"en-xxxxxx\",\n \"AutoscalerId\": \"scaler-xxxxxx\",\n \"Autoscaler\": {\n \"MinReplicas\": 0,\n \"MaxReplicas\": 4,\n \"AutoscalerName\": \"pk-test-clb\",\n \"Description\": \"\",\n \"Enabled\": false,\n \"HorizontalAutoscaler\": [\n {\n \"MinReplicas\": 0,\n \"MaxReplicas\": 4,\n \"Metrics\": \"CPU\",\n \"DoubleThreshold\": 50,\n \"Enabled\": true\n }\n ],\n \"CronHorizontalAutoscaler\": [\n {\n \"Name\": \"pk-test\",\n \"Period\": \"* * *\",\n \"Schedules\": [\n {\n \"StartAt\": \"02:00\",\n \"TargetReplicas\": 1\n }\n ],\n \"Enabled\": false,\n \"Priority\": 0\n }\n ]\n }\n}",
|
295
|
+
"output": "{\n \"Response\": {\n \"Result\": true,\n \"RequestId\": \"abbd6b63-xxx-xxx-xxx\"\n }\n}",
|
296
296
|
"title": "修改弹性伸缩策略组合"
|
297
297
|
}
|
298
298
|
],
|
299
299
|
"ModifyApplicationInfo": [
|
300
300
|
{
|
301
301
|
"document": "修改应用基本信息",
|
302
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApplicationInfo\n<公共请求参数>\n\n{\n \"SourceChannel\": 0,\n \"ApplicationId\": \"app-xxxxxx\",\n \"Description\": \"
|
303
|
-
"output": "{\n \"Response\": {\n \"Result\": true,\n \"RequestId\": \"
|
302
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApplicationInfo\n<公共请求参数>\n\n{\n \"SourceChannel\": 0,\n \"ApplicationId\": \"app-xxxxxx\",\n \"Description\": \"这是一个描述\",\n \"EnableTracing\": 1\n}",
|
303
|
+
"output": "{\n \"Response\": {\n \"Result\": true,\n \"RequestId\": \"1dew34d-xxx-xxx-xxx\"\n }\n}",
|
304
304
|
"title": "修改应用基本信息"
|
305
305
|
}
|
306
306
|
],
|
@@ -315,15 +315,15 @@
|
|
315
315
|
"ModifyApplicationService": [
|
316
316
|
{
|
317
317
|
"document": "",
|
318
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApplicationService\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-xxxxxx\",\n \"SourceChannel\": 0,\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Service\": {\n \"Name\": \"
|
319
|
-
"output": "{\n \"Response\": {\n \"Result\": true,\n \"RequestId\": \"xxx\"\n }\n}",
|
318
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyApplicationService\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-xxxxxx\",\n \"SourceChannel\": 0,\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Service\": {\n \"Name\": \"svc-name-xxx\",\n \"Ports\": [\n 8080\n ],\n \"Yaml\": \"apiVersion: xxx\",\n \"ApplicationName\": \"app-name-xxx\",\n \"VersionName\": \"ver-name-xxx\",\n \"ClusterIp\": [\n \"11.xx.xx.xx\"\n ],\n \"ExternalIp\": \"10.xx.xx.xx\",\n \"Type\": \"CLUSTER\",\n \"SubnetId\": \"subnet-xxx\",\n \"LoadBalanceId\": \"lb-xxxxxx\",\n \"PortMappings\": [\n {\n \"Port\": 8080,\n \"TargetPort\": 8080,\n \"Protocol\": \"TCP\",\n \"ServiceName\": \"svc-name-xxx\"\n }\n ],\n \"ServicePortMappingList\": [\n {\n \"Type\": \"CLUSTER\",\n \"ServiceName\": \"svc-name-xxx\",\n \"ClusterIp\": \"11.xx.xx.xx\",\n \"ExternalIp\": \"10.xx.xx.xx\",\n \"SubnetId\": \"subnet-xxxxxx\",\n \"VpcId\": \"vpc-xxxxxx\",\n \"LoadBalanceId\": \"lb-xxxxxx\",\n \"Yaml\": \"apiVersion: xxx\",\n \"Ports\": [\n 8080\n ],\n \"PortMappingItemList\": [\n {\n \"Port\": 8080,\n \"TargetPort\": 8080,\n \"Protocol\": \"TCP\"\n }\n ],\n \"ExternalDomain\": \"ext.com.xxx\"\n }\n ],\n \"FlushAll\": true,\n \"EnableRegistryNextDeploy\": 0,\n \"ApplicationId\": \"app-xxxxxx\",\n \"AllIpDone\": true,\n \"ExternalDomain\": \"ext.com.xxx\"\n },\n \"Data\": {\n \"Type\": \"CLUSTER\",\n \"ServiceName\": \"svc-name-xxx\",\n \"ClusterIp\": \"11.xx.xx.xx\",\n \"ExternalIp\": \"10.xx.xx.xx\",\n \"SubnetId\": \"subnet-xxxxxx\",\n \"VpcId\": \"vpc-xxxxxx\",\n \"LoadBalanceId\": \"lb-xxxxxx\",\n \"Yaml\": \"apiVersion: xxx\",\n \"Ports\": [\n 8080\n ],\n \"PortMappingItemList\": [\n {\n \"Port\": 8080,\n \"TargetPort\": 8080,\n \"Protocol\": \"TCP\"\n }\n ],\n \"ExternalDomain\": \"ext.com.xxx\"\n }\n}",
|
319
|
+
"output": "{\n \"Response\": {\n \"Result\": true,\n \"RequestId\": \"asdc122-xxx-xxx-xxx\"\n }\n}",
|
320
320
|
"title": "修改服务访问方式列表"
|
321
321
|
}
|
322
322
|
],
|
323
323
|
"ModifyConfigData": [
|
324
324
|
{
|
325
325
|
"document": "编辑配置",
|
326
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyConfigData\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Name\": \"
|
326
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyConfigData\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Name\": \"config-test\",\n \"SourceChannel\": 0,\n \"Data\": [\n {\n \"Key\": \"key-xxx\",\n \"Value\": \"val-xxx\",\n \"Type\": \"\",\n \"Config\": \"\",\n \"Secret\": \"\"\n }\n ]\n}",
|
327
327
|
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": true\n }\n}",
|
328
328
|
"title": "编辑配置"
|
329
329
|
}
|
@@ -331,7 +331,7 @@
|
|
331
331
|
"ModifyEnvironment": [
|
332
332
|
{
|
333
333
|
"document": "编辑环境",
|
334
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyEnvironment\n<公共请求参数>\n\n{\n \"EnvironmentName\": \"name-xxx\",\n \"Description\": \"
|
334
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyEnvironment\n<公共请求参数>\n\n{\n \"EnvironmentName\": \"name-xxx\",\n \"Description\": \"这是一个描述\",\n \"EnvironmentId\": \"en-xxxxxx\",\n \"SubnetIds\": [\n \"subnet-xxxxxx\"\n ],\n \"SourceChannel\": 0,\n \"Vpc\": \"vpc-xxxxxx\"\n}",
|
335
335
|
"output": "{\n \"Response\": {\n \"Result\": true,\n \"RequestId\": \"xxx-xxx-xxx\"\n }\n}",
|
336
336
|
"title": "编辑环境"
|
337
337
|
}
|
@@ -347,7 +347,7 @@
|
|
347
347
|
"ModifyLogConfig": [
|
348
348
|
{
|
349
349
|
"document": "编辑日志收集配置",
|
350
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyLogConfig\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Name\": \"
|
350
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyLogConfig\n<公共请求参数>\n\n{\n \"EnvironmentId\": \"en-xxxxxx\",\n \"Name\": \"name-xxx\",\n \"Data\": {\n \"LogsetId\": \"7a126551-62d1-4e12-b426-84bd5b2fdbca\",\n \"TopicId\": \"6c69fdb7-5e4c-4e52-8437-32c2c729b85a\",\n \"InputType\": \"container_stdout\",\n \"LogType\": \"json_log\",\n \"ExtractRule\": {\n \"FilterKeys\": [],\n \"FilterRegex\": [],\n \"UnMatchUpload\": \"true\",\n \"UnMatchedKey\": \"LogParseFailure\"\n }\n },\n \"ApplicationId\": \"app-xxxxxx\"\n}",
|
351
351
|
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": true\n }\n}",
|
352
352
|
"title": "编辑日志收集配置"
|
353
353
|
}
|
@@ -387,7 +387,7 @@
|
|
387
387
|
"RollingUpdateApplicationByVersion": [
|
388
388
|
{
|
389
389
|
"document": "应用部署",
|
390
|
-
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollingUpdateApplicationByVersion\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-xxxxxx\",\n \"EnvironmentId\": \"en-xxxxxx\",\n \"DeployVersion\": \"v1\",\n \"PackageName\": \"test.jar\",\n \"From\": \"
|
390
|
+
"input": "POST / HTTP/1.1\nHost: tem.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RollingUpdateApplicationByVersion\n<公共请求参数>\n\n{\n \"ApplicationId\": \"app-xxxxxx\",\n \"EnvironmentId\": \"en-xxxxxx\",\n \"DeployVersion\": \"v1\",\n \"PackageName\": \"test.jar\",\n \"From\": \"IntelliJ\",\n \"DeployStrategyType\": \"0\",\n \"TotalBatchCount\": 0,\n \"BatchInterval\": 0,\n \"BetaBatchNum\": 0,\n \"MinAvailable\": 0,\n \"Force\": true\n}",
|
391
391
|
"output": "{\n \"Response\": {\n \"RequestId\": \"81f74023-563c-437d-abf7-8139449ef178\",\n \"Result\": \"revision-xxx\"\n }\n}",
|
392
392
|
"title": "应用部署"
|
393
393
|
},
|