tccli 3.0.1099.1__py2.py3-none-any.whl → 3.0.1101.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 (127) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cdb/v20170320/CloseSSL.md +21 -0
  3. tccli/examples/cdb/v20170320/DescribeSSLStatus.md +22 -0
  4. tccli/examples/cdb/v20170320/OpenSSL.md +21 -0
  5. tccli/examples/cls/v20201016/CreateCosRecharge.md +4 -4
  6. tccli/examples/cls/v20201016/CreateDashboardSubscribe.md +18 -0
  7. tccli/examples/cls/v20201016/DeleteConfigExtra.md +1 -1
  8. tccli/examples/cls/v20201016/DeleteDashboardSubscribe.md +18 -0
  9. tccli/examples/cls/v20201016/DescribeDashboardSubscribes.md +18 -0
  10. tccli/examples/cls/v20201016/ModifyCosRecharge.md +3 -3
  11. tccli/examples/cls/v20201016/ModifyDashboardSubscribe.md +18 -0
  12. tccli/examples/cls/v20201016/SearchDashboardSubscribe.md +35 -0
  13. tccli/examples/csip/v20221121/CreateRiskCenterScanTask.md +1 -0
  14. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewCFGRiskList.md +1 -0
  15. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewPortRiskList.md +1 -0
  16. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewVULRiskList.md +1 -0
  17. tccli/examples/csip/v20221121/DescribeRiskCenterAssetViewWeakPasswordRiskList.md +1 -0
  18. tccli/examples/csip/v20221121/DescribeRiskCenterPortViewPortRiskList.md +1 -0
  19. tccli/examples/csip/v20221121/DescribeRiskCenterServerRiskList.md +1 -0
  20. tccli/examples/csip/v20221121/DescribeRiskCenterVULViewVULRiskList.md +1 -0
  21. tccli/examples/csip/v20221121/DescribeRiskCenterWebsiteRiskList.md +1 -0
  22. tccli/examples/csip/v20221121/DescribeScanTaskList.md +1 -0
  23. tccli/examples/csip/v20221121/DescribeTaskLogURL.md +1 -0
  24. tccli/examples/csip/v20221121/ModifyRiskCenterRiskStatus.md +1 -0
  25. tccli/examples/csip/v20221121/ModifyRiskCenterScanTask.md +1 -0
  26. tccli/examples/dlc/v20210125/CreateSparkSessionBatchSQL.md +1 -1
  27. tccli/examples/domain/v20180808/ModifyTemplate.md +73 -0
  28. tccli/examples/ess/v20201111/DescribeBatchOrganizationRegistrationUrls.md +27 -0
  29. tccli/examples/hunyuan/v20230901/ChatCompletions.md +141 -1
  30. tccli/examples/hunyuan/v20230901/ChatPro.md +2 -2
  31. tccli/examples/lke/v20231130/GetEmbedding.md +1 -1
  32. tccli/examples/lke/v20231130/GetMsgRecord.md +4 -1
  33. tccli/examples/ocr/v20181119/RecognizeGeneralTextImageWarn.md +83 -0
  34. tccli/examples/postgres/v20170312/ModifyAccountRemark.md +1 -1
  35. tccli/examples/rum/v20210622/CreateWhitelist.md +2 -2
  36. tccli/examples/rum/v20210622/DescribeRumGroupLog.md +3 -3
  37. tccli/examples/rum/v20210622/DescribeRumLogExport.md +6 -6
  38. tccli/examples/rum/v20210622/DescribeRumStatsLogList.md +2 -2
  39. tccli/examples/teo/v20220901/CreatePlan.md +47 -0
  40. tccli/examples/teo/v20220901/DescribeRulesSetting.md +6 -159
  41. tccli/examples/teo/v20220901/DestroyPlan.md +20 -0
  42. tccli/examples/teo/v20220901/IncreasePlanQuota.md +46 -0
  43. tccli/examples/teo/v20220901/ModifyPlan.md +21 -0
  44. tccli/examples/teo/v20220901/RenewPlan.md +23 -0
  45. tccli/examples/teo/v20220901/UpgradePlan.md +23 -0
  46. tccli/examples/tione/v20191022/UpdateCodeRepository.md +1 -1
  47. tccli/examples/tke/v20180525/CheckInstancesUpgradeAble.md +15 -7
  48. tccli/examples/tke/v20180525/CreateCluster.md +58 -142
  49. tccli/examples/tke/v20180525/DescribeClusterNodePools.md +1 -0
  50. tccli/examples/tke/v20180525/GetUpgradeInstanceProgress.md +18 -19
  51. tccli/examples/tke/v20180525/ModifyClusterAuthenticationOptions.md +3 -0
  52. tccli/examples/tke/v20180525/ModifyNodePoolInstanceTypes.md +1 -1
  53. tccli/examples/tms/v20201229/AnswerQuestion.md +21 -0
  54. tccli/examples/tsf/v20180326/CreateCluster.md +2 -2
  55. tccli/examples/vpc/v20170312/DeleteVpnGateway.md +1 -2
  56. tccli/examples/vpc/v20170312/DescribeVpnGatewayRoutes.md +2 -1
  57. tccli/examples/vpc/v20170312/DescribeVpnGatewaySslServers.md +23 -33
  58. tccli/examples/vpc/v20170312/InquiryPriceCreateVpnGateway.md +11 -3
  59. tccli/examples/vpc/v20170312/InquiryPriceResetVpnGatewayInternetMaxBandwidth.md +14 -7
  60. tccli/examples/vpc/v20170312/ModifyVpnGatewayCcnRoutes.md +1 -1
  61. tccli/examples/vpc/v20170312/ModifyVpnGatewayRoutes.md +8 -4
  62. tccli/examples/wedata/v20210820/DescribeProject.md +58 -1
  63. tccli/services/aiart/v20221229/api.json +5 -5
  64. tccli/services/cdb/cdb_client.py +163 -4
  65. tccli/services/cdb/v20170320/api.json +169 -0
  66. tccli/services/cdb/v20170320/examples.json +24 -0
  67. tccli/services/clb/v20180317/api.json +18 -0
  68. tccli/services/cls/cls_client.py +337 -72
  69. tccli/services/cls/v20201016/api.json +461 -50
  70. tccli/services/cls/v20201016/examples.json +45 -5
  71. tccli/services/csip/v20221121/api.json +157 -4
  72. tccli/services/csip/v20221121/examples.json +13 -13
  73. tccli/services/cvm/v20170312/api.json +3 -3
  74. tccli/services/cwp/cwp_client.py +0 -53
  75. tccli/services/cwp/v20180228/api.json +0 -194
  76. tccli/services/cwp/v20180228/examples.json +0 -8
  77. tccli/services/cynosdb/v20190107/api.json +1 -1
  78. tccli/services/dlc/v20210125/api.json +14 -4
  79. tccli/services/dlc/v20210125/examples.json +1 -1
  80. tccli/services/domain/domain_client.py +53 -0
  81. tccli/services/domain/v20180808/api.json +62 -0
  82. tccli/services/domain/v20180808/examples.json +8 -0
  83. tccli/services/dts/v20211206/api.json +1 -1
  84. tccli/services/ess/ess_client.py +57 -4
  85. tccli/services/ess/v20201111/api.json +88 -0
  86. tccli/services/ess/v20201111/examples.json +8 -0
  87. tccli/services/essbasic/v20210526/api.json +1 -1
  88. tccli/services/hunyuan/v20230901/api.json +10 -10
  89. tccli/services/hunyuan/v20230901/examples.json +26 -2
  90. tccli/services/ims/v20201229/api.json +2 -1
  91. tccli/services/iotvideo/v20211125/api.json +15 -0
  92. tccli/services/lke/lke_client.py +114 -8
  93. tccli/services/lke/v20231130/api.json +492 -0
  94. tccli/services/lke/v20231130/examples.json +18 -2
  95. tccli/services/nlp/v20190408/api.json +13 -0
  96. tccli/services/ocr/ocr_client.py +53 -0
  97. tccli/services/ocr/v20181119/api.json +156 -0
  98. tccli/services/ocr/v20181119/examples.json +8 -0
  99. tccli/services/postgres/v20170312/examples.json +1 -1
  100. tccli/services/rce/v20201103/api.json +9 -9
  101. tccli/services/rum/v20210622/api.json +43 -41
  102. tccli/services/rum/v20210622/examples.json +7 -7
  103. tccli/services/ssl/v20191205/api.json +2 -2
  104. tccli/services/tdmq/v20200217/api.json +6 -6
  105. tccli/services/teo/teo_client.py +338 -20
  106. tccli/services/teo/v20220901/api.json +376 -2
  107. tccli/services/teo/v20220901/examples.json +61 -1
  108. tccli/services/tione/v20191022/api.json +6 -7
  109. tccli/services/tione/v20191022/examples.json +1 -1
  110. tccli/services/tione/v20211111/api.json +2 -0
  111. tccli/services/tke/v20180525/api.json +77 -93
  112. tccli/services/tke/v20180525/examples.json +7 -7
  113. tccli/services/tms/tms_client.py +53 -0
  114. tccli/services/tms/v20201229/api.json +44 -0
  115. tccli/services/tms/v20201229/examples.json +8 -0
  116. tccli/services/tse/v20201207/api.json +49 -1
  117. tccli/services/tsf/v20180326/api.json +80 -42
  118. tccli/services/tsf/v20180326/examples.json +1 -1
  119. tccli/services/vpc/v20170312/api.json +39 -23
  120. tccli/services/vpc/v20170312/examples.json +14 -14
  121. tccli/services/wedata/v20210820/api.json +465 -0
  122. tccli/services/wedata/v20210820/examples.json +1 -1
  123. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/METADATA +2 -2
  124. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/RECORD +127 -109
  125. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/WHEEL +0 -0
  126. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.1.dist-info}/entry_points.txt +0 -0
  127. {tccli-3.0.1099.1.dist-info → tccli-3.0.1101.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
+
@@ -1,4 +1,4 @@
1
- **Example 1: 修改帐号备注**
1
+ **Example 1: 修改账号备注**
2
2
 
3
3
 
4
4
 
@@ -41,9 +41,9 @@ Output:
41
41
  ```
42
42
  {
43
43
  "Response": {
44
- "Msg": "xx",
44
+ "Msg": "success",
45
45
  "ID": 1,
46
- "RequestId": "xx"
46
+ "RequestId": "d61a85dc-d9d6-431e-812d-095eb4e129db"
47
47
  }
48
48
  }
49
49
  ```
@@ -37,18 +37,18 @@ tccli rum DescribeRumGroupLog --cli-unfold-argument \
37
37
  --OrderBy "desc" \
38
38
  --StartTime "1" \
39
39
  --Limit 10 \
40
- --Query "xxx" \
40
+ --Query "*" \
41
41
  --EndTime "20" \
42
42
  --ID 10 \
43
43
  --Page 1 \
44
- --GroupField xx
44
+ --GroupField date
45
45
  ```
46
46
 
47
47
  Output:
48
48
  ```
49
49
  {
50
50
  "Response": {
51
- "Result": "xxxx",
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 xx \
35
- --Fields xx \
36
- --StartTime xx \
37
- --Query xx \
38
- --EndTime xx \
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": "xxxx",
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 "xxx" \
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": "xxxx",
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
+
@@ -11,167 +11,19 @@ Output:
11
11
  ```
12
12
  {
13
13
  "Response": {
14
- "RequestId": "811d2583-310c-41f4-b5e7-abe4074047d4",
15
14
  "Actions": [
16
15
  {
17
- "Action": "ErrorPage",
18
- "Properties": [
19
- {
20
- "ChoiceProperties": [],
21
- "ChoicesValue": [],
22
- "ExtraParameter": {
23
- "Choices": [
24
- "403",
25
- "404",
26
- "404",
27
- "405",
28
- "414",
29
- "416",
30
- "451",
31
- "500",
32
- "501",
33
- "502",
34
- "503",
35
- "504"
36
- ],
37
- "Id": "StatusCode",
38
- "Type": "CHOICE"
39
- },
40
- "IsAllowEmpty": false,
41
- "IsMultiple": false,
42
- "Max": 0,
43
- "Min": 0,
44
- "Name": "RedirectUrl",
45
- "Type": "CUSTOM_STRING"
46
- }
47
- ]
48
- },
49
- {
50
- "Action": "Cache",
16
+ "Action": "StatusCodeCache",
51
17
  "Properties": [
52
18
  {
53
- "ChoiceProperties": [
54
- {
55
- "ChoicesValue": [
56
- "on",
57
- "off"
58
- ],
59
- "ExtraParameter": null,
60
- "IsAllowEmpty": false,
61
- "IsMultiple": false,
62
- "Max": 0,
63
- "Min": 0,
64
- "Name": "Switch",
65
- "Type": "TOGGLE"
66
- }
67
- ],
68
- "ChoicesValue": [],
69
- "ExtraParameter": null,
70
- "IsAllowEmpty": false,
71
- "IsMultiple": false,
72
- "Max": 0,
73
- "Min": 0,
74
- "Name": "FollowOrigin",
75
- "Type": "OBJECT"
76
- },
77
- {
78
- "ChoiceProperties": [
79
- {
80
- "ChoicesValue": [
81
- "on",
82
- "off"
83
- ],
84
- "ExtraParameter": null,
85
- "IsAllowEmpty": false,
86
- "IsMultiple": false,
87
- "Max": 0,
88
- "Min": 0,
89
- "Name": "Switch",
90
- "Type": "TOGGLE"
91
- },
92
- {
93
- "ChoicesValue": [],
94
- "ExtraParameter": null,
95
- "IsAllowEmpty": false,
96
- "IsMultiple": false,
97
- "Max": 0,
98
- "Min": 0,
99
- "Name": "CacheTime",
100
- "Type": "CUSTOM_NUM"
101
- }
102
- ],
103
- "ChoicesValue": [],
104
- "ExtraParameter": null,
105
- "IsAllowEmpty": false,
106
- "IsMultiple": false,
107
- "Max": 0,
19
+ "Name": "CacheTime",
20
+ "Type": "CUSTOM_NUM",
108
21
  "Min": 0,
109
- "Name": "Cache",
110
- "Type": "OBJECT"
111
- },
112
- {
113
- "ChoiceProperties": [
114
- {
115
- "ChoicesValue": [
116
- "on",
117
- "off"
118
- ],
119
- "ExtraParameter": null,
120
- "IsAllowEmpty": false,
121
- "IsMultiple": false,
122
- "Max": 0,
123
- "Min": 0,
124
- "Name": "Switch",
125
- "Type": "TOGGLE"
126
- }
127
- ],
128
- "ChoicesValue": [],
129
- "ExtraParameter": null,
130
- "IsAllowEmpty": false,
131
- "IsMultiple": false,
132
22
  "Max": 0,
133
- "Min": 0,
134
- "Name": "NoCache",
135
- "Type": "OBJECT"
136
- }
137
- ]
138
- },
139
- {
140
- "Action": "MaxAge",
141
- "Properties": [
142
- {
143
- "ChoiceProperties": [],
144
23
  "ChoicesValue": [],
145
- "ExtraParameter": null,
146
- "IsAllowEmpty": false,
147
24
  "IsMultiple": false,
148
- "Max": 0,
149
- "Min": 0,
150
- "Name": "MaxAgeTime",
151
- "Type": "CUSTOM_NUM"
152
- },
153
- {
154
- "ChoiceProperties": [],
155
- "ChoicesValue": [
156
- "on",
157
- "off"
158
- ],
159
- "ExtraParameter": null,
160
25
  "IsAllowEmpty": false,
161
- "IsMultiple": false,
162
- "Max": 0,
163
- "Min": 0,
164
- "Name": "FollowOrigin",
165
- "Type": "TOGGLE"
166
- }
167
- ]
168
- },
169
- {
170
- "Action": "StatusCodeCache",
171
- "Properties": [
172
- {
173
26
  "ChoiceProperties": [],
174
- "ChoicesValue": [],
175
27
  "ExtraParameter": {
176
28
  "Choices": [
177
29
  "403",
@@ -189,17 +41,12 @@ Output:
189
41
  ],
190
42
  "Id": "StatusCode",
191
43
  "Type": "CHOICE"
192
- },
193
- "IsAllowEmpty": false,
194
- "IsMultiple": false,
195
- "Max": 0,
196
- "Min": 0,
197
- "Name": "CacheTime",
198
- "Type": "CUSTOM_NUM"
44
+ }
199
45
  }
200
46
  ]
201
47
  }
202
- ]
48
+ ],
49
+ "RequestId": "abc"
203
50
  }
204
51
  }
205
52
  ```
@@ -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
+
@@ -1,4 +1,4 @@
1
- **Example 1: 更新存储库秘钥**
1
+ **Example 1: 更新存储库密钥**
2
2
 
3
3
 
4
4
 
@@ -18,25 +18,33 @@ Output:
18
18
  "LatestVersion": "1.22.5",
19
19
  "Total": 3,
20
20
  "RequestId": "123",
21
- "UnavailableVersionReason": {
22
- "InstanceId": "ins-mq0fqbso",
23
- "Reason": "instance already the master latest version"
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
  }