tccli 3.0.1176.1__py2.py3-none-any.whl → 3.0.1178.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 (38) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/antiddos/v20200309/api.json +10 -1
  3. tccli/services/ccc/v20200210/api.json +10 -0
  4. tccli/services/cdwdoris/cdwdoris_client.py +106 -0
  5. tccli/services/cdwdoris/v20211228/api.json +269 -0
  6. tccli/services/cdwdoris/v20211228/examples.json +16 -0
  7. tccli/services/cfg/v20210820/api.json +2 -2
  8. tccli/services/clb/v20180317/api.json +1 -1
  9. tccli/services/cls/v20201016/api.json +9 -0
  10. tccli/services/dcdb/v20180411/api.json +28 -1
  11. tccli/services/dnspod/v20210323/api.json +1 -0
  12. tccli/services/dsgc/v20190723/api.json +85 -9
  13. tccli/services/dsgc/v20190723/examples.json +4 -4
  14. tccli/services/essbasic/v20210526/api.json +1 -1
  15. tccli/services/faceid/v20180301/api.json +29 -1
  16. tccli/services/lke/v20231130/api.json +2 -2
  17. tccli/services/mrs/v20200910/api.json +4 -0
  18. tccli/services/mrs/v20200910/examples.json +2 -2
  19. tccli/services/ocr/v20181119/api.json +2 -2
  20. tccli/services/organization/v20210331/api.json +23 -23
  21. tccli/services/organization/v20210331/examples.json +4 -4
  22. tccli/services/redis/v20180412/api.json +85 -39
  23. tccli/services/redis/v20180412/examples.json +2 -2
  24. tccli/services/ssl/v20191205/api.json +4 -4
  25. tccli/services/tmt/v20180321/api.json +2 -2
  26. tccli/services/trtc/trtc_client.py +53 -0
  27. tccli/services/trtc/v20190722/api.json +80 -1
  28. tccli/services/trtc/v20190722/examples.json +8 -0
  29. tccli/services/tse/v20201207/api.json +58 -0
  30. tccli/services/tts/v20190823/api.json +2 -2
  31. tccli/services/vclm/v20240523/api.json +9 -0
  32. tccli/services/vod/v20180717/api.json +1 -1
  33. tccli/services/vpc/v20170312/api.json +158 -37
  34. {tccli-3.0.1176.1.dist-info → tccli-3.0.1178.1.dist-info}/METADATA +2 -2
  35. {tccli-3.0.1176.1.dist-info → tccli-3.0.1178.1.dist-info}/RECORD +38 -38
  36. {tccli-3.0.1176.1.dist-info → tccli-3.0.1178.1.dist-info}/WHEEL +0 -0
  37. {tccli-3.0.1176.1.dist-info → tccli-3.0.1178.1.dist-info}/entry_points.txt +0 -0
  38. {tccli-3.0.1176.1.dist-info → tccli-3.0.1178.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1176.1'
1
+ __version__ = '3.0.1178.1'
@@ -1851,7 +1851,7 @@
1851
1851
  },
1852
1852
  {
1853
1853
  "disabled": false,
1854
- "document": "是否是商业模式优化-普惠版\n注意:此字段可能返回 null,表示取不到有效值。",
1854
+ "document": "是否标准版2.0 0: 包含标准版2.0 1: 只查询标准版2.0 2: 不查标准版2.0\n注意:此字段可能返回 null,表示取不到有效值。",
1855
1855
  "example": "1",
1856
1856
  "member": "uint64",
1857
1857
  "name": "PlanCntFlag",
@@ -4857,6 +4857,15 @@
4857
4857
  "name": "Export",
4858
4858
  "required": false,
4859
4859
  "type": "bool"
4860
+ },
4861
+ {
4862
+ "disabled": false,
4863
+ "document": "源站,模糊查询",
4864
+ "example": "1.1.1.1:80",
4865
+ "member": "string",
4866
+ "name": "Source",
4867
+ "required": false,
4868
+ "type": "string"
4860
4869
  }
4861
4870
  ],
4862
4871
  "type": "object"
@@ -7273,6 +7273,16 @@
7273
7273
  "type": "string",
7274
7274
  "value_allowed_null": true
7275
7275
  },
7276
+ {
7277
+ "disabled": false,
7278
+ "document": "AsrUrl的状态:Complete\n已完成;\nProcessing\n正在生成中;\nNotExists\n无记录(未开启生成离线asr或者无套餐包)\n注意:此字段可能返回 null,表示取不到有效值。",
7279
+ "example": "Complete",
7280
+ "member": "string",
7281
+ "name": "AsrStatus",
7282
+ "output_required": true,
7283
+ "type": "string",
7284
+ "value_allowed_null": true
7285
+ },
7276
7286
  {
7277
7287
  "disabled": false,
7278
7288
  "document": "录音转存第三方COS地址\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -1473,6 +1473,58 @@ def doDeleteWorkloadGroup(args, parsed_globals):
1473
1473
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1474
1474
 
1475
1475
 
1476
+ def doModifyClusterConfigs(args, parsed_globals):
1477
+ g_param = parse_global_arg(parsed_globals)
1478
+
1479
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1480
+ cred = credential.CVMRoleCredential()
1481
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1482
+ cred = credential.STSAssumeRoleCredential(
1483
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1484
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1485
+ )
1486
+ 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):
1487
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1488
+ else:
1489
+ cred = credential.Credential(
1490
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1491
+ )
1492
+ http_profile = HttpProfile(
1493
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1494
+ reqMethod="POST",
1495
+ endpoint=g_param[OptionsDefine.Endpoint],
1496
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1497
+ )
1498
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1499
+ if g_param[OptionsDefine.Language]:
1500
+ profile.language = g_param[OptionsDefine.Language]
1501
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1502
+ client = mod.CdwdorisClient(cred, g_param[OptionsDefine.Region], profile)
1503
+ client._sdkVersion += ("_CLI_" + __version__)
1504
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1505
+ model = models.ModifyClusterConfigsRequest()
1506
+ model.from_json_string(json.dumps(args))
1507
+ start_time = time.time()
1508
+ while True:
1509
+ rsp = client.ModifyClusterConfigs(model)
1510
+ result = rsp.to_json_string()
1511
+ try:
1512
+ json_obj = json.loads(result)
1513
+ except TypeError as e:
1514
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1515
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1516
+ break
1517
+ cur_time = time.time()
1518
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1519
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1520
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1521
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1522
+ else:
1523
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1524
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1525
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1526
+
1527
+
1476
1528
  def doModifySecurityGroups(args, parsed_globals):
1477
1529
  g_param = parse_global_arg(parsed_globals)
1478
1530
 
@@ -1941,6 +1993,58 @@ def doModifyCoolDownPolicy(args, parsed_globals):
1941
1993
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1942
1994
 
1943
1995
 
1996
+ def doActionAlterUser(args, parsed_globals):
1997
+ g_param = parse_global_arg(parsed_globals)
1998
+
1999
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2000
+ cred = credential.CVMRoleCredential()
2001
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2002
+ cred = credential.STSAssumeRoleCredential(
2003
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2004
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2005
+ )
2006
+ 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):
2007
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2008
+ else:
2009
+ cred = credential.Credential(
2010
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2011
+ )
2012
+ http_profile = HttpProfile(
2013
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2014
+ reqMethod="POST",
2015
+ endpoint=g_param[OptionsDefine.Endpoint],
2016
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2017
+ )
2018
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2019
+ if g_param[OptionsDefine.Language]:
2020
+ profile.language = g_param[OptionsDefine.Language]
2021
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2022
+ client = mod.CdwdorisClient(cred, g_param[OptionsDefine.Region], profile)
2023
+ client._sdkVersion += ("_CLI_" + __version__)
2024
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2025
+ model = models.ActionAlterUserRequest()
2026
+ model.from_json_string(json.dumps(args))
2027
+ start_time = time.time()
2028
+ while True:
2029
+ rsp = client.ActionAlterUser(model)
2030
+ result = rsp.to_json_string()
2031
+ try:
2032
+ json_obj = json.loads(result)
2033
+ except TypeError as e:
2034
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2035
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2036
+ break
2037
+ cur_time = time.time()
2038
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2039
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2040
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2041
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2042
+ else:
2043
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2044
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2045
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2046
+
2047
+
1944
2048
  def doDescribeSqlApis(args, parsed_globals):
1945
2049
  g_param = parse_global_arg(parsed_globals)
1946
2050
 
@@ -3072,6 +3176,7 @@ ACTION_MAP = {
3072
3176
  "DescribeInstanceState": doDescribeInstanceState,
3073
3177
  "DescribeInstanceUsedSubnets": doDescribeInstanceUsedSubnets,
3074
3178
  "DeleteWorkloadGroup": doDeleteWorkloadGroup,
3179
+ "ModifyClusterConfigs": doModifyClusterConfigs,
3075
3180
  "ModifySecurityGroups": doModifySecurityGroups,
3076
3181
  "DescribeCoolDownBackends": doDescribeCoolDownBackends,
3077
3182
  "ScaleUpInstance": doScaleUpInstance,
@@ -3081,6 +3186,7 @@ ACTION_MAP = {
3081
3186
  "DescribeInstanceOperations": doDescribeInstanceOperations,
3082
3187
  "ModifyWorkloadGroupStatus": doModifyWorkloadGroupStatus,
3083
3188
  "ModifyCoolDownPolicy": doModifyCoolDownPolicy,
3189
+ "ActionAlterUser": doActionAlterUser,
3084
3190
  "DescribeSqlApis": doDescribeSqlApis,
3085
3191
  "DescribeBackUpTaskDetail": doDescribeBackUpTaskDetail,
3086
3192
  "DescribeInstance": doDescribeInstance,
@@ -1,5 +1,12 @@
1
1
  {
2
2
  "actions": {
3
+ "ActionAlterUser": {
4
+ "document": "新增和修改用户接口",
5
+ "input": "ActionAlterUserRequest",
6
+ "name": "新增、修改用户接口",
7
+ "output": "ActionAlterUserResponse",
8
+ "status": "online"
9
+ },
3
10
  "CancelBackupJob": {
4
11
  "document": "取消对应的备份实例任务",
5
12
  "input": "CancelBackupJobRequest",
@@ -273,6 +280,13 @@
273
280
  "output": "DestroyInstanceResponse",
274
281
  "status": "online"
275
282
  },
283
+ "ModifyClusterConfigs": {
284
+ "document": "在集群配置页面修改集群配置文件接口,xml模式",
285
+ "input": "ModifyClusterConfigsRequest",
286
+ "name": "修改集群配置文件",
287
+ "output": "ModifyClusterConfigsResponse",
288
+ "status": "online"
289
+ },
276
290
  "ModifyCoolDownPolicy": {
277
291
  "document": "修改冷热分层策略",
278
292
  "input": "ModifyCoolDownPolicyRequest",
@@ -414,6 +428,61 @@
414
428
  "serviceShortName": "cdwdoris"
415
429
  },
416
430
  "objects": {
431
+ "ActionAlterUserRequest": {
432
+ "document": "ActionAlterUser请求参数结构体",
433
+ "members": [
434
+ {
435
+ "disabled": false,
436
+ "document": "用户信息",
437
+ "example": "cdwch-xxxx",
438
+ "member": "UserInfo",
439
+ "name": "UserInfo",
440
+ "required": true,
441
+ "type": "object"
442
+ },
443
+ {
444
+ "disabled": false,
445
+ "document": "api接口类型",
446
+ "example": "AddSystemUser",
447
+ "member": "string",
448
+ "name": "ApiType",
449
+ "required": true,
450
+ "type": "string"
451
+ },
452
+ {
453
+ "disabled": false,
454
+ "document": "用户权限类型 0:普通用户 1:管理员",
455
+ "example": "1",
456
+ "member": "int64",
457
+ "name": "UserPrivilege",
458
+ "required": false,
459
+ "type": "int"
460
+ }
461
+ ],
462
+ "type": "object"
463
+ },
464
+ "ActionAlterUserResponse": {
465
+ "document": "ActionAlterUser返回参数结构体",
466
+ "members": [
467
+ {
468
+ "disabled": false,
469
+ "document": "错误信息\n注意:此字段可能返回 null,表示取不到有效值。",
470
+ "example": "-",
471
+ "member": "string",
472
+ "name": "ErrorMsg",
473
+ "output_required": true,
474
+ "type": "string",
475
+ "value_allowed_null": true
476
+ },
477
+ {
478
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
479
+ "member": "string",
480
+ "name": "RequestId",
481
+ "type": "string"
482
+ }
483
+ ],
484
+ "type": "object"
485
+ },
417
486
  "AttachCBSSpec": {
418
487
  "document": "集群内节点的规格磁盘规格描述",
419
488
  "members": [
@@ -1251,6 +1320,52 @@
1251
1320
  ],
1252
1321
  "usage": "out"
1253
1322
  },
1323
+ "ConfigSubmitContext": {
1324
+ "document": "配置文件修改信息",
1325
+ "members": [
1326
+ {
1327
+ "disabled": false,
1328
+ "document": "配置文件名称",
1329
+ "example": "config.xml",
1330
+ "member": "string",
1331
+ "name": "FileName",
1332
+ "required": true,
1333
+ "type": "string",
1334
+ "value_allowed_null": false
1335
+ },
1336
+ {
1337
+ "disabled": false,
1338
+ "document": "配置文件新内容,base64编码",
1339
+ "example": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHlhbmRleD4K",
1340
+ "member": "string",
1341
+ "name": "NewConfValue",
1342
+ "required": true,
1343
+ "type": "string",
1344
+ "value_allowed_null": false
1345
+ },
1346
+ {
1347
+ "disabled": false,
1348
+ "document": "配置文件旧内容,base64编码",
1349
+ "example": "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHlhbmRleD4K",
1350
+ "member": "string",
1351
+ "name": "OldConfValue",
1352
+ "required": false,
1353
+ "type": "string",
1354
+ "value_allowed_null": false
1355
+ },
1356
+ {
1357
+ "disabled": false,
1358
+ "document": "文件路径",
1359
+ "example": "/use/local/server/",
1360
+ "member": "string",
1361
+ "name": "FilePath",
1362
+ "required": false,
1363
+ "type": "string",
1364
+ "value_allowed_null": false
1365
+ }
1366
+ ],
1367
+ "usage": "in"
1368
+ },
1254
1369
  "CoolDownBackend": {
1255
1370
  "document": "冷热分层backend节点信息",
1256
1371
  "members": [
@@ -5073,6 +5188,26 @@
5073
5188
  "output_required": false,
5074
5189
  "type": "object",
5075
5190
  "value_allowed_null": true
5191
+ },
5192
+ {
5193
+ "disabled": false,
5194
+ "document": "是否启用DLC 0:关闭 1:开启\n注意:此字段可能返回 null,表示取不到有效值。",
5195
+ "example": "0",
5196
+ "member": "int64",
5197
+ "name": "EnableDlc",
5198
+ "output_required": false,
5199
+ "type": "int",
5200
+ "value_allowed_null": true
5201
+ },
5202
+ {
5203
+ "disabled": false,
5204
+ "document": "账户类型 0:普通用户 1:CAM用户\n注意:此字段可能返回 null,表示取不到有效值。",
5205
+ "example": "0",
5206
+ "member": "int64",
5207
+ "name": "AccountType",
5208
+ "output_required": false,
5209
+ "type": "int",
5210
+ "value_allowed_null": true
5076
5211
  }
5077
5212
  ],
5078
5213
  "usage": "out"
@@ -5309,6 +5444,71 @@
5309
5444
  ],
5310
5445
  "usage": "out"
5311
5446
  },
5447
+ "ModifyClusterConfigsRequest": {
5448
+ "document": "ModifyClusterConfigs请求参数结构体",
5449
+ "members": [
5450
+ {
5451
+ "disabled": false,
5452
+ "document": "集群ID,例如cdwch-xxxx",
5453
+ "example": "cdwch-xxxx",
5454
+ "member": "string",
5455
+ "name": "InstanceId",
5456
+ "required": true,
5457
+ "type": "string"
5458
+ },
5459
+ {
5460
+ "disabled": false,
5461
+ "document": "配置文件修改信息",
5462
+ "example": "无",
5463
+ "member": "ConfigSubmitContext",
5464
+ "name": "ModifyConfContext",
5465
+ "required": true,
5466
+ "type": "list"
5467
+ },
5468
+ {
5469
+ "disabled": false,
5470
+ "document": "修改原因",
5471
+ "example": "为了性能提升",
5472
+ "member": "string",
5473
+ "name": "Remark",
5474
+ "required": false,
5475
+ "type": "string"
5476
+ }
5477
+ ],
5478
+ "type": "object"
5479
+ },
5480
+ "ModifyClusterConfigsResponse": {
5481
+ "document": "ModifyClusterConfigs返回参数结构体",
5482
+ "members": [
5483
+ {
5484
+ "disabled": false,
5485
+ "document": "流程相关信息",
5486
+ "example": "-",
5487
+ "member": "int64",
5488
+ "name": "FlowId",
5489
+ "output_required": true,
5490
+ "type": "int",
5491
+ "value_allowed_null": false
5492
+ },
5493
+ {
5494
+ "disabled": false,
5495
+ "document": "错误信息",
5496
+ "example": "-",
5497
+ "member": "string",
5498
+ "name": "ErrorMsg",
5499
+ "output_required": true,
5500
+ "type": "string",
5501
+ "value_allowed_null": false
5502
+ },
5503
+ {
5504
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
5505
+ "member": "string",
5506
+ "name": "RequestId",
5507
+ "type": "string"
5508
+ }
5509
+ ],
5510
+ "type": "object"
5511
+ },
5312
5512
  "ModifyCoolDownPolicyRequest": {
5313
5513
  "document": "ModifyCoolDownPolicy请求参数结构体",
5314
5514
  "members": [
@@ -7686,6 +7886,75 @@
7686
7886
  ],
7687
7887
  "usage": "in"
7688
7888
  },
7889
+ "UserInfo": {
7890
+ "document": "新增或是修改用户",
7891
+ "members": [
7892
+ {
7893
+ "disabled": false,
7894
+ "document": "集群实例id",
7895
+ "example": "cdwch-xxxx",
7896
+ "member": "string",
7897
+ "name": "InstanceId",
7898
+ "required": true,
7899
+ "type": "string"
7900
+ },
7901
+ {
7902
+ "disabled": false,
7903
+ "document": "用户名",
7904
+ "example": "test",
7905
+ "member": "string",
7906
+ "name": "UserName",
7907
+ "required": true,
7908
+ "type": "string"
7909
+ },
7910
+ {
7911
+ "disabled": false,
7912
+ "document": "密码",
7913
+ "example": "password",
7914
+ "member": "string",
7915
+ "name": "PassWord",
7916
+ "required": true,
7917
+ "type": "string"
7918
+ },
7919
+ {
7920
+ "disabled": false,
7921
+ "document": "用户链接来自的 IP",
7922
+ "example": "10.0.2.123",
7923
+ "member": "string",
7924
+ "name": "WhiteHost",
7925
+ "required": false,
7926
+ "type": "string"
7927
+ },
7928
+ {
7929
+ "disabled": false,
7930
+ "document": "修改前用户链接来自的 IP",
7931
+ "example": "10.0.2.1",
7932
+ "member": "string",
7933
+ "name": "OldWhiteHost",
7934
+ "required": false,
7935
+ "type": "string"
7936
+ },
7937
+ {
7938
+ "disabled": false,
7939
+ "document": "描述",
7940
+ "example": "描述",
7941
+ "member": "string",
7942
+ "name": "Describe",
7943
+ "required": false,
7944
+ "type": "string"
7945
+ },
7946
+ {
7947
+ "disabled": false,
7948
+ "document": "旧密码",
7949
+ "example": "pwd—***",
7950
+ "member": "string",
7951
+ "name": "OldPwd",
7952
+ "required": false,
7953
+ "type": "string"
7954
+ }
7955
+ ],
7956
+ "usage": "in"
7957
+ },
7689
7958
  "UserWorkloadGroup": {
7690
7959
  "document": "用户绑定资源组信息",
7691
7960
  "members": [
@@ -1,5 +1,13 @@
1
1
  {
2
2
  "actions": {
3
+ "ActionAlterUser": [
4
+ {
5
+ "document": "",
6
+ "input": "POST / HTTP/1.1\nHost: cdwdoris.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ActionAlterUser\n<公共请求参数>\n\n{\n \"UserInfo\": {\n \"InstanceId\": \"abc\",\n \"UserName\": \"abc\",\n \"PassWord\": \"abc\",\n \"WhiteHost\": \"abc\",\n \"OldWhiteHost\": \"abc\",\n \"Describe\": \"abc\",\n \"OldPwd\": \"abc\"\n },\n \"ApiType\": \"abc\",\n \"UserPrivilege\": 0\n}",
7
+ "output": "{\n \"Response\": {\n \"ErrorMsg\": \"abc\",\n \"RequestId\": \"abc\"\n }\n}",
8
+ "title": "新增、修改ck集群用户"
9
+ }
10
+ ],
3
11
  "CancelBackupJob": [
4
12
  {
5
13
  "document": "",
@@ -318,6 +326,14 @@
318
326
  "title": "集群销毁示例"
319
327
  }
320
328
  ],
329
+ "ModifyClusterConfigs": [
330
+ {
331
+ "document": "在集群配置页面修改集群配置文件接口,xml模式",
332
+ "input": "https://cdwdoris.tencentcloudapi.com/\n?Action=ModifyClusterConfigs\n&InstanceId=cdwch-xxxx\n&ModifyConfContext.0.FileName=xxxx\n&ModifyConfContext.0.OldConfValue=xxxxx\n&ModifyConfContext.0.NewConfValue=xxxx\n&Remark=xxxxx\n&<公共请求参数>",
333
+ "output": "{\n \"Response\": {\n \"RequestId\": \"xxx-xxx\",\n \"FlowId\": 0,\n \"ErrorMsg\": \"\"\n }\n}",
334
+ "title": "修改集群配置文件接口"
335
+ }
336
+ ],
321
337
  "ModifyCoolDownPolicy": [
322
338
  {
323
339
  "document": "",
@@ -383,7 +383,7 @@
383
383
  },
384
384
  {
385
385
  "disabled": false,
386
- "document": "动作类型( 0 -- tat 1 -- 云API)",
386
+ "document": "动作类型(0 -- tat 1 -- 云API)",
387
387
  "example": "1",
388
388
  "member": "uint64",
389
389
  "name": "ActionCommandType",
@@ -394,7 +394,7 @@
394
394
  {
395
395
  "disabled": false,
396
396
  "document": "自定义动作的参数,json string",
397
- "example": "{\"Command\": \"ff\", \"CommandParameters\": \"{}\", \"CommandType\": \"she",
397
+ "example": "{\"Command\": \"ff\", \"CommandParameters\": \"{}\", \"CommandType\": \"shell\"}",
398
398
  "member": "string",
399
399
  "name": "ActionContent",
400
400
  "output_required": true,
@@ -2742,7 +2742,7 @@
2742
2742
  },
2743
2743
  {
2744
2744
  "disabled": false,
2745
- "document": "空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300~900,性能容量型实例支持:300~2000。如需设置请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)。",
2745
+ "document": "空闲连接超时时间,此参数仅适用于TCP监听器,单位:秒。取值范围:共享型实例和独占型实例支持:300-900,性能容量型实例支持:300-2000。如需设置请通过 [工单申请](https://console.cloud.tencent.com/workorder/category)。",
2746
2746
  "example": "900",
2747
2747
  "member": "int64",
2748
2748
  "name": "IdleConnectTimeout",
@@ -4175,6 +4175,15 @@
4175
4175
  "name": "PreviewLogStatistics",
4176
4176
  "required": false,
4177
4177
  "type": "list"
4178
+ },
4179
+ {
4180
+ "disabled": false,
4181
+ "document": "数据加工类型。0:标准加工任务; 1:前置加工任务。前置加工任务将采集的日志处理完成后,再写入日志主题。",
4182
+ "example": "0",
4183
+ "member": "uint64",
4184
+ "name": "DataTransformType",
4185
+ "required": false,
4186
+ "type": "int"
4178
4187
  }
4179
4188
  ],
4180
4189
  "type": "object"
@@ -9325,6 +9325,33 @@
9325
9325
  "name": "Zones",
9326
9326
  "required": false,
9327
9327
  "type": "list"
9328
+ },
9329
+ {
9330
+ "disabled": false,
9331
+ "document": "切换开始时间,格式如: \"2019-12-12 07:00:00\"。开始时间必须在当前时间一个小时以后,3天以内。",
9332
+ "example": "2019-12-12 07:00:00",
9333
+ "member": "string",
9334
+ "name": "SwitchStartTime",
9335
+ "required": false,
9336
+ "type": "string"
9337
+ },
9338
+ {
9339
+ "disabled": false,
9340
+ "document": "切换结束时间, 格式如: \"2019-12-12 07:15:00\",结束时间必须大于开始时间。",
9341
+ "example": "2019-12-12 07:15:00",
9342
+ "member": "string",
9343
+ "name": "SwitchEndTime",
9344
+ "required": false,
9345
+ "type": "string"
9346
+ },
9347
+ {
9348
+ "disabled": false,
9349
+ "document": "是否自动重试。 0:不自动重试 1:自动重试",
9350
+ "example": "1",
9351
+ "member": "int64",
9352
+ "name": "SwitchAutoRetry",
9353
+ "required": false,
9354
+ "type": "int"
9328
9355
  }
9329
9356
  ],
9330
9357
  "type": "object"
@@ -9338,7 +9365,7 @@
9338
9365
  "example": "20180103110035",
9339
9366
  "member": "string",
9340
9367
  "name": "DealName",
9341
- "required": true,
9368
+ "output_required": true,
9342
9369
  "type": "string",
9343
9370
  "value_allowed_null": false
9344
9371
  },
@@ -7202,6 +7202,7 @@
7202
7202
  "example": "161",
7203
7203
  "member": "uint64",
7204
7204
  "name": "RecordId",
7205
+ "output_required": true,
7205
7206
  "type": "int",
7206
7207
  "value_allowed_null": false
7207
7208
  },