tccli 3.0.1038.1__py2.py3-none-any.whl → 3.0.1040.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/billing/v20180709/DescribeDosageDetailList.md +63 -0
- tccli/examples/cdb/v20170320/DeleteAuditRuleTemplates.md +1 -1
- tccli/examples/cfw/v20190904/DescribeIdsWhiteRule.md +10 -0
- tccli/examples/essbasic/v20210526/CreateChannelOrganizationInfoChangeUrl.md +22 -20
- tccli/examples/essbasic/v20210526/CreateConsoleLoginUrl.md +45 -9
- tccli/examples/tdmq/v20200217/ModifyEnvironmentRole.md +4 -4
- tccli/examples/teo/v20220901/CreatePlanForZone.md +1 -1
- tccli/examples/tione/v20211111/DescribeLatestTrainingMetrics.md +8 -2
- tccli/examples/tione/v20211111/DescribeNotebooks.md +15 -2
- tccli/examples/trtc/v20190722/StartStreamIngest.md +4 -4
- tccli/examples/vod/v20180717/ComposeMedia.md +6 -6
- tccli/examples/vod/v20180717/CreateCLSLogset.md +21 -0
- tccli/examples/vod/v20180717/CreateCLSTopic.md +23 -0
- tccli/examples/vod/v20180717/DeleteCLSTopic.md +20 -0
- tccli/examples/vod/v20180717/DescribeCLSLogsets.md +26 -0
- tccli/examples/vod/v20180717/DescribeCLSPushTargets.md +38 -0
- tccli/examples/vod/v20180717/DescribeCLSTopics.md +31 -0
- tccli/examples/vod/v20180717/SetCLSPushTarget.md +25 -0
- tccli/services/billing/billing_client.py +61 -8
- tccli/services/billing/v20180709/api.json +323 -0
- tccli/services/billing/v20180709/examples.json +8 -0
- tccli/services/cdb/v20170320/examples.json +1 -1
- tccli/services/cdn/v20180606/api.json +1 -1
- tccli/services/cfs/v20190719/api.json +9 -0
- tccli/services/cfw/v20190904/api.json +76 -0
- tccli/services/cfw/v20190904/examples.json +1 -1
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +39 -30
- tccli/services/essbasic/v20210526/examples.json +25 -19
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/mps/v20190612/api.json +40 -2
- tccli/services/mrs/v20200910/api.json +24 -24
- tccli/services/tat/v20201028/api.json +1 -1
- tccli/services/tdmq/v20200217/examples.json +2 -2
- tccli/services/teo/v20220901/api.json +36 -19
- tccli/services/teo/v20220901/examples.json +1 -1
- tccli/services/tione/v20211111/api.json +205 -75
- tccli/services/tione/v20211111/examples.json +2 -2
- tccli/services/trtc/v20190722/api.json +25 -7
- tccli/services/trtc/v20190722/examples.json +2 -2
- tccli/services/vod/v20180717/api.json +555 -0
- tccli/services/vod/v20180717/examples.json +57 -1
- tccli/services/vod/vod_client.py +375 -4
- {tccli-3.0.1038.1.dist-info → tccli-3.0.1040.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1038.1.dist-info → tccli-3.0.1040.1.dist-info}/RECORD +50 -42
- {tccli-3.0.1038.1.dist-info → tccli-3.0.1040.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1038.1.dist-info → tccli-3.0.1040.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1038.1.dist-info → tccli-3.0.1040.1.dist-info}/license_files/LICENSE +0 -0
@@ -277,6 +277,58 @@ def doDescribeSavingPlanOverview(args, parsed_globals):
|
|
277
277
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
278
|
|
279
279
|
|
280
|
+
def doDescribeDosageDetailList(args, parsed_globals):
|
281
|
+
g_param = parse_global_arg(parsed_globals)
|
282
|
+
|
283
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
284
|
+
cred = credential.CVMRoleCredential()
|
285
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
286
|
+
cred = credential.STSAssumeRoleCredential(
|
287
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
288
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
289
|
+
)
|
290
|
+
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):
|
291
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
292
|
+
else:
|
293
|
+
cred = credential.Credential(
|
294
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
295
|
+
)
|
296
|
+
http_profile = HttpProfile(
|
297
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
298
|
+
reqMethod="POST",
|
299
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
300
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
301
|
+
)
|
302
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
303
|
+
if g_param[OptionsDefine.Language]:
|
304
|
+
profile.language = g_param[OptionsDefine.Language]
|
305
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
306
|
+
client = mod.BillingClient(cred, g_param[OptionsDefine.Region], profile)
|
307
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
308
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
309
|
+
model = models.DescribeDosageDetailListRequest()
|
310
|
+
model.from_json_string(json.dumps(args))
|
311
|
+
start_time = time.time()
|
312
|
+
while True:
|
313
|
+
rsp = client.DescribeDosageDetailList(model)
|
314
|
+
result = rsp.to_json_string()
|
315
|
+
try:
|
316
|
+
json_obj = json.loads(result)
|
317
|
+
except TypeError as e:
|
318
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
319
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
320
|
+
break
|
321
|
+
cur_time = time.time()
|
322
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
323
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
324
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
325
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
326
|
+
else:
|
327
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
328
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
329
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
330
|
+
|
331
|
+
|
280
332
|
def doCreateAllocationTag(args, parsed_globals):
|
281
333
|
g_param = parse_global_arg(parsed_globals)
|
282
334
|
|
@@ -745,7 +797,7 @@ def doDescribeBillList(args, parsed_globals):
|
|
745
797
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
746
798
|
|
747
799
|
|
748
|
-
def
|
800
|
+
def doDescribeBillDownloadUrl(args, parsed_globals):
|
749
801
|
g_param = parse_global_arg(parsed_globals)
|
750
802
|
|
751
803
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -774,11 +826,11 @@ def doCreateSavingPlanOrder(args, parsed_globals):
|
|
774
826
|
client = mod.BillingClient(cred, g_param[OptionsDefine.Region], profile)
|
775
827
|
client._sdkVersion += ("_CLI_" + __version__)
|
776
828
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
777
|
-
model = models.
|
829
|
+
model = models.DescribeBillDownloadUrlRequest()
|
778
830
|
model.from_json_string(json.dumps(args))
|
779
831
|
start_time = time.time()
|
780
832
|
while True:
|
781
|
-
rsp = client.
|
833
|
+
rsp = client.DescribeBillDownloadUrl(model)
|
782
834
|
result = rsp.to_json_string()
|
783
835
|
try:
|
784
836
|
json_obj = json.loads(result)
|
@@ -1369,7 +1421,7 @@ def doDescribeTagList(args, parsed_globals):
|
|
1369
1421
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1370
1422
|
|
1371
1423
|
|
1372
|
-
def
|
1424
|
+
def doCreateSavingPlanOrder(args, parsed_globals):
|
1373
1425
|
g_param = parse_global_arg(parsed_globals)
|
1374
1426
|
|
1375
1427
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1398,11 +1450,11 @@ def doDescribeBillDownloadUrl(args, parsed_globals):
|
|
1398
1450
|
client = mod.BillingClient(cred, g_param[OptionsDefine.Region], profile)
|
1399
1451
|
client._sdkVersion += ("_CLI_" + __version__)
|
1400
1452
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1401
|
-
model = models.
|
1453
|
+
model = models.CreateSavingPlanOrderRequest()
|
1402
1454
|
model.from_json_string(json.dumps(args))
|
1403
1455
|
start_time = time.time()
|
1404
1456
|
while True:
|
1405
|
-
rsp = client.
|
1457
|
+
rsp = client.CreateSavingPlanOrder(model)
|
1406
1458
|
result = rsp.to_json_string()
|
1407
1459
|
try:
|
1408
1460
|
json_obj = json.loads(result)
|
@@ -1697,6 +1749,7 @@ ACTION_MAP = {
|
|
1697
1749
|
"DescribeDealsByCond": doDescribeDealsByCond,
|
1698
1750
|
"DescribeBillResourceSummary": doDescribeBillResourceSummary,
|
1699
1751
|
"DescribeSavingPlanOverview": doDescribeSavingPlanOverview,
|
1752
|
+
"DescribeDosageDetailList": doDescribeDosageDetailList,
|
1700
1753
|
"CreateAllocationTag": doCreateAllocationTag,
|
1701
1754
|
"PayDeals": doPayDeals,
|
1702
1755
|
"DescribeCostSummaryByProject": doDescribeCostSummaryByProject,
|
@@ -1706,7 +1759,7 @@ ACTION_MAP = {
|
|
1706
1759
|
"DescribeBillSummary": doDescribeBillSummary,
|
1707
1760
|
"DescribeBillSummaryByPayMode": doDescribeBillSummaryByPayMode,
|
1708
1761
|
"DescribeBillList": doDescribeBillList,
|
1709
|
-
"
|
1762
|
+
"DescribeBillDownloadUrl": doDescribeBillDownloadUrl,
|
1710
1763
|
"DescribeDosageCosDetailByDate": doDescribeDosageCosDetailByDate,
|
1711
1764
|
"DescribeBillDetailForOrganization": doDescribeBillDetailForOrganization,
|
1712
1765
|
"DescribeAccountBalance": doDescribeAccountBalance,
|
@@ -1718,7 +1771,7 @@ ACTION_MAP = {
|
|
1718
1771
|
"DescribeBillSummaryByTag": doDescribeBillSummaryByTag,
|
1719
1772
|
"DescribeBillSummaryForOrganization": doDescribeBillSummaryForOrganization,
|
1720
1773
|
"DescribeTagList": doDescribeTagList,
|
1721
|
-
"
|
1774
|
+
"CreateSavingPlanOrder": doCreateSavingPlanOrder,
|
1722
1775
|
"DeleteAllocationTag": doDeleteAllocationTag,
|
1723
1776
|
"DescribeSavingPlanCoverage": doDescribeSavingPlanCoverage,
|
1724
1777
|
"DescribeCostSummaryByProduct": doDescribeCostSummaryByProduct,
|
@@ -175,6 +175,13 @@
|
|
175
175
|
"output": "DescribeDosageDetailByDateResponse",
|
176
176
|
"status": "online"
|
177
177
|
},
|
178
|
+
"DescribeDosageDetailList": {
|
179
|
+
"document": "获取已接入标准用量明细模板产品的用量明细数据,目前已接入并支持查询的产品包括:云联络中心、实时音视频、实时音视频、智能媒资托管、CODING DevOps、全球IP应用加速",
|
180
|
+
"input": "DescribeDosageDetailListRequest",
|
181
|
+
"name": "获取计量标准接入类产品用量明细",
|
182
|
+
"output": "DescribeDosageDetailListResponse",
|
183
|
+
"status": "online"
|
184
|
+
},
|
178
185
|
"DescribeSavingPlanCoverage": {
|
179
186
|
"document": "查询当前用户节省计划覆盖率明细数据,如无特别说明,金额单位均为元(国内站)或者美元(国际站)。",
|
180
187
|
"input": "DescribeSavingPlanCoverageRequest",
|
@@ -6169,6 +6176,212 @@
|
|
6169
6176
|
],
|
6170
6177
|
"type": "object"
|
6171
6178
|
},
|
6179
|
+
"DescribeDosageDetail": {
|
6180
|
+
"document": "计量标准接入类产品支持API接口获取用量明细返回数据结构",
|
6181
|
+
"members": [
|
6182
|
+
{
|
6183
|
+
"disabled": false,
|
6184
|
+
"document": "日期\n注意:此字段可能返回 null,表示取不到有效值。",
|
6185
|
+
"example": "2023-09-01",
|
6186
|
+
"member": "string",
|
6187
|
+
"name": "Date",
|
6188
|
+
"output_required": false,
|
6189
|
+
"type": "string",
|
6190
|
+
"value_allowed_null": true
|
6191
|
+
},
|
6192
|
+
{
|
6193
|
+
"disabled": false,
|
6194
|
+
"document": "账号 ID 是用户在腾讯云的唯一账号标识\n注意:此字段可能返回 null,表示取不到有效值。",
|
6195
|
+
"example": "无",
|
6196
|
+
"member": "string",
|
6197
|
+
"name": "Uin",
|
6198
|
+
"output_required": false,
|
6199
|
+
"type": "string",
|
6200
|
+
"value_allowed_null": true
|
6201
|
+
},
|
6202
|
+
{
|
6203
|
+
"disabled": false,
|
6204
|
+
"document": "用量统计类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
6205
|
+
"example": "minute",
|
6206
|
+
"member": "string",
|
6207
|
+
"name": "DosageType",
|
6208
|
+
"output_required": false,
|
6209
|
+
"type": "string",
|
6210
|
+
"value_allowed_null": true
|
6211
|
+
},
|
6212
|
+
{
|
6213
|
+
"disabled": false,
|
6214
|
+
"document": "产品编码\n注意:此字段可能返回 null,表示取不到有效值。",
|
6215
|
+
"example": "p_dsa",
|
6216
|
+
"member": "string",
|
6217
|
+
"name": "ProductCode",
|
6218
|
+
"output_required": false,
|
6219
|
+
"type": "string",
|
6220
|
+
"value_allowed_null": true
|
6221
|
+
},
|
6222
|
+
{
|
6223
|
+
"disabled": false,
|
6224
|
+
"document": "子产品编码\n注意:此字段可能返回 null,表示取不到有效值。",
|
6225
|
+
"example": "sp_rav_audio_video",
|
6226
|
+
"member": "string",
|
6227
|
+
"name": "SubProductCode",
|
6228
|
+
"output_required": false,
|
6229
|
+
"type": "string",
|
6230
|
+
"value_allowed_null": true
|
6231
|
+
},
|
6232
|
+
{
|
6233
|
+
"disabled": false,
|
6234
|
+
"document": "组件类型编码\n\n注意:此字段可能返回 null,表示取不到有效值。",
|
6235
|
+
"example": "v_rav_time",
|
6236
|
+
"member": "string",
|
6237
|
+
"name": "BillingItemCode",
|
6238
|
+
"output_required": false,
|
6239
|
+
"type": "string",
|
6240
|
+
"value_allowed_null": true
|
6241
|
+
},
|
6242
|
+
{
|
6243
|
+
"disabled": false,
|
6244
|
+
"document": "组件编码\n注意:此字段可能返回 null,表示取不到有效值。",
|
6245
|
+
"example": "sv_rav_time_subscribe",
|
6246
|
+
"member": "string",
|
6247
|
+
"name": "SubBillingItemCode",
|
6248
|
+
"output_required": false,
|
6249
|
+
"type": "string",
|
6250
|
+
"value_allowed_null": true
|
6251
|
+
},
|
6252
|
+
{
|
6253
|
+
"disabled": false,
|
6254
|
+
"document": "产品名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
6255
|
+
"example": "实时音视频",
|
6256
|
+
"member": "string",
|
6257
|
+
"name": "ProductCodeName",
|
6258
|
+
"output_required": false,
|
6259
|
+
"type": "string",
|
6260
|
+
"value_allowed_null": true
|
6261
|
+
},
|
6262
|
+
{
|
6263
|
+
"disabled": false,
|
6264
|
+
"document": "子产品名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
6265
|
+
"example": "实时音视频-音视频通话",
|
6266
|
+
"member": "string",
|
6267
|
+
"name": "SubProductCodeName",
|
6268
|
+
"output_required": false,
|
6269
|
+
"type": "string",
|
6270
|
+
"value_allowed_null": true
|
6271
|
+
},
|
6272
|
+
{
|
6273
|
+
"disabled": false,
|
6274
|
+
"document": "组件类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
6275
|
+
"example": "时长",
|
6276
|
+
"member": "string",
|
6277
|
+
"name": "BillingItemCodeName",
|
6278
|
+
"output_required": false,
|
6279
|
+
"type": "string",
|
6280
|
+
"value_allowed_null": true
|
6281
|
+
},
|
6282
|
+
{
|
6283
|
+
"disabled": false,
|
6284
|
+
"document": "组件\n注意:此字段可能返回 null,表示取不到有效值。",
|
6285
|
+
"example": "订阅时长",
|
6286
|
+
"member": "string",
|
6287
|
+
"name": "SubBillingItemCodeName",
|
6288
|
+
"output_required": false,
|
6289
|
+
"type": "string",
|
6290
|
+
"value_allowed_null": true
|
6291
|
+
},
|
6292
|
+
{
|
6293
|
+
"disabled": false,
|
6294
|
+
"document": "用量单位\n注意:此字段可能返回 null,表示取不到有效值。",
|
6295
|
+
"example": "分钟",
|
6296
|
+
"member": "string",
|
6297
|
+
"name": "DosageUnit",
|
6298
|
+
"output_required": false,
|
6299
|
+
"type": "string",
|
6300
|
+
"value_allowed_null": true
|
6301
|
+
},
|
6302
|
+
{
|
6303
|
+
"disabled": false,
|
6304
|
+
"document": "用量起始时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
6305
|
+
"example": "2023-02-01 00:00:00",
|
6306
|
+
"member": "string",
|
6307
|
+
"name": "DosageBeginTime",
|
6308
|
+
"output_required": false,
|
6309
|
+
"type": "string",
|
6310
|
+
"value_allowed_null": true
|
6311
|
+
},
|
6312
|
+
{
|
6313
|
+
"disabled": false,
|
6314
|
+
"document": "用量截止时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
6315
|
+
"example": "2023-02-01 00:05:00",
|
6316
|
+
"member": "string",
|
6317
|
+
"name": "DosageEndTime",
|
6318
|
+
"output_required": false,
|
6319
|
+
"type": "string",
|
6320
|
+
"value_allowed_null": true
|
6321
|
+
},
|
6322
|
+
{
|
6323
|
+
"disabled": false,
|
6324
|
+
"document": "标准用量\n注意:此字段可能返回 null,表示取不到有效值。",
|
6325
|
+
"example": "6",
|
6326
|
+
"member": "float",
|
6327
|
+
"name": "DosageValue",
|
6328
|
+
"output_required": false,
|
6329
|
+
"type": "float",
|
6330
|
+
"value_allowed_null": true
|
6331
|
+
},
|
6332
|
+
{
|
6333
|
+
"disabled": false,
|
6334
|
+
"document": "抵扣用量\n注意:此字段可能返回 null,表示取不到有效值。",
|
6335
|
+
"example": "0",
|
6336
|
+
"member": "float",
|
6337
|
+
"name": "DeductValue",
|
6338
|
+
"output_required": false,
|
6339
|
+
"type": "float",
|
6340
|
+
"value_allowed_null": true
|
6341
|
+
},
|
6342
|
+
{
|
6343
|
+
"disabled": false,
|
6344
|
+
"document": "抵扣余量\n注意:此字段可能返回 null,表示取不到有效值。",
|
6345
|
+
"example": "6",
|
6346
|
+
"member": "float",
|
6347
|
+
"name": "RemainValue",
|
6348
|
+
"output_required": false,
|
6349
|
+
"type": "float",
|
6350
|
+
"value_allowed_null": true
|
6351
|
+
},
|
6352
|
+
{
|
6353
|
+
"disabled": false,
|
6354
|
+
"document": "sdkAppId\n注意:此字段可能返回 null,表示取不到有效值。",
|
6355
|
+
"example": "1400706048",
|
6356
|
+
"member": "string",
|
6357
|
+
"name": "SdkAppId",
|
6358
|
+
"output_required": false,
|
6359
|
+
"type": "string",
|
6360
|
+
"value_allowed_null": true
|
6361
|
+
},
|
6362
|
+
{
|
6363
|
+
"disabled": false,
|
6364
|
+
"document": "其他信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
6365
|
+
"example": "[{\"Key\":\"tgr\",\"Value\":\"超高清\"}]",
|
6366
|
+
"member": "JsonObject",
|
6367
|
+
"name": "AttrStr",
|
6368
|
+
"output_required": false,
|
6369
|
+
"type": "list",
|
6370
|
+
"value_allowed_null": true
|
6371
|
+
},
|
6372
|
+
{
|
6373
|
+
"disabled": false,
|
6374
|
+
"document": "用量模板名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
6375
|
+
"example": "[\"实时音视频_时长_5分钟\", \"实时音视频_时长_5分钟\"]",
|
6376
|
+
"member": "string",
|
6377
|
+
"name": "SheetName",
|
6378
|
+
"output_required": false,
|
6379
|
+
"type": "list",
|
6380
|
+
"value_allowed_null": true
|
6381
|
+
}
|
6382
|
+
],
|
6383
|
+
"usage": "out"
|
6384
|
+
},
|
6172
6385
|
"DescribeDosageDetailByDateRequest": {
|
6173
6386
|
"document": "DescribeDosageDetailByDate请求参数结构体",
|
6174
6387
|
"members": [
|
@@ -6281,6 +6494,88 @@
|
|
6281
6494
|
],
|
6282
6495
|
"type": "object"
|
6283
6496
|
},
|
6497
|
+
"DescribeDosageDetailListRequest": {
|
6498
|
+
"document": "DescribeDosageDetailList请求参数结构体",
|
6499
|
+
"members": [
|
6500
|
+
{
|
6501
|
+
"disabled": false,
|
6502
|
+
"document": "用量起始时间,如:2023-02-01",
|
6503
|
+
"example": "2023-02-01",
|
6504
|
+
"member": "string",
|
6505
|
+
"name": "StartTime",
|
6506
|
+
"required": true,
|
6507
|
+
"type": "string"
|
6508
|
+
},
|
6509
|
+
{
|
6510
|
+
"disabled": false,
|
6511
|
+
"document": "用量截止时间,如:2023-02-28",
|
6512
|
+
"example": "2023-02-28",
|
6513
|
+
"member": "string",
|
6514
|
+
"name": "EndTime",
|
6515
|
+
"required": true,
|
6516
|
+
"type": "string"
|
6517
|
+
},
|
6518
|
+
{
|
6519
|
+
"disabled": false,
|
6520
|
+
"document": "产品编码,已支持查询的产品如下:\np_ccc(云联络中心)\np_rav(实时音视频)\np_pstn(号码保护)\np_smh(智能媒资托管)\np_coding_devops(CODING DevOps)\np_dsa(全球IP应用加速)",
|
6521
|
+
"example": "p_ccc",
|
6522
|
+
"member": "string",
|
6523
|
+
"name": "ProductCode",
|
6524
|
+
"required": true,
|
6525
|
+
"type": "string"
|
6526
|
+
},
|
6527
|
+
{
|
6528
|
+
"disabled": false,
|
6529
|
+
"document": "数据偏移量(从0开始)",
|
6530
|
+
"example": "0",
|
6531
|
+
"member": "uint64",
|
6532
|
+
"name": "Offset",
|
6533
|
+
"required": true,
|
6534
|
+
"type": "int"
|
6535
|
+
},
|
6536
|
+
{
|
6537
|
+
"disabled": false,
|
6538
|
+
"document": "单次数据量(最大3000)",
|
6539
|
+
"example": "100",
|
6540
|
+
"member": "int64",
|
6541
|
+
"name": "Limit",
|
6542
|
+
"required": true,
|
6543
|
+
"type": "int"
|
6544
|
+
},
|
6545
|
+
{
|
6546
|
+
"disabled": false,
|
6547
|
+
"document": "用量统计类型:用量明细的数据统计汇总周期类型,包括minute-按5分钟汇总、hour-按小时汇总、day-按天汇总、month-按月汇总、comm-其他,默认查询所有类型明细,目前各产品已支持的统计类型如下:\np_ccc(云联络中心):comm、day\np_rav(实时音视频):minute、day\np_pstn(号码保护):comm\np_smh(智能媒资托管):day\np_coding_devops(CODING DevOps):comm、day\np_dsa(全球IP应用加速):minute",
|
6548
|
+
"example": "minute",
|
6549
|
+
"member": "string",
|
6550
|
+
"name": "DosageType",
|
6551
|
+
"required": false,
|
6552
|
+
"type": "string"
|
6553
|
+
}
|
6554
|
+
],
|
6555
|
+
"type": "object"
|
6556
|
+
},
|
6557
|
+
"DescribeDosageDetailListResponse": {
|
6558
|
+
"document": "DescribeDosageDetailList返回参数结构体",
|
6559
|
+
"members": [
|
6560
|
+
{
|
6561
|
+
"disabled": false,
|
6562
|
+
"document": "用量明细集合",
|
6563
|
+
"example": "无",
|
6564
|
+
"member": "DescribeDosageDetail",
|
6565
|
+
"name": "Record",
|
6566
|
+
"output_required": false,
|
6567
|
+
"type": "list",
|
6568
|
+
"value_allowed_null": false
|
6569
|
+
},
|
6570
|
+
{
|
6571
|
+
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
|
6572
|
+
"member": "string",
|
6573
|
+
"name": "RequestId",
|
6574
|
+
"type": "string"
|
6575
|
+
}
|
6576
|
+
],
|
6577
|
+
"type": "object"
|
6578
|
+
},
|
6284
6579
|
"DescribeSavingPlanCoverageRequest": {
|
6285
6580
|
"document": "DescribeSavingPlanCoverage请求参数结构体",
|
6286
6581
|
"members": [
|
@@ -7280,6 +7575,34 @@
|
|
7280
7575
|
],
|
7281
7576
|
"usage": "out"
|
7282
7577
|
},
|
7578
|
+
"JsonObject": {
|
7579
|
+
"document": "Json对象",
|
7580
|
+
"members": [
|
7581
|
+
{
|
7582
|
+
"disabled": false,
|
7583
|
+
"document": "key值",
|
7584
|
+
"example": "无",
|
7585
|
+
"member": "string",
|
7586
|
+
"name": "Key",
|
7587
|
+
"output_required": false,
|
7588
|
+
"required": false,
|
7589
|
+
"type": "string",
|
7590
|
+
"value_allowed_null": false
|
7591
|
+
},
|
7592
|
+
{
|
7593
|
+
"disabled": false,
|
7594
|
+
"document": "value值",
|
7595
|
+
"example": "无",
|
7596
|
+
"member": "string",
|
7597
|
+
"name": "Value",
|
7598
|
+
"output_required": false,
|
7599
|
+
"required": false,
|
7600
|
+
"type": "string",
|
7601
|
+
"value_allowed_null": false
|
7602
|
+
}
|
7603
|
+
],
|
7604
|
+
"usage": "both"
|
7605
|
+
},
|
7283
7606
|
"PayDealsRequest": {
|
7284
7607
|
"document": "PayDeals请求参数结构体",
|
7285
7608
|
"members": [
|
@@ -254,6 +254,14 @@
|
|
254
254
|
"title": "CLB、EIP,视频直播业务按日期获取用量明细"
|
255
255
|
}
|
256
256
|
],
|
257
|
+
"DescribeDosageDetailList": [
|
258
|
+
{
|
259
|
+
"document": "获取用量明细数据",
|
260
|
+
"input": "POST / HTTP/1.1\nHost: billing.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDosageDetailList\n<公共请求参数>\n\n{\n \"Offset\": 43150,\n \"Limit\": 3,\n \"StartTime\": \"2023-09-01\",\n \"EndTime\": \"2023-09-30\",\n \"ProductCode\": \"p_dsa\"\n}",
|
261
|
+
"output": "{\n \"Response\": {\n \"Record\": [\n {\n \"AttrStr\": [\n {\n \"Key\": \"zoneId\",\n \"Value\": \"470004\"\n },\n {\n \"Key\": \"dayPeek\",\n \"Value\": \"4872430721\"\n },\n {\n \"Key\": \"regionId\",\n \"Value\": \"47\"\n }\n ],\n \"BillingItemCode\": \"v_dsa_gipa_bandwidth_game\",\n \"BillingItemCodeName\": \"全球IP应用加速-游戏加速带宽\",\n \"Date\": \"2023-09-01\",\n \"DeductValue\": 0,\n \"DosageBeginTime\": \"2023-09-01 00:02:00\",\n \"DosageEndTime\": \"2023-09-01 00:02:59\",\n \"DosageType\": \"minute\",\n \"DosageUnit\": \"Mbps\",\n \"DosageValue\": 2206972795,\n \"ProductCode\": \"p_dsa\",\n \"ProductCodeName\": \"全站加速网络ECDN\",\n \"RemainValue\": 2206972795,\n \"SdkAppId\": \"\",\n \"SheetName\": [\n \"全球IP应用加速_1分钟\"\n ],\n \"SubBillingItemCode\": \"sv_dsa_gipa_bandwidth_game_yd_month\",\n \"SubBillingItemCodeName\": \"GIPA-游戏加速带宽-移动网络-按月结算\",\n \"SubProductCode\": \"sp_dsa_gipa\",\n \"SubProductCodeName\": \"全球IP应用加速\",\n \"Uin\": \"909619400\"\n }\n ],\n \"RequestId\": \"184cd45e-d2e1-4043-a47b-183617836e25\"\n }\n}",
|
262
|
+
"title": "获取用量明细数据"
|
263
|
+
}
|
264
|
+
],
|
257
265
|
"DescribeSavingPlanCoverage": [
|
258
266
|
{
|
259
267
|
"document": "查询节省计划覆盖率数据",
|
@@ -269,7 +269,7 @@
|
|
269
269
|
"document": "无",
|
270
270
|
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAuditRuleTemplates\n<公共请求参数>\n\n{\n \"RuleTemplateIds\": [\n \"cdb-rt-ws23fwu8\"\n ]\n}",
|
271
271
|
"output": "{\n \"Response\": {\n \"RequestId\": \"43-12121-812w1221213-62usf9093\"\n }\n}",
|
272
|
-
"title": "
|
272
|
+
"title": "删除审计规则模板"
|
273
273
|
}
|
274
274
|
],
|
275
275
|
"DeleteBackup": [
|
@@ -16176,7 +16176,7 @@
|
|
16176
16176
|
{
|
16177
16177
|
"disabled": false,
|
16178
16178
|
"document": "关闭方式 返回404:RETURN_404\n注意:此字段可能返回 null,表示取不到有效值。",
|
16179
|
-
"example": "
|
16179
|
+
"example": "RETURN_404",
|
16180
16180
|
"member": "string",
|
16181
16181
|
"name": "CounterMeasure",
|
16182
16182
|
"output_required": true,
|
@@ -2097,6 +2097,15 @@
|
|
2097
2097
|
"name": "Limit",
|
2098
2098
|
"required": false,
|
2099
2099
|
"type": "int"
|
2100
|
+
},
|
2101
|
+
{
|
2102
|
+
"disabled": false,
|
2103
|
+
"document": "用户自定义名称",
|
2104
|
+
"example": "test_fs",
|
2105
|
+
"member": "string",
|
2106
|
+
"name": "CreationToken",
|
2107
|
+
"required": false,
|
2108
|
+
"type": "string"
|
2100
2109
|
}
|
2101
2110
|
],
|
2102
2111
|
"type": "object"
|
@@ -5564,6 +5564,16 @@
|
|
5564
5564
|
"type": "int",
|
5565
5565
|
"value_allowed_null": false
|
5566
5566
|
},
|
5567
|
+
{
|
5568
|
+
"disabled": false,
|
5569
|
+
"document": "规则详情",
|
5570
|
+
"example": "无",
|
5571
|
+
"member": "IdsWhiteInfo",
|
5572
|
+
"name": "Data",
|
5573
|
+
"output_required": false,
|
5574
|
+
"type": "list",
|
5575
|
+
"value_allowed_null": false
|
5576
|
+
},
|
5567
5577
|
{
|
5568
5578
|
"disabled": false,
|
5569
5579
|
"document": "返回状态码 0 成功 非0不成功",
|
@@ -8000,6 +8010,72 @@
|
|
8000
8010
|
],
|
8001
8011
|
"usage": "out"
|
8002
8012
|
},
|
8013
|
+
"IdsWhiteInfo": {
|
8014
|
+
"document": "入侵防御规则白名单详情",
|
8015
|
+
"members": [
|
8016
|
+
{
|
8017
|
+
"disabled": false,
|
8018
|
+
"document": "白名单唯一ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
8019
|
+
"example": "50",
|
8020
|
+
"member": "int64",
|
8021
|
+
"name": "Id",
|
8022
|
+
"output_required": false,
|
8023
|
+
"type": "int",
|
8024
|
+
"value_allowed_null": true
|
8025
|
+
},
|
8026
|
+
{
|
8027
|
+
"disabled": false,
|
8028
|
+
"document": "源IP\n注意:此字段可能返回 null,表示取不到有效值。",
|
8029
|
+
"example": "10.23.22.1",
|
8030
|
+
"member": "string",
|
8031
|
+
"name": "SrcIp",
|
8032
|
+
"output_required": false,
|
8033
|
+
"type": "string",
|
8034
|
+
"value_allowed_null": true
|
8035
|
+
},
|
8036
|
+
{
|
8037
|
+
"disabled": false,
|
8038
|
+
"document": "目的IP\n注意:此字段可能返回 null,表示取不到有效值。",
|
8039
|
+
"example": "10.23.22.2",
|
8040
|
+
"member": "string",
|
8041
|
+
"name": "DstIp",
|
8042
|
+
"output_required": false,
|
8043
|
+
"type": "string",
|
8044
|
+
"value_allowed_null": true
|
8045
|
+
},
|
8046
|
+
{
|
8047
|
+
"disabled": false,
|
8048
|
+
"document": "规则类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
8049
|
+
"example": "srddst",
|
8050
|
+
"member": "string",
|
8051
|
+
"name": "WhiteRuleType",
|
8052
|
+
"output_required": false,
|
8053
|
+
"type": "string",
|
8054
|
+
"value_allowed_null": true
|
8055
|
+
},
|
8056
|
+
{
|
8057
|
+
"disabled": false,
|
8058
|
+
"document": "白名单生效防火墙范围: 1 边界防火墙 2 nat防火墙 4 vpc防火墙 7 = 1+2+4 所有防火墙\n注意:此字段可能返回 null,表示取不到有效值。",
|
8059
|
+
"example": "7",
|
8060
|
+
"member": "int64",
|
8061
|
+
"name": "FwType",
|
8062
|
+
"output_required": false,
|
8063
|
+
"type": "int",
|
8064
|
+
"value_allowed_null": true
|
8065
|
+
},
|
8066
|
+
{
|
8067
|
+
"disabled": false,
|
8068
|
+
"document": "入侵防御规则ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
8069
|
+
"example": "20016",
|
8070
|
+
"member": "string",
|
8071
|
+
"name": "RuleId",
|
8072
|
+
"output_required": false,
|
8073
|
+
"type": "string",
|
8074
|
+
"value_allowed_null": true
|
8075
|
+
}
|
8076
|
+
],
|
8077
|
+
"usage": "out"
|
8078
|
+
},
|
8003
8079
|
"InstanceInfo": {
|
8004
8080
|
"document": "// InstanceInfo 实例详情结果\ntype InstanceInfo struct {\n\tAppID string `json:\"AppId\" gorm:\"column:appid\"`\n\tRegion string `json:\"Region\" gorm:\"column:region\"`\n\tVPCID string `json:\"VpcId\" gorm:\"column:vpc_id\"`\n\tSubNetID string `json:\"SubnetId\" gorm:\"column:subnet_id\"`\n\tInstanceID string `json:\"InstanceId\" gorm:\"column:instance_id\"`\n\tInstanceName string `json:\"InstanceName\" gorm:\"column:instance_name\"`\n\t//InsType common.CVM 3是cvm实例,4是clb实例,5是eni实例,6是mysql,7是redis,8是NAT,9是VPN,10是ES,11是MARIADB,12是KAFKA\n\tInsType int `json:\"InsType\" gorm:\"column:instance_type\"`\n\tPublicIP string `json:\"PublicIp\" gorm:\"column:public_ip\"`\n\tPrivateIP string `json:\"PrivateIp\" gorm:\"column:ip\"`\n\n\t//规则下发无需管,前端展示用\n\tPortNum string `json:\"PortNum\" gorm:\"column:port_num\"`\n\tLeakNum string `json:\"LeakNum\" gorm:\"column:leak_num\"`\n\tResourceGroupNum int `json:\"ResourceGroupNum\"`\n\tVPCName string `json:\"VPCName\" gorm:\"column:VPCName\"`\n}",
|
8005
8081
|
"members": [
|
@@ -382,7 +382,7 @@
|
|
382
382
|
{
|
383
383
|
"document": "入侵防御规则白名单查询示例",
|
384
384
|
"input": "POST / HTTP/1.1\nHost: cfw.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeIdsWhiteRule\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0\n}",
|
385
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"88db276f-42d5-4b60-afc1-2c5799250a99\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"Total\": 1\n }\n}",
|
385
|
+
"output": "{\n \"Response\": {\n \"Data\": [\n {\n \"DstIp\": \"10.23.33.2\",\n \"FwType\": 4,\n \"Id\": 63,\n \"RuleId\": \"20006\",\n \"SrcIp\": \"10.23.33.1\",\n \"WhiteRuleType\": \"srcdst\"\n }\n ],\n \"RequestId\": \"88db276f-42d5-4b60-afc1-2c5799250a99\",\n \"ReturnCode\": 0,\n \"ReturnMsg\": \"success\",\n \"Total\": 1\n }\n}",
|
386
386
|
"title": "入侵防御规则白名单查询示例"
|
387
387
|
}
|
388
388
|
],
|
@@ -472,7 +472,7 @@
|
|
472
472
|
"ModifyLoadBalancerMixIpTarget": {
|
473
473
|
"document": "修改IPv6FullChain负载均衡7层监听器支持混绑IPv4/IPv6目标特性。",
|
474
474
|
"input": "ModifyLoadBalancerMixIpTargetRequest",
|
475
|
-
"name": "修改IPv6FullChain负载均衡7
|
475
|
+
"name": "修改IPv6FullChain负载均衡7层监听器支持混绑目标特性",
|
476
476
|
"output": "ModifyLoadBalancerMixIpTargetResponse",
|
477
477
|
"status": "online"
|
478
478
|
},
|