tccli 3.0.1098.1__py2.py3-none-any.whl → 3.0.1100.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/examples/cfw/v20190904/DescribeIPStatusList.md +4 -4
- tccli/examples/cls/v20201016/CreateCosRecharge.md +4 -4
- tccli/examples/cls/v20201016/CreateDashboardSubscribe.md +18 -0
- tccli/examples/cls/v20201016/DeleteDashboardSubscribe.md +18 -0
- tccli/examples/cls/v20201016/DescribeDashboardSubscribes.md +18 -0
- tccli/examples/cls/v20201016/ModifyCosRecharge.md +3 -3
- tccli/examples/cls/v20201016/ModifyDashboardSubscribe.md +18 -0
- tccli/examples/cls/v20201016/OpenKafkaConsumer.md +1 -1
- tccli/examples/cls/v20201016/SearchDashboardSubscribe.md +35 -0
- tccli/examples/cynosdb/v20190107/DescribeChangedParamsAfterUpgrade.md +31 -0
- tccli/examples/dlc/v20210125/CreateSparkSessionBatchSQL.md +1 -1
- tccli/examples/domain/v20180808/ModifyTemplate.md +73 -0
- tccli/examples/ess/v20201111/DescribeBatchOrganizationRegistrationUrls.md +27 -0
- tccli/examples/faceid/v20180301/GetFaceIdResult.md +3 -1
- tccli/examples/hunyuan/v20230901/ChatCompletions.md +183 -0
- tccli/examples/hunyuan/v20230901/ChatPro.md +2 -2
- tccli/examples/ims/v20200713/ImageModeration.md +4 -1
- tccli/examples/lke/v20231130/GetEmbedding.md +1 -1
- tccli/examples/lke/v20231130/GetMsgRecord.md +4 -1
- tccli/examples/ocr/v20181119/RecognizeGeneralTextImageWarn.md +83 -0
- tccli/examples/rum/v20210622/CreateWhitelist.md +2 -2
- tccli/examples/rum/v20210622/DescribeRumGroupLog.md +3 -3
- tccli/examples/rum/v20210622/DescribeRumLogExport.md +6 -6
- tccli/examples/rum/v20210622/DescribeRumStatsLogList.md +2 -2
- tccli/examples/teo/v20220901/CreatePlan.md +47 -0
- tccli/examples/teo/v20220901/DescribeRealtimeLogDeliveryTasks.md +42 -21
- tccli/examples/teo/v20220901/DestroyPlan.md +20 -0
- tccli/examples/teo/v20220901/IncreasePlanQuota.md +46 -0
- tccli/examples/teo/v20220901/ModifyPlan.md +21 -0
- tccli/examples/teo/v20220901/RenewPlan.md +23 -0
- tccli/examples/teo/v20220901/UpgradePlan.md +23 -0
- tccli/examples/tione/v20191022/UpdateCodeRepository.md +1 -1
- tccli/examples/tke/v20180525/CheckInstancesUpgradeAble.md +15 -7
- tccli/examples/tke/v20180525/CreateCluster.md +58 -142
- tccli/examples/tke/v20180525/DescribeClusterNodePools.md +1 -0
- tccli/examples/tke/v20180525/GetUpgradeInstanceProgress.md +18 -19
- tccli/examples/tke/v20180525/ModifyClusterAuthenticationOptions.md +3 -0
- tccli/examples/tke/v20180525/ModifyNodePoolInstanceTypes.md +1 -1
- tccli/examples/tms/v20201229/AnswerQuestion.md +21 -0
- tccli/examples/vpc/v20170312/DescribeVpnGatewayRoutes.md +2 -1
- tccli/examples/vpc/v20170312/ModifyVpnGatewayRoutes.md +8 -4
- tccli/services/aiart/v20221229/api.json +5 -5
- tccli/services/ccc/v20200210/api.json +1 -1
- tccli/services/cfs/v20190719/api.json +27 -27
- tccli/services/cfw/v20190904/api.json +5 -5
- tccli/services/cfw/v20190904/examples.json +1 -1
- tccli/services/cloudstudio/v20230508/api.json +13 -4
- tccli/services/cls/cls_client.py +337 -72
- tccli/services/cls/v20201016/api.json +501 -66
- tccli/services/cls/v20201016/examples.json +45 -5
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +120 -2
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/dcdb/v20180411/api.json +2 -2
- tccli/services/dlc/v20210125/api.json +14 -4
- tccli/services/dlc/v20210125/examples.json +1 -1
- tccli/services/domain/domain_client.py +53 -0
- tccli/services/domain/v20180808/api.json +62 -0
- tccli/services/domain/v20180808/examples.json +8 -0
- tccli/services/dts/v20211206/api.json +1 -1
- tccli/services/ess/ess_client.py +57 -4
- tccli/services/ess/v20201111/api.json +89 -1
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/faceid/v20180301/api.json +21 -1
- tccli/services/faceid/v20180301/examples.json +1 -1
- tccli/services/hunyuan/hunyuan_client.py +53 -0
- tccli/services/hunyuan/v20230901/api.json +165 -26
- tccli/services/hunyuan/v20230901/examples.json +33 -1
- tccli/services/ims/v20200713/api.json +13 -0
- tccli/services/ims/v20200713/examples.json +1 -1
- tccli/services/ims/v20201229/api.json +2 -1
- tccli/services/iotvideo/v20211125/api.json +15 -0
- tccli/services/lcic/v20220817/api.json +1 -1
- tccli/services/lke/lke_client.py +114 -8
- tccli/services/lke/v20231130/api.json +492 -0
- tccli/services/lke/v20231130/examples.json +18 -2
- tccli/services/mariadb/v20170312/api.json +2 -2
- tccli/services/monitor/v20180724/api.json +1 -1
- tccli/services/mps/v20190612/api.json +46 -1
- tccli/services/ocr/ocr_client.py +53 -0
- tccli/services/ocr/v20181119/api.json +156 -0
- tccli/services/ocr/v20181119/examples.json +8 -0
- tccli/services/rce/v20201103/api.json +9 -9
- tccli/services/rum/v20210622/api.json +37 -35
- tccli/services/rum/v20210622/examples.json +7 -7
- tccli/services/tdmq/v20200217/api.json +6 -6
- tccli/services/teo/teo_client.py +338 -20
- tccli/services/teo/v20220901/api.json +503 -18
- tccli/services/teo/v20220901/examples.json +62 -2
- tccli/services/tione/v20191022/api.json +6 -7
- tccli/services/tione/v20191022/examples.json +1 -1
- tccli/services/tione/v20211111/api.json +2 -0
- tccli/services/tke/v20180525/api.json +77 -93
- tccli/services/tke/v20180525/examples.json +7 -7
- tccli/services/tms/tms_client.py +53 -0
- tccli/services/tms/v20201229/api.json +44 -0
- tccli/services/tms/v20201229/examples.json +8 -0
- tccli/services/tmt/v20180321/api.json +1 -1
- tccli/services/tse/v20201207/api.json +49 -1
- tccli/services/vpc/v20170312/api.json +3 -0
- tccli/services/vpc/v20170312/examples.json +3 -3
- tccli/services/waf/v20180125/api.json +2 -2
- {tccli-3.0.1098.1.dist-info → tccli-3.0.1100.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1098.1.dist-info → tccli-3.0.1100.1.dist-info}/RECORD +109 -92
- {tccli-3.0.1098.1.dist-info → tccli-3.0.1100.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1098.1.dist-info → tccli-3.0.1100.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1098.1.dist-info → tccli-3.0.1100.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,83 @@
|
|
1
|
+
**Example 1: 通用文本图像告警示例代码**
|
2
|
+
|
3
|
+
通用文本图像告警示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ocr RecognizeGeneralTextImageWarn --cli-unfold-argument \
|
9
|
+
--ImageUrl https://xx/a.jpg
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"Blur": {
|
17
|
+
"IsWarn": false,
|
18
|
+
"Polygon": [],
|
19
|
+
"SpecificMatter": ""
|
20
|
+
},
|
21
|
+
"BorderIncomplete": {
|
22
|
+
"IsWarn": false,
|
23
|
+
"Polygon": [],
|
24
|
+
"SpecificMatter": ""
|
25
|
+
},
|
26
|
+
"Copy": {
|
27
|
+
"IsWarn": true,
|
28
|
+
"Polygon": [
|
29
|
+
{
|
30
|
+
"LeftBottom": {
|
31
|
+
"X": 0,
|
32
|
+
"Y": 0
|
33
|
+
},
|
34
|
+
"LeftTop": {
|
35
|
+
"X": 0,
|
36
|
+
"Y": 0
|
37
|
+
},
|
38
|
+
"RightBottom": {
|
39
|
+
"X": 0,
|
40
|
+
"Y": 0
|
41
|
+
},
|
42
|
+
"RightTop": {
|
43
|
+
"X": 0,
|
44
|
+
"Y": 0
|
45
|
+
}
|
46
|
+
}
|
47
|
+
],
|
48
|
+
"SpecificMatter": ""
|
49
|
+
},
|
50
|
+
"Reflection": {
|
51
|
+
"IsWarn": false,
|
52
|
+
"Polygon": [],
|
53
|
+
"SpecificMatter": ""
|
54
|
+
},
|
55
|
+
"Reprint": {
|
56
|
+
"IsWarn": true,
|
57
|
+
"Polygon": [
|
58
|
+
{
|
59
|
+
"LeftBottom": {
|
60
|
+
"X": 0,
|
61
|
+
"Y": 0
|
62
|
+
},
|
63
|
+
"LeftTop": {
|
64
|
+
"X": 0,
|
65
|
+
"Y": 0
|
66
|
+
},
|
67
|
+
"RightBottom": {
|
68
|
+
"X": 0,
|
69
|
+
"Y": 0
|
70
|
+
},
|
71
|
+
"RightTop": {
|
72
|
+
"X": 0,
|
73
|
+
"Y": 0
|
74
|
+
}
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"SpecificMatter": ""
|
78
|
+
},
|
79
|
+
"RequestId": "d8b2bf40-091e-43f1-a075-d98a5c9b2e1e"
|
80
|
+
}
|
81
|
+
}
|
82
|
+
```
|
83
|
+
|
@@ -37,18 +37,18 @@ tccli rum DescribeRumGroupLog --cli-unfold-argument \
|
|
37
37
|
--OrderBy "desc" \
|
38
38
|
--StartTime "1" \
|
39
39
|
--Limit 10 \
|
40
|
-
--Query "
|
40
|
+
--Query "*" \
|
41
41
|
--EndTime "20" \
|
42
42
|
--ID 10 \
|
43
43
|
--Page 1 \
|
44
|
-
--GroupField
|
44
|
+
--GroupField date
|
45
45
|
```
|
46
46
|
|
47
47
|
Output:
|
48
48
|
```
|
49
49
|
{
|
50
50
|
"Response": {
|
51
|
-
"Result": "
|
51
|
+
"Result": "Traceback (most recent call last):\n File \"/opt/app-root/lib64/python3.8/site-packages/tornado/web.py\", line 1763, in _execute\n result = self.prepare()\n File \"/opt/app-root/lib64/python3.8/site-packages/tornado/web.py\", line 2538, in prepare\n raise HTTPError(self._status_code)\ntornado.web.HTTPError: HTTP 404: Not Found\n",
|
52
52
|
"RequestId": "65a8fec7-2b39-4b11-893f-3715279d235f"
|
53
53
|
}
|
54
54
|
}
|
@@ -31,11 +31,11 @@ Input:
|
|
31
31
|
|
32
32
|
```
|
33
33
|
tccli rum DescribeRumLogExport --cli-unfold-argument \
|
34
|
-
--Name
|
35
|
-
--Fields
|
36
|
-
--StartTime
|
37
|
-
--Query
|
38
|
-
--EndTime
|
34
|
+
--Name logDemo \
|
35
|
+
--Fields date \
|
36
|
+
--StartTime 1714103013 \
|
37
|
+
--Query * \
|
38
|
+
--EndTime 1714103013 \
|
39
39
|
--ID 0
|
40
40
|
```
|
41
41
|
|
@@ -43,7 +43,7 @@ Output:
|
|
43
43
|
```
|
44
44
|
{
|
45
45
|
"Response": {
|
46
|
-
"Result": "
|
46
|
+
"Result": "Traceback (most recent call last):\n File \"/opt/app-root/lib64/python3.8/site-packages/tornado/web.py\", line 1763, in _execute\n result = self.prepare()\n File \"/opt/app-root/lib64/python3.8/site-packages/tornado/web.py\", line 2538, in prepare\n raise HTTPError(self._status_code)\ntornado.web.HTTPError: HTTP 404: Not Found\n",
|
47
47
|
"RequestId": "65a8fec7-2b39-4b11-893f-3715279d235f"
|
48
48
|
}
|
49
49
|
}
|
@@ -33,7 +33,7 @@ Input:
|
|
33
33
|
tccli rum DescribeRumStatsLogList --cli-unfold-argument \
|
34
34
|
--StartTime "1" \
|
35
35
|
--Limit 10 \
|
36
|
-
--Query "
|
36
|
+
--Query "*" \
|
37
37
|
--EndTime "20" \
|
38
38
|
--ID 10
|
39
39
|
```
|
@@ -42,7 +42,7 @@ Output:
|
|
42
42
|
```
|
43
43
|
{
|
44
44
|
"Response": {
|
45
|
-
"Result": "
|
45
|
+
"Result": "Traceback (most recent call last):\n File \"/opt/app-root/lib64/python3.8/site-packages/tornado/web.py\", line 1763, in _execute\n result = self.prepare()\n File \"/opt/app-root/lib64/python3.8/site-packages/tornado/web.py\", line 2538, in prepare\n raise HTTPError(self._status_code)\ntornado.web.HTTPError: HTTP 404: Not Found\n",
|
46
46
|
"RequestId": "65a8fec7-2b39-4b11-893f-3715279d235f"
|
47
47
|
}
|
48
48
|
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
**Example 1: 创建个人版计费套餐**
|
2
|
+
|
3
|
+
创建个人版计费套餐,套餐时长 1 个月,且设置不自动续费。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli teo CreatePlan --cli-unfold-argument \
|
9
|
+
--PlanType personal \
|
10
|
+
--PrepaidPlanParam.Period 1 \
|
11
|
+
--PrepaidPlanParam.RenewFlag off \
|
12
|
+
--AutoUseVoucher false
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461",
|
20
|
+
"PlanId": "edgeone-2unuvzjmmn2q",
|
21
|
+
"DealName": "20240312347001004723731"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
26
|
+
**Example 2: 创建企业版套餐**
|
27
|
+
|
28
|
+
创建企业版套餐。
|
29
|
+
|
30
|
+
Input:
|
31
|
+
|
32
|
+
```
|
33
|
+
tccli teo CreatePlan --cli-unfold-argument \
|
34
|
+
--PlanType enterprise
|
35
|
+
```
|
36
|
+
|
37
|
+
Output:
|
38
|
+
```
|
39
|
+
{
|
40
|
+
"Response": {
|
41
|
+
"RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461",
|
42
|
+
"PlanId": "edgeone-2unuvzjmmn2q",
|
43
|
+
"DealName": "20240312347001004723731"
|
44
|
+
}
|
45
|
+
}
|
46
|
+
```
|
47
|
+
|
@@ -6,7 +6,7 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli teo DescribeRealtimeLogDeliveryTasks --cli-unfold-argument \
|
9
|
-
--ZoneId zone-
|
9
|
+
--ZoneId zone-2ur49nglp1a2 \
|
10
10
|
--Offset 0 \
|
11
11
|
--Limit 1000
|
12
12
|
```
|
@@ -15,38 +15,59 @@ Output:
|
|
15
15
|
```
|
16
16
|
{
|
17
17
|
"Response": {
|
18
|
-
"TotalCount": 1,
|
19
18
|
"RealtimeLogDeliveryTasks": [
|
20
19
|
{
|
21
|
-
"
|
22
|
-
"
|
20
|
+
"Area": "overseas",
|
21
|
+
"CLS": {
|
22
|
+
"LogSetId": "980611e5-3eb2-430f-a0cc-e1c4e84a9e40",
|
23
|
+
"LogSetRegion": "ap-guangzhou",
|
24
|
+
"TopicId": "d258c060-dc6e-4586-8b7c-6a951667fa7a"
|
25
|
+
},
|
26
|
+
"CreateTime": "2024-03-26T03:00:39+08:00",
|
27
|
+
"CustomEndpoint": null,
|
28
|
+
"CustomFields": [],
|
29
|
+
"DeliveryConditions": [],
|
23
30
|
"DeliveryStatus": "enabled",
|
24
|
-
"TaskType": "cls",
|
25
31
|
"EntityList": [
|
26
|
-
"
|
32
|
+
"qqqq.loliyu.com"
|
27
33
|
],
|
28
|
-
"LogType": "domain",
|
29
|
-
"Area": "overseas",
|
30
34
|
"Fields": [
|
31
35
|
"RequestID",
|
32
36
|
"ClientIP",
|
33
|
-
"ClientRegion"
|
37
|
+
"ClientRegion",
|
38
|
+
"RequestTime",
|
39
|
+
"RequestHost",
|
40
|
+
"RequestBytes",
|
41
|
+
"RequestMethod",
|
42
|
+
"RequestUrl",
|
43
|
+
"RequestUrlQueryString",
|
44
|
+
"RequestUA",
|
45
|
+
"RequestRange",
|
46
|
+
"RequestReferer",
|
47
|
+
"RequestProtocol",
|
48
|
+
"RemotePort",
|
49
|
+
"EdgeCacheStatus",
|
50
|
+
"EdgeResponseStatusCode",
|
51
|
+
"EdgeResponseBytes",
|
52
|
+
"EdgeResponseTime",
|
53
|
+
"EdgeInternalTime",
|
54
|
+
"ClientState",
|
55
|
+
"ClientISP",
|
56
|
+
"EdgeServerID",
|
57
|
+
"EdgeServerIP"
|
34
58
|
],
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"Sample": 1000,
|
38
|
-
"CLS": {
|
39
|
-
"LogSetId": "288f187c-c3ef-4479-a086-b9465a1243cb",
|
40
|
-
"LogSetRegion": "ap-guangzhou",
|
41
|
-
"TopicId": "0e23008b-c0ed-4d98-a77c-bdc65dfe3731"
|
42
|
-
},
|
43
|
-
"CustomEndpoint": null,
|
59
|
+
"LogFormat": null,
|
60
|
+
"LogType": "domain",
|
44
61
|
"S3": null,
|
45
|
-
"
|
46
|
-
"
|
62
|
+
"Sample": 0,
|
63
|
+
"TaskId": "f0e1686a-1c4e-4f15-967b-5afb2a0803ea",
|
64
|
+
"TaskName": "ccc",
|
65
|
+
"TaskType": "cls",
|
66
|
+
"UpdateTime": "2024-03-26T03:10:13+08:00"
|
47
67
|
}
|
48
68
|
],
|
49
|
-
"RequestId": "
|
69
|
+
"RequestId": "05205d07-f582-444d-b558-b338a3f68857",
|
70
|
+
"TotalCount": 1
|
50
71
|
}
|
51
72
|
}
|
52
73
|
```
|
@@ -0,0 +1,20 @@
|
|
1
|
+
**Example 1: 销毁计费套餐**
|
2
|
+
|
3
|
+
销毁计费套餐 edgeone-2wdo315m2y4c。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli teo DestroyPlan --cli-unfold-argument \
|
9
|
+
--PlanId edgeone-2wdo315m2y4c
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,46 @@
|
|
1
|
+
**Example 1: 为套餐增购站点数配额**
|
2
|
+
|
3
|
+
为套餐 edgeone-2unuvzjmmn2q 增购 10 个站点数配额。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli teo IncreasePlanQuota --cli-unfold-argument \
|
9
|
+
--PlanId edgeone-2unuvzjmmn2q \
|
10
|
+
--QuotaType site \
|
11
|
+
--QuotaNumber 10
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"DealName": "20240312347001004723731",
|
19
|
+
"RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
24
|
+
**Example 2: 为套餐增购自定义规则配额**
|
25
|
+
|
26
|
+
为套餐 edgeone-2unuvzjmmn2q 增购 10 个 Web 防护 - 自定义规则 - 精准匹配策略的规则配额。
|
27
|
+
|
28
|
+
Input:
|
29
|
+
|
30
|
+
```
|
31
|
+
tccli teo IncreasePlanQuota --cli-unfold-argument \
|
32
|
+
--PlanId edgeone-2unuvzjmmn2q \
|
33
|
+
--QuotaType precise_access_control_rule \
|
34
|
+
--QuotaNumber 10
|
35
|
+
```
|
36
|
+
|
37
|
+
Output:
|
38
|
+
```
|
39
|
+
{
|
40
|
+
"Response": {
|
41
|
+
"DealName": "20240312347001004723731",
|
42
|
+
"RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
|
43
|
+
}
|
44
|
+
}
|
45
|
+
```
|
46
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 修改预付费套餐自动续费标签**
|
2
|
+
|
3
|
+
开启预付费套餐 edgeone-2unuvzjmmn2q 的自动续费功能。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli teo ModifyPlan --cli-unfold-argument \
|
9
|
+
--PlanId edgeone-2unuvzjmmn2q \
|
10
|
+
--RenewFlag.Switch on
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: 续费套餐三个月**
|
2
|
+
|
3
|
+
续费套餐 edgeone-2unuvzjmmn2q 时长 3 个月,且不自动使用代金券。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli teo RenewPlan --cli-unfold-argument \
|
9
|
+
--PlanId edgeone-2unuvzjmmn2q \
|
10
|
+
--Period 3 \
|
11
|
+
--AutoUseVoucher false
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"DealName": "20240312347001004723731",
|
19
|
+
"RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: 将预付费套餐升级至标准版**
|
2
|
+
|
3
|
+
将预付费套餐 edgeone-2unuvzjmmn2q 升级至标准版,且不使用代金券。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli teo UpgradePlan --cli-unfold-argument \
|
9
|
+
--PlanId edgeone-2unuvzjmmn2q \
|
10
|
+
--PlanType standard \
|
11
|
+
--AutoUseVoucher false
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"DealName": "20240312347001004723731",
|
19
|
+
"RequestId": "6a617014-efc9-45c6-ba9d-c87d70472461"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -18,25 +18,33 @@ Output:
|
|
18
18
|
"LatestVersion": "1.22.5",
|
19
19
|
"Total": 3,
|
20
20
|
"RequestId": "123",
|
21
|
-
"UnavailableVersionReason":
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
"UnavailableVersionReason": [
|
22
|
+
{
|
23
|
+
"InstanceId": "ins-mq0fqbso",
|
24
|
+
"Reason": "instance already the master latest version"
|
25
|
+
}
|
26
|
+
],
|
25
27
|
"UpgradeAbleInstances": [
|
26
28
|
{
|
27
29
|
"InstanceId": "ins-q40fqbso",
|
28
30
|
"LatestVersion": "1.22.5",
|
29
|
-
"Version": "1.20.6"
|
31
|
+
"Version": "1.20.6",
|
32
|
+
"RuntimeVersion": "docker-18.9",
|
33
|
+
"RuntimeLatestVersion": "docker-18.9"
|
30
34
|
},
|
31
35
|
{
|
32
36
|
"InstanceId": "ins-hvldgo6w",
|
33
37
|
"LatestVersion": "1.22.5",
|
34
|
-
"Version": "1.20.6"
|
38
|
+
"Version": "1.20.6",
|
39
|
+
"RuntimeVersion": "docker-18.9",
|
40
|
+
"RuntimeLatestVersion": "docker-18.9"
|
35
41
|
},
|
36
42
|
{
|
37
43
|
"InstanceId": "ins-hrtaxazg",
|
38
44
|
"LatestVersion": "1.22.5",
|
39
|
-
"Version": "1.20.6"
|
45
|
+
"Version": "1.20.6",
|
46
|
+
"RuntimeVersion": "docker-18.9",
|
47
|
+
"RuntimeLatestVersion": "docker-18.9"
|
40
48
|
}
|
41
49
|
]
|
42
50
|
}
|