tccli 3.0.1354.1__py2.py3-none-any.whl → 3.0.1356.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.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/aiart/v20221229/api.json +1 -1
- tccli/services/apm/v20210622/api.json +38 -0
- tccli/services/autoscaling/v20180419/api.json +45 -1
- tccli/services/bi/v20220105/api.json +1 -1
- tccli/services/billing/v20180709/api.json +11 -11
- tccli/services/ccc/v20200210/api.json +90 -0
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +57 -5
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/cdwch/v20200915/api.json +86 -86
- tccli/services/cdwch/v20200915/examples.json +1 -1
- tccli/services/clb/v20180317/api.json +1 -1
- tccli/services/ctsdb/__init__.py +4 -0
- tccli/services/ctsdb/ctsdb_client.py +260 -0
- tccli/services/ctsdb/v20230202/api.json +679 -0
- tccli/services/ctsdb/v20230202/examples.json +21 -0
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +107 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/essbasic/v20210526/api.json +46 -1
- tccli/services/faceid/v20180301/api.json +26 -26
- tccli/services/gme/v20180711/api.json +1 -1
- tccli/services/gs/v20191118/api.json +9 -0
- tccli/services/hunyuan/v20230901/api.json +80 -0
- tccli/services/igtm/v20231024/api.json +52 -52
- tccli/services/igtm/v20231024/examples.json +21 -21
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/lke/v20231130/api.json +1 -1
- tccli/services/monitor/v20180724/api.json +1 -1
- tccli/services/mps/v20190612/api.json +11 -0
- tccli/services/ocr/v20181119/api.json +9 -0
- tccli/services/securitylake/v20240117/api.json +2 -2
- tccli/services/ssl/v20191205/api.json +50 -0
- tccli/services/tcaplusdb/v20190823/api.json +2 -2
- tccli/services/teo/teo_client.py +114 -8
- tccli/services/teo/v20220901/api.json +209 -6
- tccli/services/teo/v20220901/examples.json +34 -0
- tccli/services/tts/v20190823/api.json +3 -3
- tccli/services/vclm/v20240523/api.json +2 -2
- tccli/services/vpc/v20170312/api.json +5 -5
- {tccli-3.0.1354.1.dist-info → tccli-3.0.1356.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1354.1.dist-info → tccli-3.0.1356.1.dist-info}/RECORD +47 -43
- {tccli-3.0.1354.1.dist-info → tccli-3.0.1356.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1354.1.dist-info → tccli-3.0.1356.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1354.1.dist-info → tccli-3.0.1356.1.dist-info}/license_files/LICENSE +0 -0
@@ -4019,6 +4019,26 @@
|
|
4019
4019
|
"output_required": false,
|
4020
4020
|
"type": "list",
|
4021
4021
|
"value_allowed_null": false
|
4022
|
+
},
|
4023
|
+
{
|
4024
|
+
"disabled": false,
|
4025
|
+
"document": "当前部署证书加密算法",
|
4026
|
+
"example": "RSA",
|
4027
|
+
"member": "string",
|
4028
|
+
"name": "Algorithm",
|
4029
|
+
"output_required": false,
|
4030
|
+
"type": "string",
|
4031
|
+
"value_allowed_null": false
|
4032
|
+
},
|
4033
|
+
{
|
4034
|
+
"disabled": false,
|
4035
|
+
"document": "原证书加密算法",
|
4036
|
+
"example": "RSA",
|
4037
|
+
"member": "string",
|
4038
|
+
"name": "OldAlgorithm",
|
4039
|
+
"output_required": false,
|
4040
|
+
"type": "string",
|
4041
|
+
"value_allowed_null": false
|
4022
4042
|
}
|
4023
4043
|
],
|
4024
4044
|
"usage": "out"
|
@@ -10846,6 +10866,16 @@
|
|
10846
10866
|
"output_required": true,
|
10847
10867
|
"type": "string",
|
10848
10868
|
"value_allowed_null": false
|
10869
|
+
},
|
10870
|
+
{
|
10871
|
+
"disabled": false,
|
10872
|
+
"document": "证书加密算法",
|
10873
|
+
"example": "RSA",
|
10874
|
+
"member": "string",
|
10875
|
+
"name": "Algorithm",
|
10876
|
+
"output_required": false,
|
10877
|
+
"type": "string",
|
10878
|
+
"value_allowed_null": false
|
10849
10879
|
}
|
10850
10880
|
],
|
10851
10881
|
"usage": "out"
|
@@ -11557,6 +11587,26 @@
|
|
11557
11587
|
"output_required": false,
|
11558
11588
|
"type": "string",
|
11559
11589
|
"value_allowed_null": false
|
11590
|
+
},
|
11591
|
+
{
|
11592
|
+
"disabled": false,
|
11593
|
+
"document": "新证书加密算法",
|
11594
|
+
"example": "RSA",
|
11595
|
+
"member": "string",
|
11596
|
+
"name": "Algorithm",
|
11597
|
+
"output_required": false,
|
11598
|
+
"type": "string",
|
11599
|
+
"value_allowed_null": false
|
11600
|
+
},
|
11601
|
+
{
|
11602
|
+
"disabled": false,
|
11603
|
+
"document": "旧证书加密算法",
|
11604
|
+
"example": "RSA",
|
11605
|
+
"member": "string",
|
11606
|
+
"name": "OldAlgorithm",
|
11607
|
+
"output_required": false,
|
11608
|
+
"type": "string",
|
11609
|
+
"value_allowed_null": false
|
11560
11610
|
}
|
11561
11611
|
],
|
11562
11612
|
"usage": "out"
|
@@ -330,11 +330,11 @@
|
|
330
330
|
"status": "online"
|
331
331
|
},
|
332
332
|
"RollbackTables": {
|
333
|
-
"document": "表格数据回档",
|
333
|
+
"document": "不再使用\n\n表格数据回档",
|
334
334
|
"input": "RollbackTablesRequest",
|
335
335
|
"name": "表格数据回档",
|
336
336
|
"output": "RollbackTablesResponse",
|
337
|
-
"status": "
|
337
|
+
"status": "deprecated"
|
338
338
|
},
|
339
339
|
"SetBackupExpireRule": {
|
340
340
|
"document": "新增、删除、修改备份过期策略, ClusterId必须为具体的集群Id(appid)",
|
tccli/services/teo/teo_client.py
CHANGED
@@ -331,6 +331,58 @@ def doCreatePurgeTask(args, parsed_globals):
|
|
331
331
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
332
332
|
|
333
333
|
|
334
|
+
def doDescribeDDoSProtection(args, parsed_globals):
|
335
|
+
g_param = parse_global_arg(parsed_globals)
|
336
|
+
|
337
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
338
|
+
cred = credential.CVMRoleCredential()
|
339
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
340
|
+
cred = credential.STSAssumeRoleCredential(
|
341
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
342
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
343
|
+
)
|
344
|
+
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):
|
345
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
346
|
+
else:
|
347
|
+
cred = credential.Credential(
|
348
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
349
|
+
)
|
350
|
+
http_profile = HttpProfile(
|
351
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
352
|
+
reqMethod="POST",
|
353
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
354
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
355
|
+
)
|
356
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
357
|
+
if g_param[OptionsDefine.Language]:
|
358
|
+
profile.language = g_param[OptionsDefine.Language]
|
359
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
360
|
+
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
361
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
362
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
363
|
+
model = models.DescribeDDoSProtectionRequest()
|
364
|
+
model.from_json_string(json.dumps(args))
|
365
|
+
start_time = time.time()
|
366
|
+
while True:
|
367
|
+
rsp = client.DescribeDDoSProtection(model)
|
368
|
+
result = rsp.to_json_string()
|
369
|
+
try:
|
370
|
+
json_obj = json.loads(result)
|
371
|
+
except TypeError as e:
|
372
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
373
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
374
|
+
break
|
375
|
+
cur_time = time.time()
|
376
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
377
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
378
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
379
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
380
|
+
else:
|
381
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
382
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
383
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
384
|
+
|
385
|
+
|
334
386
|
def doDescribeMultiPathGatewayRegions(args, parsed_globals):
|
335
387
|
g_param = parse_global_arg(parsed_globals)
|
336
388
|
|
@@ -1267,7 +1319,7 @@ def doModifyL7AccSetting(args, parsed_globals):
|
|
1267
1319
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1268
1320
|
|
1269
1321
|
|
1270
|
-
def
|
1322
|
+
def doDescribeConfigGroupVersions(args, parsed_globals):
|
1271
1323
|
g_param = parse_global_arg(parsed_globals)
|
1272
1324
|
|
1273
1325
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -1296,11 +1348,11 @@ def doModifyMultiPathGatewayLine(args, parsed_globals):
|
|
1296
1348
|
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
1297
1349
|
client._sdkVersion += ("_CLI_" + __version__)
|
1298
1350
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1299
|
-
model = models.
|
1351
|
+
model = models.DescribeConfigGroupVersionsRequest()
|
1300
1352
|
model.from_json_string(json.dumps(args))
|
1301
1353
|
start_time = time.time()
|
1302
1354
|
while True:
|
1303
|
-
rsp = client.
|
1355
|
+
rsp = client.DescribeConfigGroupVersions(model)
|
1304
1356
|
result = rsp.to_json_string()
|
1305
1357
|
try:
|
1306
1358
|
json_obj = json.loads(result)
|
@@ -3035,7 +3087,7 @@ def doModifyFunctionRule(args, parsed_globals):
|
|
3035
3087
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
3036
3088
|
|
3037
3089
|
|
3038
|
-
def
|
3090
|
+
def doModifyMultiPathGatewayLine(args, parsed_globals):
|
3039
3091
|
g_param = parse_global_arg(parsed_globals)
|
3040
3092
|
|
3041
3093
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -3064,11 +3116,11 @@ def doDescribeConfigGroupVersions(args, parsed_globals):
|
|
3064
3116
|
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
3065
3117
|
client._sdkVersion += ("_CLI_" + __version__)
|
3066
3118
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
3067
|
-
model = models.
|
3119
|
+
model = models.ModifyMultiPathGatewayLineRequest()
|
3068
3120
|
model.from_json_string(json.dumps(args))
|
3069
3121
|
start_time = time.time()
|
3070
3122
|
while True:
|
3071
|
-
rsp = client.
|
3123
|
+
rsp = client.ModifyMultiPathGatewayLine(model)
|
3072
3124
|
result = rsp.to_json_string()
|
3073
3125
|
try:
|
3074
3126
|
json_obj = json.loads(result)
|
@@ -8183,6 +8235,58 @@ def doDescribeDnsRecords(args, parsed_globals):
|
|
8183
8235
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
8184
8236
|
|
8185
8237
|
|
8238
|
+
def doModifyDDoSProtection(args, parsed_globals):
|
8239
|
+
g_param = parse_global_arg(parsed_globals)
|
8240
|
+
|
8241
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
8242
|
+
cred = credential.CVMRoleCredential()
|
8243
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
8244
|
+
cred = credential.STSAssumeRoleCredential(
|
8245
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
8246
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
8247
|
+
)
|
8248
|
+
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):
|
8249
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
8250
|
+
else:
|
8251
|
+
cred = credential.Credential(
|
8252
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
8253
|
+
)
|
8254
|
+
http_profile = HttpProfile(
|
8255
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
8256
|
+
reqMethod="POST",
|
8257
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
8258
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
8259
|
+
)
|
8260
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
8261
|
+
if g_param[OptionsDefine.Language]:
|
8262
|
+
profile.language = g_param[OptionsDefine.Language]
|
8263
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
8264
|
+
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
8265
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
8266
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
8267
|
+
model = models.ModifyDDoSProtectionRequest()
|
8268
|
+
model.from_json_string(json.dumps(args))
|
8269
|
+
start_time = time.time()
|
8270
|
+
while True:
|
8271
|
+
rsp = client.ModifyDDoSProtection(model)
|
8272
|
+
result = rsp.to_json_string()
|
8273
|
+
try:
|
8274
|
+
json_obj = json.loads(result)
|
8275
|
+
except TypeError as e:
|
8276
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
8277
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
8278
|
+
break
|
8279
|
+
cur_time = time.time()
|
8280
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
8281
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
8282
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
8283
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
8284
|
+
else:
|
8285
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
8286
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
8287
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
8288
|
+
|
8289
|
+
|
8186
8290
|
def doImportZoneConfig(args, parsed_globals):
|
8187
8291
|
g_param = parse_global_arg(parsed_globals)
|
8188
8292
|
|
@@ -8722,6 +8826,7 @@ ACTION_MAP = {
|
|
8722
8826
|
"DescribeContentIdentifiers": doDescribeContentIdentifiers,
|
8723
8827
|
"DeleteFunction": doDeleteFunction,
|
8724
8828
|
"CreatePurgeTask": doCreatePurgeTask,
|
8829
|
+
"DescribeDDoSProtection": doDescribeDDoSProtection,
|
8725
8830
|
"DescribeMultiPathGatewayRegions": doDescribeMultiPathGatewayRegions,
|
8726
8831
|
"DownloadL4Logs": doDownloadL4Logs,
|
8727
8832
|
"CreatePlanForZone": doCreatePlanForZone,
|
@@ -8740,7 +8845,7 @@ ACTION_MAP = {
|
|
8740
8845
|
"ModifyOriginGroup": doModifyOriginGroup,
|
8741
8846
|
"DeleteApplicationProxy": doDeleteApplicationProxy,
|
8742
8847
|
"ModifyL7AccSetting": doModifyL7AccSetting,
|
8743
|
-
"
|
8848
|
+
"DescribeConfigGroupVersions": doDescribeConfigGroupVersions,
|
8744
8849
|
"ModifyL4ProxyStatus": doModifyL4ProxyStatus,
|
8745
8850
|
"DownloadL7Logs": doDownloadL7Logs,
|
8746
8851
|
"DescribeEnvironments": doDescribeEnvironments,
|
@@ -8774,7 +8879,7 @@ ACTION_MAP = {
|
|
8774
8879
|
"ModifyDnsRecords": doModifyDnsRecords,
|
8775
8880
|
"DescribeTimingL7CacheData": doDescribeTimingL7CacheData,
|
8776
8881
|
"ModifyFunctionRule": doModifyFunctionRule,
|
8777
|
-
"
|
8882
|
+
"ModifyMultiPathGatewayLine": doModifyMultiPathGatewayLine,
|
8778
8883
|
"ModifyWebSecurityTemplate": doModifyWebSecurityTemplate,
|
8779
8884
|
"ModifyL7AccRulePriority": doModifyL7AccRulePriority,
|
8780
8885
|
"ModifyZoneSetting": doModifyZoneSetting,
|
@@ -8873,6 +8978,7 @@ ACTION_MAP = {
|
|
8873
8978
|
"DeleteZone": doDeleteZone,
|
8874
8979
|
"DescribeSecurityIPGroupInfo": doDescribeSecurityIPGroupInfo,
|
8875
8980
|
"DescribeDnsRecords": doDescribeDnsRecords,
|
8981
|
+
"ModifyDDoSProtection": doModifyDDoSProtection,
|
8876
8982
|
"ImportZoneConfig": doImportZoneConfig,
|
8877
8983
|
"CreateMultiPathGatewaySecretKey": doCreateMultiPathGatewaySecretKey,
|
8878
8984
|
"ModifyCustomErrorPage": doModifyCustomErrorPage,
|
@@ -490,6 +490,13 @@
|
|
490
490
|
"output": "DescribeDDoSAttackTopDataResponse",
|
491
491
|
"status": "online"
|
492
492
|
},
|
493
|
+
"DescribeDDoSProtection": {
|
494
|
+
"document": "获取站点的独立 DDoS 防护信息。",
|
495
|
+
"input": "DescribeDDoSProtectionRequest",
|
496
|
+
"name": "查询站点的独立 DDoS 防护信息",
|
497
|
+
"output": "DescribeDDoSProtectionResponse",
|
498
|
+
"status": "online"
|
499
|
+
},
|
493
500
|
"DescribeDefaultCertificates": {
|
494
501
|
"document": "查询默认证书列表",
|
495
502
|
"input": "DescribeDefaultCertificatesRequest",
|
@@ -945,6 +952,13 @@
|
|
945
952
|
"output": "ModifyCustomErrorPageResponse",
|
946
953
|
"status": "online"
|
947
954
|
},
|
955
|
+
"ModifyDDoSProtection": {
|
956
|
+
"document": "修改站点的独立 DDoS 防护。",
|
957
|
+
"input": "ModifyDDoSProtectionRequest",
|
958
|
+
"name": "修改站点的独立 DDoS 防护",
|
959
|
+
"output": "ModifyDDoSProtectionResponse",
|
960
|
+
"status": "online"
|
961
|
+
},
|
948
962
|
"ModifyDnsRecords": {
|
949
963
|
"document": "您可以通过本接口批量修改 DNS 记录。",
|
950
964
|
"input": "ModifyDnsRecordsRequest",
|
@@ -2723,11 +2737,11 @@
|
|
2723
2737
|
"usage": "both"
|
2724
2738
|
},
|
2725
2739
|
"BillingData": {
|
2726
|
-
"document": "
|
2740
|
+
"document": "计费数据项。",
|
2727
2741
|
"members": [
|
2728
2742
|
{
|
2729
2743
|
"disabled": false,
|
2730
|
-
"document": "
|
2744
|
+
"document": "数据时间戳。",
|
2731
2745
|
"example": "2014-08-03T12:00:00+08:00",
|
2732
2746
|
"member": "datetime_iso",
|
2733
2747
|
"name": "Time",
|
@@ -2744,6 +2758,46 @@
|
|
2744
2758
|
"output_required": true,
|
2745
2759
|
"type": "int",
|
2746
2760
|
"value_allowed_null": false
|
2761
|
+
},
|
2762
|
+
{
|
2763
|
+
"disabled": false,
|
2764
|
+
"document": "数据点所属站点 ID。若使用内容标识符功能,则该项值为内容标识符。",
|
2765
|
+
"example": "zone-3e212xp3rj2q",
|
2766
|
+
"member": "string",
|
2767
|
+
"name": "ZoneId",
|
2768
|
+
"output_required": false,
|
2769
|
+
"type": "string",
|
2770
|
+
"value_allowed_null": false
|
2771
|
+
},
|
2772
|
+
{
|
2773
|
+
"disabled": false,
|
2774
|
+
"document": "数据点所属域名。",
|
2775
|
+
"example": "test.example.com",
|
2776
|
+
"member": "string",
|
2777
|
+
"name": "Host",
|
2778
|
+
"output_required": false,
|
2779
|
+
"type": "string",
|
2780
|
+
"value_allowed_null": false
|
2781
|
+
},
|
2782
|
+
{
|
2783
|
+
"disabled": false,
|
2784
|
+
"document": "数据点所属四层代理实例 ID。",
|
2785
|
+
"example": "sid-3e213190kcia",
|
2786
|
+
"member": "string",
|
2787
|
+
"name": "ProxyId",
|
2788
|
+
"output_required": false,
|
2789
|
+
"type": "string",
|
2790
|
+
"value_allowed_null": false
|
2791
|
+
},
|
2792
|
+
{
|
2793
|
+
"disabled": false,
|
2794
|
+
"document": "数据点所属计费大区 ID。计费大区以实际服务用户客户端的 EdgeOne 节点所在区域为准。取值有:<li>CH:中国大陆境内</li><li>AF:非洲</li><li>AS1:亚太一区</li><li>AS2:亚太二区</li><li>AS3:亚太三区</li><li>EU:欧洲</li><li>MidEast:中东</li><li>NA:北美</li><li> SA:南美</li>",
|
2795
|
+
"example": "AS1",
|
2796
|
+
"member": "string",
|
2797
|
+
"name": "RegionId",
|
2798
|
+
"output_required": false,
|
2799
|
+
"type": "string",
|
2800
|
+
"value_allowed_null": false
|
2747
2801
|
}
|
2748
2802
|
],
|
2749
2803
|
"usage": "out"
|
@@ -7564,6 +7618,45 @@
|
|
7564
7618
|
],
|
7565
7619
|
"usage": "out"
|
7566
7620
|
},
|
7621
|
+
"DDoSProtection": {
|
7622
|
+
"document": "独立 DDoS 防护配置。",
|
7623
|
+
"members": [
|
7624
|
+
{
|
7625
|
+
"disabled": false,
|
7626
|
+
"document": "指定独立 DDoS 的防护范围。取值为:\n<li> protect_all_domains:独立 DDoS 防护对站点内全部域名生效,新接入域名自动开启独立 DDoS 防护,入参为 protect_all_domains 时,入参 DomainDDoSProtections 不作处理;</li>\n<li> protect_specified_domains:仅对指定域名生效,具体范围可通过 DomainDDoSProtection 参数指定。</li>",
|
7627
|
+
"example": "protect_all_domains",
|
7628
|
+
"member": "string",
|
7629
|
+
"name": "ProtectionOption",
|
7630
|
+
"output_required": true,
|
7631
|
+
"required": true,
|
7632
|
+
"type": "string",
|
7633
|
+
"value_allowed_null": false
|
7634
|
+
},
|
7635
|
+
{
|
7636
|
+
"disabled": false,
|
7637
|
+
"document": "域名的独立 DDoS 防护配置。在入参场景中:\n<li> 当 ProtectionOption 保持为 protect_specified_domains 时:未填写的域名维持原有独立 DDoS 防护配置不变,显式指定的域名按传入参数更新;</li>\n<li> 当 ProtectionOption 由 protect_all_domains 切换为 protect_specified_domains 时:若 DomainDDoSProtections 传空,停用站点下全部域名的独立 DDoS 防护;若 DomainDDoSProtections 不为空,参数中指定的域名停用或保持独立 DDoS 防护,其余未列出的域名统一停用独立 DDoS 防护。</li>",
|
7638
|
+
"example": "无",
|
7639
|
+
"member": "DomainDDoSProtection",
|
7640
|
+
"name": "DomainDDoSProtections",
|
7641
|
+
"output_required": true,
|
7642
|
+
"required": false,
|
7643
|
+
"type": "list",
|
7644
|
+
"value_allowed_null": false
|
7645
|
+
},
|
7646
|
+
{
|
7647
|
+
"disabled": false,
|
7648
|
+
"document": "共享 CNAME 的独立 DDoS 防护配置。仅作为出参使用。",
|
7649
|
+
"example": "无",
|
7650
|
+
"member": "DomainDDoSProtection",
|
7651
|
+
"name": "SharedCNAMEDDoSProtections",
|
7652
|
+
"output_required": false,
|
7653
|
+
"required": false,
|
7654
|
+
"type": "list",
|
7655
|
+
"value_allowed_null": false
|
7656
|
+
}
|
7657
|
+
],
|
7658
|
+
"usage": "both"
|
7659
|
+
},
|
7567
7660
|
"DDosProtectionConfig": {
|
7568
7661
|
"document": "适用于四层代理或 Web 站点服务的独立 DDoS 防护规格配置。",
|
7569
7662
|
"members": [
|
@@ -9038,7 +9131,7 @@
|
|
9038
9131
|
},
|
9039
9132
|
{
|
9040
9133
|
"disabled": false,
|
9041
|
-
"document": "
|
9134
|
+
"document": "结束时间。查询时间范围(`EndTime` - `StartTime`)需小于等于 31 天。",
|
9042
9135
|
"example": "2014-08-03T12:00:00+08:00",
|
9043
9136
|
"member": "datetime_iso",
|
9044
9137
|
"name": "EndTime",
|
@@ -9047,7 +9140,7 @@
|
|
9047
9140
|
},
|
9048
9141
|
{
|
9049
9142
|
"disabled": false,
|
9050
|
-
"document": "站点 ID
|
9143
|
+
"document": "站点 ID 集合,此参数必填。最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。",
|
9051
9144
|
"example": "zone-2siulp074dz3",
|
9052
9145
|
"member": "string",
|
9053
9146
|
"name": "ZoneIds",
|
@@ -9056,7 +9149,7 @@
|
|
9056
9149
|
},
|
9057
9150
|
{
|
9058
9151
|
"disabled": false,
|
9059
|
-
"document": "
|
9152
|
+
"document": "指标列表,取值如下:\n<b>四/七层加速流量:</b><li>acc_flux: 内容加速流量,单位为 Byte;</li><li>smt_flux: 智能加速流量,单位为 Byte;</li><li>l4_flux: 四层加速流量,单位为 Byte;</li><li>sec_flux: 独立防护流量,单位为 Byte;</li><li>zxctg_flux: 中国大陆网络优化流量,单位为 Byte。</li><br><b>四/七层加速带宽:</b><li>acc_bandwidth: 内容加速带宽,单位为 bps;</li><li>smt_bandwidth: 智能加速带宽,单位为 bps;</li><li>l4_bandwidth: 四层加速带宽,单位为 bps;</li><li>sec_bandwidth: 独立防护带宽,单位为 bps;</li><li>zxctg_bandwidth: 中国大陆网络优化带宽,单位为 bps。</li><br><b>HTTP/HTTPS 安全请求数:</b><li>sec_request_clean: HTTP/HTTPS 请求,单位为次。</li><b><br>增值服务用量:</b><li>smt_request_clean: 智能加速请求,单位为次;</li><li>quic_request: QUIC 请求,单位为次;</li><li>bot_request_clean: Bot 请求,单位为次;</li><li>cls_count: 实时日志推送条数,单位为条;</li><li>ddos_bandwidth: 弹性 DDoS 防护带宽,单位为 bps。</li><br><b>边缘计算用量:</b><li>edgefunction_request:边缘函数请求数,单位为次;</li><li>edgefunction_cpu_time:边缘函数CPU处理时间,单位为毫秒。</li>\n<b>媒体处理用量:</b><li>total_transcode:所有规格音频,视频即时转码,转封装时长,单位为秒;</li><li>remux:转封装时长,单位为秒;</li><li>transcode_audio:音频转码时长,单位为秒;</li><li>transcode_H264_SD:H.264 编码方式的标清视频(短边 <= 480 px)时长,单位为秒;</li><li>transcode_H264_HD:H.264 编码方式的高清视频(短边 <= 720 px)时长,单位为秒;</li><li>transcode_H264_FHD:H.264 编码方式的全高清视频(短边 <= 1080 px)时长,单位为秒;</li><li>transcode_H264_2K:H.264 编码方式的 2K 视频(短边 <= 1440 px)时长,单位为秒。</li>",
|
9060
9153
|
"example": "acc_flux",
|
9061
9154
|
"member": "string",
|
9062
9155
|
"name": "MetricName",
|
@@ -9074,12 +9167,21 @@
|
|
9074
9167
|
},
|
9075
9168
|
{
|
9076
9169
|
"disabled": false,
|
9077
|
-
"document": "过滤条件,详细的过滤条件取值如下:\n<li>host:按照域名进行过滤。示例值:test.example.com。<br></li>\n<li>proxy-id:按照四层代理实例 ID 进行过滤。示例值:sid-2rugn89bkla9。<br></li>\n<li>region-id:按照计费大区进行过滤。可选项如下:<br> CH:中国大陆境内<br> AF:非洲<br> AS1:亚太一区<br> AS2:亚太二区<br> AS3:亚太三区<br> EU:欧洲<br> MidEast:中东<br> NA:北美<br> SA:南美</li
|
9170
|
+
"document": "过滤条件,详细的过滤条件取值如下:\n<li>host:按照域名进行过滤。示例值:test.example.com。<br></li>\n<li>proxy-id:按照四层代理实例 ID 进行过滤。示例值:sid-2rugn89bkla9。<br></li>\n<li>region-id:按照计费大区进行过滤。可选项如下:<br> CH:中国大陆境内<br> AF:非洲<br> AS1:亚太一区<br> AS2:亚太二区<br> AS3:亚太三区<br> EU:欧洲<br> MidEast:中东<br> NA:北美<br> SA:南美</li>\n说明:相同 `Type` 的 `BillingDataFilter` 之间为“或”关系,不同 `Type` 的 `BillingDataFilter` 之间为“且”关系。",
|
9078
9171
|
"example": "无",
|
9079
9172
|
"member": "BillingDataFilter",
|
9080
9173
|
"name": "Filters",
|
9081
9174
|
"required": false,
|
9082
9175
|
"type": "list"
|
9176
|
+
},
|
9177
|
+
{
|
9178
|
+
"disabled": false,
|
9179
|
+
"document": "分组聚合维度。最多允许同时按照两种维度进行分组。取值如下: <li>zone-id:按照站点 ID 进行分组,若使用了内容标识符功能,则优先按照内容标识符分组;<br></li><li>host:按照域名进行分组;<br></li> <li>proxy-id:按照四层代理实例 ID 进行分组;<br></li> <li>region-id:按照计费大区进行分组。</li> ",
|
9180
|
+
"example": "zone-id",
|
9181
|
+
"member": "string",
|
9182
|
+
"name": "GroupBy",
|
9183
|
+
"required": false,
|
9184
|
+
"type": "list"
|
9083
9185
|
}
|
9084
9186
|
],
|
9085
9187
|
"type": "object"
|
@@ -9788,6 +9890,43 @@
|
|
9788
9890
|
],
|
9789
9891
|
"type": "object"
|
9790
9892
|
},
|
9893
|
+
"DescribeDDoSProtectionRequest": {
|
9894
|
+
"document": "DescribeDDoSProtection请求参数结构体",
|
9895
|
+
"members": [
|
9896
|
+
{
|
9897
|
+
"disabled": false,
|
9898
|
+
"document": "站点 ID。",
|
9899
|
+
"example": "zone-25ryyvog1qih",
|
9900
|
+
"member": "string",
|
9901
|
+
"name": "ZoneId",
|
9902
|
+
"required": true,
|
9903
|
+
"type": "string"
|
9904
|
+
}
|
9905
|
+
],
|
9906
|
+
"type": "object"
|
9907
|
+
},
|
9908
|
+
"DescribeDDoSProtectionResponse": {
|
9909
|
+
"document": "DescribeDDoSProtection返回参数结构体",
|
9910
|
+
"members": [
|
9911
|
+
{
|
9912
|
+
"disabled": false,
|
9913
|
+
"document": "独立 DDoS 防护配置。用于控制独立 DDoS 防护的生效范围。",
|
9914
|
+
"example": "无",
|
9915
|
+
"member": "DDoSProtection",
|
9916
|
+
"name": "DDoSProtection",
|
9917
|
+
"output_required": true,
|
9918
|
+
"type": "object",
|
9919
|
+
"value_allowed_null": false
|
9920
|
+
},
|
9921
|
+
{
|
9922
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9923
|
+
"member": "string",
|
9924
|
+
"name": "RequestId",
|
9925
|
+
"type": "string"
|
9926
|
+
}
|
9927
|
+
],
|
9928
|
+
"type": "object"
|
9929
|
+
},
|
9791
9930
|
"DescribeDefaultCertificatesRequest": {
|
9792
9931
|
"document": "DescribeDefaultCertificates请求参数结构体",
|
9793
9932
|
"members": [
|
@@ -13519,6 +13658,34 @@
|
|
13519
13658
|
],
|
13520
13659
|
"usage": "out"
|
13521
13660
|
},
|
13661
|
+
"DomainDDoSProtection": {
|
13662
|
+
"document": "域名的独立 DDoS 防护信息。",
|
13663
|
+
"members": [
|
13664
|
+
{
|
13665
|
+
"disabled": false,
|
13666
|
+
"document": "域名。",
|
13667
|
+
"example": "www.qq.com",
|
13668
|
+
"member": "string",
|
13669
|
+
"name": "Domain",
|
13670
|
+
"output_required": true,
|
13671
|
+
"required": true,
|
13672
|
+
"type": "string",
|
13673
|
+
"value_allowed_null": false
|
13674
|
+
},
|
13675
|
+
{
|
13676
|
+
"disabled": false,
|
13677
|
+
"document": "域名的独立 DDoS 开关,取值为:\n<li> on:已开启;</li>\n<li> off:已关闭。</li>",
|
13678
|
+
"example": "off",
|
13679
|
+
"member": "string",
|
13680
|
+
"name": "Switch",
|
13681
|
+
"output_required": true,
|
13682
|
+
"required": true,
|
13683
|
+
"type": "string",
|
13684
|
+
"value_allowed_null": false
|
13685
|
+
}
|
13686
|
+
],
|
13687
|
+
"usage": "both"
|
13688
|
+
},
|
13522
13689
|
"DownloadL4LogsRequest": {
|
13523
13690
|
"document": "DownloadL4Logs请求参数结构体",
|
13524
13691
|
"members": [
|
@@ -17922,6 +18089,42 @@
|
|
17922
18089
|
],
|
17923
18090
|
"type": "object"
|
17924
18091
|
},
|
18092
|
+
"ModifyDDoSProtectionRequest": {
|
18093
|
+
"document": "ModifyDDoSProtection请求参数结构体",
|
18094
|
+
"members": [
|
18095
|
+
{
|
18096
|
+
"disabled": false,
|
18097
|
+
"document": "站点 ID。",
|
18098
|
+
"example": "zone-25ryyvog1qih",
|
18099
|
+
"member": "string",
|
18100
|
+
"name": "ZoneId",
|
18101
|
+
"required": true,
|
18102
|
+
"type": "string"
|
18103
|
+
},
|
18104
|
+
{
|
18105
|
+
"disabled": false,
|
18106
|
+
"document": "独立 DDoS 防护配置。",
|
18107
|
+
"example": "无",
|
18108
|
+
"member": "DDoSProtection",
|
18109
|
+
"name": "DDoSProtection",
|
18110
|
+
"required": true,
|
18111
|
+
"type": "object"
|
18112
|
+
}
|
18113
|
+
],
|
18114
|
+
"type": "object"
|
18115
|
+
},
|
18116
|
+
"ModifyDDoSProtectionResponse": {
|
18117
|
+
"document": "ModifyDDoSProtection返回参数结构体",
|
18118
|
+
"members": [
|
18119
|
+
{
|
18120
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
18121
|
+
"member": "string",
|
18122
|
+
"name": "RequestId",
|
18123
|
+
"type": "string"
|
18124
|
+
}
|
18125
|
+
],
|
18126
|
+
"type": "object"
|
18127
|
+
},
|
17925
18128
|
"ModifyDnsRecordsRequest": {
|
17926
18129
|
"document": "ModifyDnsRecords请求参数结构体",
|
17927
18130
|
"members": [
|