tccli 3.0.1115.1__py2.py3-none-any.whl → 3.0.1116.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,6 +8,14 @@
8
8
  "title": "批量域名信息修改"
9
9
  }
10
10
  ],
11
+ "BidDetailPage": [
12
+ {
13
+ "document": "",
14
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BidDetailPage\n<公共请求参数>\n\n{\n \"BusinessId\": \"abc\"\n}",
15
+ "output": "{\n \"Response\": {\n \"Domain\": \"abc\",\n \"CurrentPrice\": 0,\n \"BidPrice\": 0,\n \"CurrentPriceScope\": 0,\n \"PriceScope\": [\n {\n \"MaxPrice\": 0,\n \"MinPrice\": 0,\n \"Price\": 0,\n \"DepositPrice\": 0\n }\n ],\n \"DepositPrice\": 0,\n \"RequestId\": \"abc\"\n }\n}",
16
+ "title": "预释放详情页出价"
17
+ }
18
+ ],
11
19
  "BidPreDomains": [
12
20
  {
13
21
  "document": "成功示例",
@@ -16,6 +24,14 @@
16
24
  "title": "请求成功示例"
17
25
  }
18
26
  ],
27
+ "BiddingPreRelease": [
28
+ {
29
+ "document": "",
30
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BiddingPreRelease\n<公共请求参数>\n\n{\n \"BusinessId\": \"abc\",\n \"Price\": 0\n}",
31
+ "output": "{\n \"Response\": {\n \"IsNeedPay\": true,\n \"BillingParam\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
32
+ "title": "预释放出价"
33
+ }
34
+ ],
19
35
  "CheckBatchStatus": [
20
36
  {
21
37
  "document": "",
@@ -72,6 +88,14 @@
72
88
  "title": "创建模板"
73
89
  }
74
90
  ],
91
+ "DeleteBidding": [
92
+ {
93
+ "document": "删除记录",
94
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBidding\n<公共请求参数>\n\n{}",
95
+ "output": "{\n \"Response\": {\n \"RequestId\": \"e5ae6a11-ad75-4196-8176-9d72bc287eda\"\n }\n}",
96
+ "title": "删除记录"
97
+ }
98
+ ],
75
99
  "DeleteCustomDnsHost": [
76
100
  {
77
101
  "document": "",
@@ -104,6 +128,14 @@
104
128
  "title": "删除信息模板"
105
129
  }
106
130
  ],
131
+ "DescribeAuctionList": [
132
+ {
133
+ "document": "竞价列表",
134
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuctionList\n<公共请求参数>\n\n{\n \"BusinessId\": \"P0011702284530637838\"\n}",
135
+ "output": "{\n \"Response\": {\n \"AuctionList\": [],\n \"RequestId\": \"a5fa0a46-0d19-4225-bbbc-ee64c9206210\",\n \"TotalCount\": 0\n }\n}",
136
+ "title": "获取竞价列表示例"
137
+ }
138
+ ],
107
139
  "DescribeBatchOperationLogDetails": [
108
140
  {
109
141
  "document": "",
@@ -120,6 +152,54 @@
120
152
  "title": "批量操作日志"
121
153
  }
122
154
  ],
155
+ "DescribeBiddingAppointDetail": [
156
+ {
157
+ "document": "我预定的域名-预约详情",
158
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBiddingAppointDetail\n<公共请求参数>\n\n{}",
159
+ "output": "{\n \"Response\": {\n \"RequestId\": \"e0d60073-3fbb-4216-ba20-7ccad80d030a\",\n \"Status\": 7\n }\n}",
160
+ "title": "我预定的域名-预约详情"
161
+ }
162
+ ],
163
+ "DescribeBiddingAppointList": [
164
+ {
165
+ "document": "我的预约列表",
166
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBiddingAppointList\n<公共请求参数>\n\n{\n \"PageSize\": 20\n}",
167
+ "output": "{\n \"Response\": {\n \"RequestId\": \"02f51803-507c-40ad-b26a-9a0178fa7ffc\"\n }\n}",
168
+ "title": "我的预约列表"
169
+ }
170
+ ],
171
+ "DescribeBiddingDetail": [
172
+ {
173
+ "document": "我竞价的域名-竞价详情",
174
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBiddingDetail\n<公共请求参数>\n\n{}",
175
+ "output": "{\n \"Response\": {\n \"RequestId\": \"5fdc5b55-514b-42f8-85a3-e269db61f752\"\n }\n}",
176
+ "title": "我竞价的域名-竞价详情"
177
+ }
178
+ ],
179
+ "DescribeBiddingList": [
180
+ {
181
+ "document": "我的竞价列表",
182
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBiddingList\n<公共请求参数>\n\n{\n \"PageSize\": 20\n}",
183
+ "output": "{\n \"Response\": {\n \"RequestId\": \"560e00d9-ddf1-4d4b-a3d8-461eb8c8e40c\"\n }\n}",
184
+ "title": "我的竞价列表"
185
+ }
186
+ ],
187
+ "DescribeBiddingSuccessfulDetail": [
188
+ {
189
+ "document": "我得标的域名-得标详情",
190
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBiddingSuccessfulDetail\n<公共请求参数>\n\n{}",
191
+ "output": "{\n \"Response\": {\n \"BiddingBondRefund\": \"no\",\n \"RequestId\": \"7a179528-6d80-495b-8e6c-14b935eccec9\",\n \"Status\": 5\n }\n}",
192
+ "title": "我得标的域名-得标详情"
193
+ }
194
+ ],
195
+ "DescribeBiddingSuccessfulList": [
196
+ {
197
+ "document": "我得标的域名",
198
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBiddingSuccessfulList\n<公共请求参数>\n\n{\n \"PageSize\": 10\n}",
199
+ "output": "{\n \"Response\": {\n \"RequestId\": \"340187d9-be66-43e7-a837-80049dad20ec\"\n }\n}",
200
+ "title": "我得标的域名"
201
+ }
202
+ ],
123
203
  "DescribeCustomDnsHostSet": [
124
204
  {
125
205
  "document": "",
@@ -160,6 +240,14 @@
160
240
  "title": "域名详情"
161
241
  }
162
242
  ],
243
+ "DescribePayWaitDetail": [
244
+ {
245
+ "document": "",
246
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePayWaitDetail\n<公共请求参数>\n\n{\n \"BusinessId\": \"abc\"\n}",
247
+ "output": "{\n \"Response\": {\n \"Domain\": \"abc\",\n \"Status\": \"abc\",\n \"EndTime\": \"abc\",\n \"RegTime\": \"abc\",\n \"Price\": 0,\n \"RetDeposit\": 0,\n \"RequestId\": \"abc\"\n }\n}",
248
+ "title": "等待支付详情接口"
249
+ }
250
+ ],
163
251
  "DescribePhoneEmailList": [
164
252
  {
165
253
  "document": "默认",
@@ -168,6 +256,14 @@
168
256
  "title": "获取已验证的手机邮箱列表"
169
257
  }
170
258
  ],
259
+ "DescribePreAuctionList": [
260
+ {
261
+ "document": "竞价列表",
262
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePreAuctionList\n<公共请求参数>\n\n{}",
263
+ "output": "{\n \"Response\": {\n \"PreAuctionList\": [\n {\n \"BidCount\": 2,\n \"BiddingTime\": \"2023-12-23 11:15:05\",\n \"BusinessId\": \"P0011702999097821031\",\n \"Domain\": \"test-buy-003.com.cn\",\n \"Op\": \"noAction\",\n \"Price\": 500\n }\n ],\n \"RequestId\": \"ff5583d9-bd93-444e-b252-3b36f28e0a67\",\n \"TotalCount\": 1\n }\n}",
264
+ "title": "请求成功示例"
265
+ }
266
+ ],
171
267
  "DescribePreDomainList": [
172
268
  {
173
269
  "document": "",
@@ -176,6 +272,14 @@
176
272
  "title": "成功示例"
177
273
  }
178
274
  ],
275
+ "DescribePreReleaseList": [
276
+ {
277
+ "document": "列表数据",
278
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePreReleaseList\n<公共请求参数>\n\n{}",
279
+ "output": "{\n \"Response\": {\n \"PreReleaseList\": [\n {\n \"BusinessId\": \"P0011703064185349649\",\n \"CurrentPeople\": 1,\n \"DelTime\": \"2024-01-16 00:00:00\",\n \"Domain\": \"099hq.net\",\n \"IsAppoint\": false,\n \"IsFollow\": false,\n \"Price\": 102,\n \"RegTime\": \"2020-01-01 00:00:00\",\n \"ReservationTime\": \"2023-12-31 07:32:05\"\n },\n {\n \"BusinessId\": \"P0011703067801554141\",\n \"CurrentPeople\": 1,\n \"DelTime\": \"2024-01-16 00:00:00\",\n \"Domain\": \"095hq.net\",\n \"IsAppoint\": false,\n \"IsFollow\": false,\n \"Price\": 102,\n \"RegTime\": \"2020-01-01 00:00:00\",\n \"ReservationTime\": \"2023-12-31 07:32:05\"\n },\n {\n \"BusinessId\": \"P0011702284530637838\",\n \"CurrentPeople\": 2,\n \"DelTime\": \"2024-01-16 00:00:00\",\n \"Domain\": \"091hq.net\",\n \"IsAppoint\": false,\n \"IsFollow\": false,\n \"Price\": 102,\n \"RegTime\": \"2020-01-01 00:00:00\",\n \"ReservationTime\": \"2023-12-31 07:32:05\"\n }\n ],\n \"RequestId\": \"543393c3-28c3-4de0-8535-1256fe004410\",\n \"TotalCount\": 3\n }\n}",
280
+ "title": "请求成功示例"
281
+ }
282
+ ],
179
283
  "DescribeReservedBidInfo": [
180
284
  {
181
285
  "document": "成功示例",
@@ -222,6 +326,14 @@
222
326
  "title": "请求成功"
223
327
  }
224
328
  ],
329
+ "DescribeUnPreDomainDetail": [
330
+ {
331
+ "document": "",
332
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUnPreDomainDetail\n<公共请求参数>\n\n{\n \"Domain\": \"abc\"\n}",
333
+ "output": "{\n \"Response\": {\n \"Domain\": \"abc\",\n \"PreCount\": 0,\n \"RegTime\": \"abc\",\n \"DeleteTime\": \"abc\",\n \"ExpireTime\": \"abc\",\n \"Status\": \"abc\",\n \"CurrentPrice\": 0,\n \"AppointBondPrice\": 0,\n \"IsAppoint\": true,\n \"BusinessId\": \"abc\",\n \"IsDomainUser\": true,\n \"RequestId\": \"abc\"\n }\n}",
334
+ "title": "查询预释放未预约域名详情接口"
335
+ }
336
+ ],
225
337
  "ModifyCustomDnsHost": [
226
338
  {
227
339
  "document": "",
@@ -2172,7 +2172,7 @@
2172
2172
  },
2173
2173
  {
2174
2174
  "disabled": false,
2175
- "document": "源端数据库类型,如mysql,cynosdbmysql,tdapg,tdpg,tdsqlmysql等",
2175
+ "document": "源端数据库类型,如mysql,cynosdbmysql,tdapg,tdpg,tdsqlmysql,tdstore等",
2176
2176
  "example": "mysql",
2177
2177
  "member": "string",
2178
2178
  "name": "SrcDatabaseType",
@@ -2190,7 +2190,7 @@
2190
2190
  },
2191
2191
  {
2192
2192
  "disabled": false,
2193
- "document": "目标端数据库类型,如mysql,cynosdbmysql,tdapg,tdpg,tdsqlmysql,kafka等",
2193
+ "document": "目标端数据库类型,如mysql,cynosdbmysql,tdapg,tdpg,tdsqlmysql,kafka,tdstore等",
2194
2194
  "example": "mysql",
2195
2195
  "member": "string",
2196
2196
  "name": "DstDatabaseType",
@@ -77,7 +77,7 @@
77
77
  {
78
78
  "disabled": false,
79
79
  "document": "唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)",
80
- "example": "xxx",
80
+ "example": "xyz789",
81
81
  "member": "string",
82
82
  "name": "UserId",
83
83
  "required": true,
@@ -113,7 +113,7 @@
113
113
  {
114
114
  "disabled": false,
115
115
  "document": "客户端session信息,从JSSDK请求中获得。特殊的,当 RunMode 参数为 RunWithoutClient 时,该字段可以为空",
116
- "example": "xxx",
116
+ "example": "e30=",
117
117
  "member": "string",
118
118
  "name": "ClientSession",
119
119
  "required": false,
@@ -203,7 +203,7 @@
203
203
  {
204
204
  "disabled": false,
205
205
  "document": "【互动云游】游戏主机用户ID",
206
- "example": "xxx",
206
+ "example": "abc123",
207
207
  "member": "string",
208
208
  "name": "HostUserId",
209
209
  "required": false,
@@ -245,18 +245,20 @@
245
245
  {
246
246
  "disabled": false,
247
247
  "document": "服务端session信息,返回给JSSDK",
248
- "example": "xxx",
248
+ "example": "e30=",
249
249
  "member": "string",
250
250
  "name": "ServerSession",
251
+ "output_required": true,
251
252
  "type": "string",
252
253
  "value_allowed_null": false
253
254
  },
254
255
  {
255
256
  "disabled": false,
256
257
  "document": "【已废弃】",
257
- "example": "xx",
258
+ "example": "1",
258
259
  "member": "string",
259
260
  "name": "RoleNumber",
261
+ "output_required": true,
260
262
  "type": "string",
261
263
  "value_allowed_null": false
262
264
  },
@@ -266,6 +268,7 @@
266
268
  "example": "Player",
267
269
  "member": "string",
268
270
  "name": "Role",
271
+ "output_required": true,
269
272
  "type": "string",
270
273
  "value_allowed_null": false
271
274
  },
@@ -464,7 +467,7 @@
464
467
  {
465
468
  "disabled": false,
466
469
  "document": "唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)",
467
- "example": "xxx",
470
+ "example": "xyz789",
468
471
  "member": "string",
469
472
  "name": "UserId",
470
473
  "required": true,
@@ -473,7 +476,7 @@
473
476
  {
474
477
  "disabled": false,
475
478
  "document": "【多人游戏】游戏主机用户ID",
476
- "example": "",
479
+ "example": "abc123",
477
480
  "member": "string",
478
481
  "name": "HostUserId",
479
482
  "required": false,
@@ -581,7 +584,7 @@
581
584
  {
582
585
  "disabled": false,
583
586
  "document": "唯一用户身份标识,由业务方自定义,平台不予理解。(可根据业务需要决定使用用户的唯一身份标识或是使用时间戳随机生成;在用户重连时应保持UserId不变)",
584
- "example": "xxx",
587
+ "example": "xyz789",
585
588
  "member": "string",
586
589
  "name": "UserId",
587
590
  "required": true,
@@ -993,7 +993,7 @@
993
993
  "members": [
994
994
  {
995
995
  "disabled": false,
996
- "document": "云硬盘ID列表。",
996
+ "document": "云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。",
997
997
  "example": "[\"lhdisk-5vmz00i3\"]",
998
998
  "member": "string",
999
999
  "name": "DiskIds",
@@ -1002,7 +1002,7 @@
1002
1002
  },
1003
1003
  {
1004
1004
  "disabled": false,
1005
- "document": "实例ID",
1005
+ "document": "实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。",
1006
1006
  "example": "lhins-qg08np8l",
1007
1007
  "member": "string",
1008
1008
  "name": "InstanceId",
@@ -3149,7 +3149,7 @@
3149
3149
  "members": [
3150
3150
  {
3151
3151
  "disabled": false,
3152
- "document": "云硬盘ID列表。",
3152
+ "document": "云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。",
3153
3153
  "example": "[\"lhdisk-eobj8huv\"]",
3154
3154
  "member": "string",
3155
3155
  "name": "DiskIds",
@@ -3168,7 +3168,7 @@
3168
3168
  "example": "无",
3169
3169
  "member": "DiskDeniedActions",
3170
3170
  "name": "DiskDeniedActionSet",
3171
- "required": true,
3171
+ "output_required": true,
3172
3172
  "type": "list",
3173
3173
  "value_allowed_null": false
3174
3174
  },
@@ -3186,7 +3186,7 @@
3186
3186
  "members": [
3187
3187
  {
3188
3188
  "disabled": false,
3189
- "document": "云硬盘ID列表。",
3189
+ "document": "云硬盘ID列表。每次批量请求云硬盘的上限为 100。",
3190
3190
  "example": "[\"lhdisk-p1zflrif\"]",
3191
3191
  "member": "string",
3192
3192
  "name": "DiskIds",
@@ -3278,7 +3278,7 @@
3278
3278
  "members": [
3279
3279
  {
3280
3280
  "disabled": false,
3281
- "document": "云硬盘ID列表。",
3281
+ "document": "云硬盘ID列表。每次批量请求云硬盘的上限为 10。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。",
3282
3282
  "example": "[\"lhdisk-eobj8huv\"]",
3283
3283
  "member": "string",
3284
3284
  "name": "DiskIds",
@@ -3315,7 +3315,7 @@
3315
3315
  "example": "无",
3316
3316
  "member": "DiskReturnable",
3317
3317
  "name": "DiskReturnableSet",
3318
- "required": true,
3318
+ "output_required": true,
3319
3319
  "type": "list",
3320
3320
  "value_allowed_null": false
3321
3321
  },
@@ -3325,7 +3325,7 @@
3325
3325
  "example": "1",
3326
3326
  "member": "int64",
3327
3327
  "name": "TotalCount",
3328
- "required": true,
3328
+ "output_required": true,
3329
3329
  "type": "int",
3330
3330
  "value_allowed_null": false
3331
3331
  },
@@ -4889,7 +4889,7 @@
4889
4889
  "members": [
4890
4890
  {
4891
4891
  "disabled": false,
4892
- "document": "云联网实例ID",
4892
+ "document": "云联网实例ID。可通过[DescribeCcnAttachedInstances](https://cloud.tencent.com/document/product/1207/58797)接口返回值中的CcnId获取。",
4893
4893
  "example": "ccn-f49l6u0z",
4894
4894
  "member": "string",
4895
4895
  "name": "CcnId",
@@ -4916,7 +4916,7 @@
4916
4916
  "members": [
4917
4917
  {
4918
4918
  "disabled": false,
4919
- "document": "云硬盘ID列表。",
4919
+ "document": "云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。",
4920
4920
  "example": "[\"lhdisk-eobj8huv\"]",
4921
4921
  "member": "string",
4922
4922
  "name": "DiskIds",
@@ -6641,7 +6641,7 @@
6641
6641
  "members": [
6642
6642
  {
6643
6643
  "disabled": false,
6644
- "document": "云硬盘ID列表。",
6644
+ "document": "云硬盘ID列表。每次批量请求云硬盘的上限为 1。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。",
6645
6645
  "example": "[\"lhdisk-eobj8huv\"]",
6646
6646
  "member": "string",
6647
6647
  "name": "DiskIds",
@@ -6669,7 +6669,7 @@
6669
6669
  "example": "无",
6670
6670
  "member": "DiskPrice",
6671
6671
  "name": "DiskPrice",
6672
- "required": true,
6672
+ "output_required": true,
6673
6673
  "type": "object",
6674
6674
  "value_allowed_null": false
6675
6675
  },
@@ -7656,7 +7656,7 @@
7656
7656
  "members": [
7657
7657
  {
7658
7658
  "disabled": false,
7659
- "document": "云硬盘ID列表。",
7659
+ "document": "云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。",
7660
7660
  "example": "[\"lhdisk-p1zflrif\"]",
7661
7661
  "member": "string",
7662
7662
  "name": "DiskIds",
@@ -7728,7 +7728,7 @@
7728
7728
  "members": [
7729
7729
  {
7730
7730
  "disabled": false,
7731
- "document": "云硬盘ID列表。",
7731
+ "document": "云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。",
7732
7732
  "example": "[\"lhdisk-eobj8huv\"]",
7733
7733
  "member": "string",
7734
7734
  "name": "DiskIds",
@@ -7737,7 +7737,7 @@
7737
7737
  },
7738
7738
  {
7739
7739
  "disabled": false,
7740
- "document": "自动续费标识。取值范围:<br><li>NOTIFY_AND_AUTO_RENEW:通知过期且自动续费<br><li>NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费<br><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费<br><br>若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。",
7740
+ "document": "自动续费标识。取值范围:\n\n- NOTIFY_AND_AUTO_RENEW:通知过期且自动续费\n- NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费\n- DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费\n\n若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。",
7741
7741
  "example": "NOTIFY_AND_AUTO_RENEW",
7742
7742
  "member": "string",
7743
7743
  "name": "RenewFlag",
@@ -8657,7 +8657,7 @@
8657
8657
  "members": [
8658
8658
  {
8659
8659
  "disabled": false,
8660
- "document": "云联网实例ID",
8660
+ "document": "云联网实例ID。可通过[DescribeCcnAttachedInstances](https://cloud.tencent.com/document/product/1207/58797)接口返回值中的CcnId获取。",
8661
8661
  "example": "ccn-f49l6u0z",
8662
8662
  "member": "string",
8663
8663
  "name": "CcnId",
@@ -173,6 +173,58 @@ def doGetFlowStatistic(args, parsed_globals):
173
173
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
174
174
 
175
175
 
176
+ def doGetFlowStatisticByGroup(args, parsed_globals):
177
+ g_param = parse_global_arg(parsed_globals)
178
+
179
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
180
+ cred = credential.CVMRoleCredential()
181
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
182
+ cred = credential.STSAssumeRoleCredential(
183
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
184
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
185
+ )
186
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
187
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
188
+ else:
189
+ cred = credential.Credential(
190
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
191
+ )
192
+ http_profile = HttpProfile(
193
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
194
+ reqMethod="POST",
195
+ endpoint=g_param[OptionsDefine.Endpoint],
196
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
197
+ )
198
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
199
+ if g_param[OptionsDefine.Language]:
200
+ profile.language = g_param[OptionsDefine.Language]
201
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
202
+ client = mod.MnaClient(cred, g_param[OptionsDefine.Region], profile)
203
+ client._sdkVersion += ("_CLI_" + __version__)
204
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
205
+ model = models.GetFlowStatisticByGroupRequest()
206
+ model.from_json_string(json.dumps(args))
207
+ start_time = time.time()
208
+ while True:
209
+ rsp = client.GetFlowStatisticByGroup(model)
210
+ result = rsp.to_json_string()
211
+ try:
212
+ json_obj = json.loads(result)
213
+ except TypeError as e:
214
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
215
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
216
+ break
217
+ cur_time = time.time()
218
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
219
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
220
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
221
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
222
+ else:
223
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
224
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
225
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
226
+
227
+
176
228
  def doGetMultiFlowStatistic(args, parsed_globals):
177
229
  g_param = parse_global_arg(parsed_globals)
178
230
 
@@ -485,6 +537,58 @@ def doAddHardware(args, parsed_globals):
485
537
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
486
538
 
487
539
 
540
+ def doGetDevice(args, parsed_globals):
541
+ g_param = parse_global_arg(parsed_globals)
542
+
543
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
544
+ cred = credential.CVMRoleCredential()
545
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
546
+ cred = credential.STSAssumeRoleCredential(
547
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
548
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
549
+ )
550
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
551
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
552
+ else:
553
+ cred = credential.Credential(
554
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
555
+ )
556
+ http_profile = HttpProfile(
557
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
558
+ reqMethod="POST",
559
+ endpoint=g_param[OptionsDefine.Endpoint],
560
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
561
+ )
562
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
563
+ if g_param[OptionsDefine.Language]:
564
+ profile.language = g_param[OptionsDefine.Language]
565
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
566
+ client = mod.MnaClient(cred, g_param[OptionsDefine.Region], profile)
567
+ client._sdkVersion += ("_CLI_" + __version__)
568
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
569
+ model = models.GetDeviceRequest()
570
+ model.from_json_string(json.dumps(args))
571
+ start_time = time.time()
572
+ while True:
573
+ rsp = client.GetDevice(model)
574
+ result = rsp.to_json_string()
575
+ try:
576
+ json_obj = json.loads(result)
577
+ except TypeError as e:
578
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
579
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
580
+ break
581
+ cur_time = time.time()
582
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
583
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
584
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
585
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
586
+ else:
587
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
588
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
589
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
590
+
591
+
488
592
  def doCreateQos(args, parsed_globals):
489
593
  g_param = parse_global_arg(parsed_globals)
490
594
 
@@ -901,7 +1005,7 @@ def doDeleteQos(args, parsed_globals):
901
1005
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
902
1006
 
903
1007
 
904
- def doGetDevice(args, parsed_globals):
1008
+ def doGetFlowAlarmInfo(args, parsed_globals):
905
1009
  g_param = parse_global_arg(parsed_globals)
906
1010
 
907
1011
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -930,11 +1034,11 @@ def doGetDevice(args, parsed_globals):
930
1034
  client = mod.MnaClient(cred, g_param[OptionsDefine.Region], profile)
931
1035
  client._sdkVersion += ("_CLI_" + __version__)
932
1036
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
933
- model = models.GetDeviceRequest()
1037
+ model = models.GetFlowAlarmInfoRequest()
934
1038
  model.from_json_string(json.dumps(args))
935
1039
  start_time = time.time()
936
1040
  while True:
937
- rsp = client.GetDevice(model)
1041
+ rsp = client.GetFlowAlarmInfo(model)
938
1042
  result = rsp.to_json_string()
939
1043
  try:
940
1044
  json_obj = json.loads(result)
@@ -1227,12 +1331,14 @@ ACTION_MAP = {
1227
1331
  "GetDevicePayMode": doGetDevicePayMode,
1228
1332
  "ModifyPackageRenewFlag": doModifyPackageRenewFlag,
1229
1333
  "GetFlowStatistic": doGetFlowStatistic,
1334
+ "GetFlowStatisticByGroup": doGetFlowStatisticByGroup,
1230
1335
  "GetMultiFlowStatistic": doGetMultiFlowStatistic,
1231
1336
  "GetDevices": doGetDevices,
1232
1337
  "GetPublicKey": doGetPublicKey,
1233
1338
  "ActivateHardware": doActivateHardware,
1234
1339
  "GetFlowPackages": doGetFlowPackages,
1235
1340
  "AddHardware": doAddHardware,
1341
+ "GetDevice": doGetDevice,
1236
1342
  "CreateQos": doCreateQos,
1237
1343
  "DeleteDevice": doDeleteDevice,
1238
1344
  "UpdateDevice": doUpdateDevice,
@@ -1241,7 +1347,7 @@ ACTION_MAP = {
1241
1347
  "GetVendorHardware": doGetVendorHardware,
1242
1348
  "CreateEncryptedKey": doCreateEncryptedKey,
1243
1349
  "DeleteQos": doDeleteQos,
1244
- "GetDevice": doGetDevice,
1350
+ "GetFlowAlarmInfo": doGetFlowAlarmInfo,
1245
1351
  "OrderFlowPackage": doOrderFlowPackage,
1246
1352
  "GetStatisticData": doGetStatisticData,
1247
1353
  "GetHardwareList": doGetHardwareList,