tccli 3.0.1252.1__py2.py3-none-any.whl → 3.0.1254.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.
Files changed (49) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +298 -300
  3. tccli/services/apm/v20210622/examples.json +4 -4
  4. tccli/services/autoscaling/v20180419/api.json +72 -0
  5. tccli/services/ca/v20230228/api.json +16 -16
  6. tccli/services/cat/v20180409/api.json +4 -4
  7. tccli/services/cdwdoris/v20211228/api.json +441 -408
  8. tccli/services/cdwdoris/v20211228/examples.json +53 -35
  9. tccli/services/clb/v20180317/api.json +88 -6
  10. tccli/services/clb/v20180317/examples.json +4 -4
  11. tccli/services/cvm/cvm_client.py +121 -68
  12. tccli/services/cvm/v20170312/api.json +55 -3
  13. tccli/services/cvm/v20170312/examples.json +8 -0
  14. tccli/services/dc/v20180410/api.json +21 -2
  15. tccli/services/dc/v20180410/examples.json +2 -2
  16. tccli/services/dcdb/v20180411/api.json +1 -1
  17. tccli/services/dcdb/v20180411/examples.json +1 -1
  18. tccli/services/dlc/v20210125/api.json +53 -4
  19. tccli/services/emr/v20190103/api.json +161 -141
  20. tccli/services/ess/v20201111/api.json +6 -6
  21. tccli/services/ess/v20201111/examples.json +9 -9
  22. tccli/services/essbasic/v20210526/api.json +7 -7
  23. tccli/services/hunyuan/v20230901/api.json +27 -7
  24. tccli/services/hunyuan/v20230901/examples.json +1 -1
  25. tccli/services/lcic/v20220817/api.json +4 -4
  26. tccli/services/lke/v20231130/api.json +16 -7
  27. tccli/services/lkeap/v20240522/api.json +2 -2
  28. tccli/services/mariadb/v20170312/api.json +1 -1
  29. tccli/services/mariadb/v20170312/examples.json +1 -1
  30. tccli/services/mna/v20210119/api.json +36 -36
  31. tccli/services/monitor/v20180724/api.json +32 -32
  32. tccli/services/mps/v20190612/api.json +4 -4
  33. tccli/services/ocr/v20181119/api.json +28 -0
  34. tccli/services/ssl/v20191205/api.json +9 -0
  35. tccli/services/tchd/v20230306/api.json +3 -3
  36. tccli/services/teo/v20220901/api.json +26 -14
  37. tccli/services/tiw/v20190919/api.json +1 -1
  38. tccli/services/vod/v20180717/api.json +3 -3
  39. tccli/services/vpc/v20170312/api.json +39 -36366
  40. tccli/services/vpc/v20170312/examples.json +5 -3513
  41. tccli/services/vpc/vpc_client.py +4 -20462
  42. tccli/services/wedata/v20210820/api.json +437 -8
  43. tccli/services/wedata/v20210820/examples.json +10 -2
  44. tccli/services/wedata/wedata_client.py +57 -4
  45. {tccli-3.0.1252.1.dist-info → tccli-3.0.1254.1.dist-info}/METADATA +2 -2
  46. {tccli-3.0.1252.1.dist-info → tccli-3.0.1254.1.dist-info}/RECORD +49 -49
  47. {tccli-3.0.1252.1.dist-info → tccli-3.0.1254.1.dist-info}/WHEEL +0 -0
  48. {tccli-3.0.1252.1.dist-info → tccli-3.0.1254.1.dist-info}/entry_points.txt +0 -0
  49. {tccli-3.0.1252.1.dist-info → tccli-3.0.1254.1.dist-info}/license_files/LICENSE +0 -0
@@ -693,7 +693,7 @@ def doResetInstancesType(args, parsed_globals):
693
693
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
694
694
 
695
695
 
696
- def doDescribeInstanceFamilyConfigs(args, parsed_globals):
696
+ def doDescribeInstanceVncUrl(args, parsed_globals):
697
697
  g_param = parse_global_arg(parsed_globals)
698
698
 
699
699
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -722,11 +722,11 @@ def doDescribeInstanceFamilyConfigs(args, parsed_globals):
722
722
  client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
723
723
  client._sdkVersion += ("_CLI_" + __version__)
724
724
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
725
- model = models.DescribeInstanceFamilyConfigsRequest()
725
+ model = models.DescribeInstanceVncUrlRequest()
726
726
  model.from_json_string(json.dumps(args))
727
727
  start_time = time.time()
728
728
  while True:
729
- rsp = client.DescribeInstanceFamilyConfigs(model)
729
+ rsp = client.DescribeInstanceVncUrl(model)
730
730
  result = rsp.to_json_string()
731
731
  try:
732
732
  json_obj = json.loads(result)
@@ -1213,6 +1213,58 @@ def doDescribeImageSharePermission(args, parsed_globals):
1213
1213
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1214
1214
 
1215
1215
 
1216
+ def doDescribeRegions(args, parsed_globals):
1217
+ g_param = parse_global_arg(parsed_globals)
1218
+
1219
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1220
+ cred = credential.CVMRoleCredential()
1221
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1222
+ cred = credential.STSAssumeRoleCredential(
1223
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1224
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1225
+ )
1226
+ 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):
1227
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1228
+ else:
1229
+ cred = credential.Credential(
1230
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1231
+ )
1232
+ http_profile = HttpProfile(
1233
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1234
+ reqMethod="POST",
1235
+ endpoint=g_param[OptionsDefine.Endpoint],
1236
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1237
+ )
1238
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1239
+ if g_param[OptionsDefine.Language]:
1240
+ profile.language = g_param[OptionsDefine.Language]
1241
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1242
+ client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
1243
+ client._sdkVersion += ("_CLI_" + __version__)
1244
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1245
+ model = models.DescribeRegionsRequest()
1246
+ model.from_json_string(json.dumps(args))
1247
+ start_time = time.time()
1248
+ while True:
1249
+ rsp = client.DescribeRegions(model)
1250
+ result = rsp.to_json_string()
1251
+ try:
1252
+ json_obj = json.loads(result)
1253
+ except TypeError as e:
1254
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1255
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1256
+ break
1257
+ cur_time = time.time()
1258
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1259
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1260
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1261
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1262
+ else:
1263
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1264
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1265
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1266
+
1267
+
1216
1268
  def doDescribeInstancesModification(args, parsed_globals):
1217
1269
  g_param = parse_global_arg(parsed_globals)
1218
1270
 
@@ -1681,7 +1733,7 @@ def doDescribeInstancesOperationLimit(args, parsed_globals):
1681
1733
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1682
1734
 
1683
1735
 
1684
- def doStopInstances(args, parsed_globals):
1736
+ def doDeleteLaunchTemplateVersions(args, parsed_globals):
1685
1737
  g_param = parse_global_arg(parsed_globals)
1686
1738
 
1687
1739
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1710,11 +1762,11 @@ def doStopInstances(args, parsed_globals):
1710
1762
  client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
1711
1763
  client._sdkVersion += ("_CLI_" + __version__)
1712
1764
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1713
- model = models.StopInstancesRequest()
1765
+ model = models.DeleteLaunchTemplateVersionsRequest()
1714
1766
  model.from_json_string(json.dumps(args))
1715
1767
  start_time = time.time()
1716
1768
  while True:
1717
- rsp = client.StopInstances(model)
1769
+ rsp = client.DeleteLaunchTemplateVersions(model)
1718
1770
  result = rsp.to_json_string()
1719
1771
  try:
1720
1772
  json_obj = json.loads(result)
@@ -1733,7 +1785,7 @@ def doStopInstances(args, parsed_globals):
1733
1785
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1734
1786
 
1735
1787
 
1736
- def doDescribeRegions(args, parsed_globals):
1788
+ def doStopInstances(args, parsed_globals):
1737
1789
  g_param = parse_global_arg(parsed_globals)
1738
1790
 
1739
1791
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1762,11 +1814,11 @@ def doDescribeRegions(args, parsed_globals):
1762
1814
  client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
1763
1815
  client._sdkVersion += ("_CLI_" + __version__)
1764
1816
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1765
- model = models.DescribeRegionsRequest()
1817
+ model = models.StopInstancesRequest()
1766
1818
  model.from_json_string(json.dumps(args))
1767
1819
  start_time = time.time()
1768
1820
  while True:
1769
- rsp = client.DescribeRegions(model)
1821
+ rsp = client.StopInstances(model)
1770
1822
  result = rsp.to_json_string()
1771
1823
  try:
1772
1824
  json_obj = json.loads(result)
@@ -2409,6 +2461,58 @@ def doModifyLaunchTemplateDefaultVersion(args, parsed_globals):
2409
2461
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2410
2462
 
2411
2463
 
2464
+ def doModifyInstancesDisasterRecoverGroup(args, parsed_globals):
2465
+ g_param = parse_global_arg(parsed_globals)
2466
+
2467
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2468
+ cred = credential.CVMRoleCredential()
2469
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2470
+ cred = credential.STSAssumeRoleCredential(
2471
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2472
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2473
+ )
2474
+ 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):
2475
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2476
+ else:
2477
+ cred = credential.Credential(
2478
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2479
+ )
2480
+ http_profile = HttpProfile(
2481
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2482
+ reqMethod="POST",
2483
+ endpoint=g_param[OptionsDefine.Endpoint],
2484
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2485
+ )
2486
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2487
+ if g_param[OptionsDefine.Language]:
2488
+ profile.language = g_param[OptionsDefine.Language]
2489
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2490
+ client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
2491
+ client._sdkVersion += ("_CLI_" + __version__)
2492
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2493
+ model = models.ModifyInstancesDisasterRecoverGroupRequest()
2494
+ model.from_json_string(json.dumps(args))
2495
+ start_time = time.time()
2496
+ while True:
2497
+ rsp = client.ModifyInstancesDisasterRecoverGroup(model)
2498
+ result = rsp.to_json_string()
2499
+ try:
2500
+ json_obj = json.loads(result)
2501
+ except TypeError as e:
2502
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2503
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2504
+ break
2505
+ cur_time = time.time()
2506
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2507
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2508
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2509
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2510
+ else:
2511
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2512
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2513
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2514
+
2515
+
2412
2516
  def doExitRescueMode(args, parsed_globals):
2413
2517
  g_param = parse_global_arg(parsed_globals)
2414
2518
 
@@ -3137,7 +3241,7 @@ def doRemoveChcAssistVpc(args, parsed_globals):
3137
3241
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3138
3242
 
3139
3243
 
3140
- def doDescribeInstanceVncUrl(args, parsed_globals):
3244
+ def doDescribeInstanceFamilyConfigs(args, parsed_globals):
3141
3245
  g_param = parse_global_arg(parsed_globals)
3142
3246
 
3143
3247
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3166,11 +3270,11 @@ def doDescribeInstanceVncUrl(args, parsed_globals):
3166
3270
  client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
3167
3271
  client._sdkVersion += ("_CLI_" + __version__)
3168
3272
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3169
- model = models.DescribeInstanceVncUrlRequest()
3273
+ model = models.DescribeInstanceFamilyConfigsRequest()
3170
3274
  model.from_json_string(json.dumps(args))
3171
3275
  start_time = time.time()
3172
3276
  while True:
3173
- rsp = client.DescribeInstanceVncUrl(model)
3277
+ rsp = client.DescribeInstanceFamilyConfigs(model)
3174
3278
  result = rsp.to_json_string()
3175
3279
  try:
3176
3280
  json_obj = json.loads(result)
@@ -4073,58 +4177,6 @@ def doDeleteImages(args, parsed_globals):
4073
4177
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4074
4178
 
4075
4179
 
4076
- def doDeleteLaunchTemplateVersions(args, parsed_globals):
4077
- g_param = parse_global_arg(parsed_globals)
4078
-
4079
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4080
- cred = credential.CVMRoleCredential()
4081
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4082
- cred = credential.STSAssumeRoleCredential(
4083
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4084
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4085
- )
4086
- 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):
4087
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4088
- else:
4089
- cred = credential.Credential(
4090
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4091
- )
4092
- http_profile = HttpProfile(
4093
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4094
- reqMethod="POST",
4095
- endpoint=g_param[OptionsDefine.Endpoint],
4096
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4097
- )
4098
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4099
- if g_param[OptionsDefine.Language]:
4100
- profile.language = g_param[OptionsDefine.Language]
4101
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4102
- client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
4103
- client._sdkVersion += ("_CLI_" + __version__)
4104
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
4105
- model = models.DeleteLaunchTemplateVersionsRequest()
4106
- model.from_json_string(json.dumps(args))
4107
- start_time = time.time()
4108
- while True:
4109
- rsp = client.DeleteLaunchTemplateVersions(model)
4110
- result = rsp.to_json_string()
4111
- try:
4112
- json_obj = json.loads(result)
4113
- except TypeError as e:
4114
- json_obj = json.loads(result.decode('utf-8')) # python3.3
4115
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4116
- break
4117
- cur_time = time.time()
4118
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4119
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4120
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4121
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4122
- else:
4123
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4124
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4125
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4126
-
4127
-
4128
4180
  def doResetInstancesPassword(args, parsed_globals):
4129
4181
  g_param = parse_global_arg(parsed_globals)
4130
4182
 
@@ -5033,7 +5085,7 @@ ACTION_MAP = {
5033
5085
  "CreateImage": doCreateImage,
5034
5086
  "ConfigureChcAssistVpc": doConfigureChcAssistVpc,
5035
5087
  "ResetInstancesType": doResetInstancesType,
5036
- "DescribeInstanceFamilyConfigs": doDescribeInstanceFamilyConfigs,
5088
+ "DescribeInstanceVncUrl": doDescribeInstanceVncUrl,
5037
5089
  "SyncImages": doSyncImages,
5038
5090
  "ImportImage": doImportImage,
5039
5091
  "DescribeZoneInstanceConfigInfos": doDescribeZoneInstanceConfigInfos,
@@ -5043,6 +5095,7 @@ ACTION_MAP = {
5043
5095
  "DisassociateSecurityGroups": doDisassociateSecurityGroups,
5044
5096
  "RemoveChcDeployVpc": doRemoveChcDeployVpc,
5045
5097
  "DescribeImageSharePermission": doDescribeImageSharePermission,
5098
+ "DescribeRegions": doDescribeRegions,
5046
5099
  "DescribeInstancesModification": doDescribeInstancesModification,
5047
5100
  "CreateKeyPair": doCreateKeyPair,
5048
5101
  "AssociateInstancesKeyPairs": doAssociateInstancesKeyPairs,
@@ -5052,8 +5105,8 @@ ACTION_MAP = {
5052
5105
  "ModifyDisasterRecoverGroupAttribute": doModifyDisasterRecoverGroupAttribute,
5053
5106
  "DescribeHpcClusters": doDescribeHpcClusters,
5054
5107
  "DescribeInstancesOperationLimit": doDescribeInstancesOperationLimit,
5108
+ "DeleteLaunchTemplateVersions": doDeleteLaunchTemplateVersions,
5055
5109
  "StopInstances": doStopInstances,
5056
- "DescribeRegions": doDescribeRegions,
5057
5110
  "DescribeImportImageOs": doDescribeImportImageOs,
5058
5111
  "DeleteHpcClusters": doDeleteHpcClusters,
5059
5112
  "InquiryPriceRenewInstances": doInquiryPriceRenewInstances,
@@ -5066,6 +5119,7 @@ ACTION_MAP = {
5066
5119
  "ModifyImageSharePermission": doModifyImageSharePermission,
5067
5120
  "ImportInstancesActionTimer": doImportInstancesActionTimer,
5068
5121
  "ModifyLaunchTemplateDefaultVersion": doModifyLaunchTemplateDefaultVersion,
5122
+ "ModifyInstancesDisasterRecoverGroup": doModifyInstancesDisasterRecoverGroup,
5069
5123
  "ExitRescueMode": doExitRescueMode,
5070
5124
  "DescribeInstancesActionTimer": doDescribeInstancesActionTimer,
5071
5125
  "InquiryPriceResizeInstanceDisks": doInquiryPriceResizeInstanceDisks,
@@ -5080,7 +5134,7 @@ ACTION_MAP = {
5080
5134
  "DeleteDisasterRecoverGroups": doDeleteDisasterRecoverGroups,
5081
5135
  "TerminateInstances": doTerminateInstances,
5082
5136
  "RemoveChcAssistVpc": doRemoveChcAssistVpc,
5083
- "DescribeInstanceVncUrl": doDescribeInstanceVncUrl,
5137
+ "DescribeInstanceFamilyConfigs": doDescribeInstanceFamilyConfigs,
5084
5138
  "ModifyInstancesProject": doModifyInstancesProject,
5085
5139
  "DescribeKeyPairs": doDescribeKeyPairs,
5086
5140
  "InquiryPriceModifyInstancesChargeType": doInquiryPriceModifyInstancesChargeType,
@@ -5098,7 +5152,6 @@ ACTION_MAP = {
5098
5152
  "DescribeInstanceInternetBandwidthConfigs": doDescribeInstanceInternetBandwidthConfigs,
5099
5153
  "InquiryPriceTerminateInstances": doInquiryPriceTerminateInstances,
5100
5154
  "DeleteImages": doDeleteImages,
5101
- "DeleteLaunchTemplateVersions": doDeleteLaunchTemplateVersions,
5102
5155
  "ResetInstancesPassword": doResetInstancesPassword,
5103
5156
  "ResizeInstanceDisks": doResizeInstanceDisks,
5104
5157
  "DescribeZones": doDescribeZones,
@@ -518,6 +518,13 @@
518
518
  "output": "ModifyInstancesChargeTypeResponse",
519
519
  "status": "online"
520
520
  },
521
+ "ModifyInstancesDisasterRecoverGroup": {
522
+ "document": "本接口 (ModifyInstancesDisasterRecoverGroup) 用于调整实例所在置放群组。\n* 目前只支持基础网络或私有网络实例。",
523
+ "input": "ModifyInstancesDisasterRecoverGroupRequest",
524
+ "name": "调整实例分散置放群组",
525
+ "output": "ModifyInstancesDisasterRecoverGroupResponse",
526
+ "status": "online"
527
+ },
521
528
  "ModifyInstancesProject": {
522
529
  "document": "本接口 (ModifyInstancesProject) 用于修改实例所属项目。\n\n* 项目为一个虚拟概念,用户可以在一个账户下面建立多个项目,每个项目中管理不同的资源;将多个不同实例分属到不同项目中,后续使用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口查询实例,项目ID可用于过滤结果。\n* 绑定负载均衡的实例不支持修改实例所属项目,请先使用[DeregisterInstancesFromLoadBalancer](https://cloud.tencent.com/document/api/214/1258)接口解绑负载均衡。\n* 支持批量操作。每次请求批量实例的上限为100。\n* 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。",
523
530
  "input": "ModifyInstancesProjectRequest",
@@ -2750,8 +2757,8 @@
2750
2757
  "members": [
2751
2758
  {
2752
2759
  "disabled": false,
2753
- "document": "分散置放群组ID列表,可通过[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。每次请求允许操作的分散置放群组数量上限是100。",
2754
- "example": "[\"ps-58l1hu01\\r\\n\"]",
2760
+ "document": "分散置放群组ID列表,可通过[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。每次请求允许操作的分散置放群组数量上限是10。",
2761
+ "example": "[\"ps-58l1hu01\"]",
2755
2762
  "member": "string",
2756
2763
  "name": "DisasterRecoverGroupIds",
2757
2764
  "required": true,
@@ -3186,7 +3193,7 @@
3186
3193
  "members": [
3187
3194
  {
3188
3195
  "disabled": false,
3189
- "document": "分散置放群组ID列表。每次请求允许操作的分散置放群组数量上限是100。",
3196
+ "document": "分散置放群组ID列表。每次请求允许操作的分散置放群组数量上限是10。",
3190
3197
  "example": "ps-21q9ibvr",
3191
3198
  "member": "string",
3192
3199
  "name": "DisasterRecoverGroupIds",
@@ -9080,6 +9087,51 @@
9080
9087
  ],
9081
9088
  "type": "object"
9082
9089
  },
9090
+ "ModifyInstancesDisasterRecoverGroupRequest": {
9091
+ "document": "ModifyInstancesDisasterRecoverGroup请求参数结构体",
9092
+ "members": [
9093
+ {
9094
+ "disabled": false,
9095
+ "document": "一个或多个待操作的实例ID。可通过[`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为1",
9096
+ "example": "[\"ins-r8hr2upy\"]",
9097
+ "member": "string",
9098
+ "name": "InstanceIds",
9099
+ "required": true,
9100
+ "type": "list"
9101
+ },
9102
+ {
9103
+ "disabled": false,
9104
+ "document": "分散置放群组ID,可使用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取",
9105
+ "example": "ps-a66w6rlb",
9106
+ "member": "string",
9107
+ "name": "DisasterRecoverGroupId",
9108
+ "required": false,
9109
+ "type": "string"
9110
+ },
9111
+ {
9112
+ "disabled": false,
9113
+ "document": "是否强制更换实例宿主机。取值范围:<br><li>true:表示允许实例更换宿主机,允许重启实例。本地盘子机不支持指定此参数。</li><br><li>false:不允许实例更换宿主机,只在当前宿主机上加入置放群组。这可能导致更换置放群组失败。</li><br><br>默认取值:false",
9114
+ "example": "false",
9115
+ "member": "bool",
9116
+ "name": "Force",
9117
+ "required": false,
9118
+ "type": "bool"
9119
+ }
9120
+ ],
9121
+ "type": "object"
9122
+ },
9123
+ "ModifyInstancesDisasterRecoverGroupResponse": {
9124
+ "document": "ModifyInstancesDisasterRecoverGroup返回参数结构体",
9125
+ "members": [
9126
+ {
9127
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
9128
+ "member": "string",
9129
+ "name": "RequestId",
9130
+ "type": "string"
9131
+ }
9132
+ ],
9133
+ "type": "object"
9134
+ },
9083
9135
  "ModifyInstancesProjectRequest": {
9084
9136
  "document": "ModifyInstancesProject请求参数结构体",
9085
9137
  "members": [
@@ -640,6 +640,14 @@
640
640
  "title": "本示例将实例计费模式切换为预付费模式,且时长为1个月。"
641
641
  }
642
642
  ],
643
+ "ModifyInstancesDisasterRecoverGroup": [
644
+ {
645
+ "document": "调整实例所在置放群组",
646
+ "input": "https://cvm.tencentcloudapi.com/?Action=ModifyInstancesDisasterRecoverGroup\n&InstanceIds.0=ins-r8hr2upy\n&DisasterRecoverGroupId=ps-a66w6rlb\n&<公共请求参数>",
647
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d39d6c09-44e9-4e80-8661-77b5ff3cbc15\"\n }\n}",
648
+ "title": "调整实例所在置放群组"
649
+ }
650
+ ],
643
651
  "ModifyInstancesProject": [
644
652
  {
645
653
  "document": "本示例用于修改两个实例所属的项目为指定的项目。",
@@ -558,13 +558,13 @@
558
558
  },
559
559
  {
560
560
  "disabled": false,
561
- "document": "敏捷上云建设完成的时间\n注意:此字段可能返回 null,表示取不到有效值。",
561
+ "document": "敏捷上云建设完成的时间",
562
562
  "example": "2020-01-12 12:12:23",
563
563
  "member": "datetime",
564
564
  "name": "ReadyTime",
565
565
  "output_required": true,
566
566
  "type": "string",
567
- "value_allowed_null": true
567
+ "value_allowed_null": false
568
568
  },
569
569
  {
570
570
  "disabled": false,
@@ -655,6 +655,16 @@
655
655
  "output_required": true,
656
656
  "type": "bool",
657
657
  "value_allowed_null": false
658
+ },
659
+ {
660
+ "disabled": false,
661
+ "document": "接入地域",
662
+ "example": "gz",
663
+ "member": "string",
664
+ "name": "ArRegion",
665
+ "output_required": false,
666
+ "type": "string",
667
+ "value_allowed_null": false
658
668
  }
659
669
  ],
660
670
  "usage": "out"
@@ -741,6 +751,15 @@
741
751
  "name": "Remarks",
742
752
  "required": true,
743
753
  "type": "string"
754
+ },
755
+ {
756
+ "disabled": false,
757
+ "document": "接入地域",
758
+ "example": "gz",
759
+ "member": "string",
760
+ "name": "ArRegion",
761
+ "required": false,
762
+ "type": "string"
744
763
  }
745
764
  ],
746
765
  "usage": "in"
@@ -25,8 +25,8 @@
25
25
  "CreateCloudAttachService": [
26
26
  {
27
27
  "document": "创建敏捷上云服务",
28
- "input": "https://dc.tencentcloudapi.com/?Action=CreateCloudAttachService\n&Data.Name=test\n&Data.IdcAddress=北京东城区IDC地址\n&Data.IdcType=CUCC\n&Data.Bandwidth=100\n&Data.Telephone=18888888888\n&Data.Remarks=字符串\n&<公共请求参数>",
29
- "output": "{\n \"Response\": {\n \"CloudAttach\": {\n \"Uin\": \"100001332514\",\n \"CustomerAuthName\": \"网测技术\",\n \"InstanceId\": \"cas-3vocyz07\",\n \"Name\": \"test\",\n \"AppId\": \"1254277469\",\n \"IapId\": \"\",\n \"IdcAddress\": \"北京东城区IDC地址\",\n \"IdcType\": \"CUCC\",\n \"DirectConnectId\": \"\",\n \"CloudAttachServiceGatewaysSupport\": false,\n \"BUpdateBandwidth\": false,\n \"Bandwidth\": 100,\n \"RegionStatus\": \"same-region\",\n \"Status\": \"applying\",\n \"ApplyTime\": \"2024-10-14 13:04:33\",\n \"ReadyTime\": null,\n \"ExpireTime\": \"2038-01-08 23:59:59\",\n \"Telephone\": \"18888888888\",\n \"Remarks\": \"6个月,其他\"\n },\n \"RequestId\": \"4fb676d2-3100-4018-aa07-73008eaa135d\"\n }\n}",
28
+ "input": "https://dc.tencentcloudapi.com/?Action=CreateCloudAttachService\n&Data.Name=我的实例01\n&Data.IdcAddress=北京东城区IDC地址\n&Data.IdcType=CUCC\n&Data.Bandwidth=100\n&Data.Telephone=18888888888\n&Data.Remarks=字符串\n&<公共请求参数>",
29
+ "output": "{\n \"Response\": {\n \"CloudAttach\": {\n \"Uin\": \"100001332514\",\n \"CustomerAuthName\": \"网测技术\",\n \"InstanceId\": \"cas-3vocyz07\",\n \"Name\": \"我的实例01\",\n \"AppId\": \"1254277469\",\n \"IapId\": \"\",\n \"IdcAddress\": \"北京东城区IDC地址\",\n \"IdcType\": \"CUCC\",\n \"DirectConnectId\": \"\",\n \"CloudAttachServiceGatewaysSupport\": false,\n \"BUpdateBandwidth\": false,\n \"Bandwidth\": 100,\n \"RegionStatus\": \"same-region\",\n \"Status\": \"applying\",\n \"ApplyTime\": \"2024-10-14 13:04:33\",\n \"ReadyTime\": \"2038-01-08 23:59:59\",\n \"ExpireTime\": \"2038-01-08 23:59:59\",\n \"Telephone\": \"18888888888\",\n \"Remarks\": \"6个月,其他\"\n },\n \"RequestId\": \"4fb676d2-3100-4018-aa07-73008eaa135d\"\n }\n}",
30
30
  "title": "创建敏捷上云服务"
31
31
  }
32
32
  ],
@@ -1228,7 +1228,7 @@
1228
1228
  {
1229
1229
  "disabled": false,
1230
1230
  "document": "使用GetPublicKey返回的RSA2048公钥加密后的密码",
1231
- "example": "+5DzNPbJ5s6e/SkAFgMKQ4ezgmIyKqwHR/TtkwCQP5oFzYTpXJC6iEYVkAmlbreL8XX2I/YdNsqfy184B5sKt7LcfcvTCDspbQrDlRawvcWU0lLxvSpBgL4zXlixxOIR5UmC6lvSJFHOdMzoeK2UKGuV2EG3BMuvVthHAKaFDEQh5C5UP5FsN8G+Zsf27tofNm6KRFrQksNcYvFqMEnnGWV4luXISbJI0yK0m6kyKJSAgtHtDvsGBbJ1fA3RO1p5K/usvARNPB1jzjK5TJtG5eFDsPLXDHwiHh8clQpSLhYj531Ba1uXi9yL1Zkhoc0lf4y2xoJU3N+ce+6IAfJiaw==",
1231
+ "example": "MTIzNDU2Nzg5MTA=",
1232
1232
  "member": "string",
1233
1233
  "name": "EncryptedPassword",
1234
1234
  "required": false,
@@ -51,7 +51,7 @@
51
51
  "CreateAccount": [
52
52
  {
53
53
  "document": "",
54
- "input": "POST / HTTP/1.1\nHost: dcdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccount\n<公共请求参数>\n\n{\n \"InstanceId\": \"dcdbt-fdpjf5zh\",\n \"UserName\": \"testuser1\",\n \"Host\": \"172.17.%\",\n \"Password\": \"1234qweri#\",\n \"Description\": \"测试帐号\"\n}",
54
+ "input": "POST / HTTP/1.1\nHost: dcdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAccount\n<公共请求参数>\n\n{\n \"InstanceId\": \"dcdbt-fdpjf5zh\",\n \"UserName\": \"testuser1\",\n \"Host\": \"172.17.%\",\n \"Password\": \"1234qweri#\",\n \"Description\": \"测试账号\"\n}",
55
55
  "output": "{\n \"Response\": {\n \"RequestId\": \"2cc4e4dc-c3e9-4858-ab80-03e3526cf24d\",\n \"InstanceId\": \"dcdbt-fdpjf5zh\",\n \"UserName\": \"testuser1\",\n \"Host\": \"172.17.%\",\n \"ReadOnly\": 0\n }\n}",
56
56
  "title": "为云数据库实例创建访问账号"
57
57
  }
@@ -16274,6 +16274,23 @@
16274
16274
  ],
16275
16275
  "usage": "both"
16276
16276
  },
16277
+ "SmartOptimizerChangeTablePolicy": {
16278
+ "document": "混合表中,change表的数据保存时间,单位为天",
16279
+ "members": [
16280
+ {
16281
+ "disabled": false,
16282
+ "document": "change表的数据保存时间,单位为天\n注意:此字段可能返回 null,表示取不到有效值。",
16283
+ "example": "8",
16284
+ "member": "int64",
16285
+ "name": "DataRetentionTime",
16286
+ "output_required": false,
16287
+ "required": false,
16288
+ "type": "int",
16289
+ "value_allowed_null": true
16290
+ }
16291
+ ],
16292
+ "usage": "both"
16293
+ },
16277
16294
  "SmartOptimizerIndexPolicy": {
16278
16295
  "document": "SmartOptimizerIndexPolicy",
16279
16296
  "members": [
@@ -16409,6 +16426,17 @@
16409
16426
  "required": false,
16410
16427
  "type": "object",
16411
16428
  "value_allowed_null": true
16429
+ },
16430
+ {
16431
+ "disabled": false,
16432
+ "document": "SmartOptimizerChangeTablePolicy\n注意:此字段可能返回 null,表示取不到有效值。",
16433
+ "example": "无",
16434
+ "member": "SmartOptimizerChangeTablePolicy",
16435
+ "name": "ChangeTable",
16436
+ "output_required": false,
16437
+ "required": false,
16438
+ "type": "object",
16439
+ "value_allowed_null": true
16412
16440
  }
16413
16441
  ],
16414
16442
  "usage": "both"
@@ -17816,6 +17844,17 @@
17816
17844
  "required": false,
17817
17845
  "type": "object",
17818
17846
  "value_allowed_null": true
17847
+ },
17848
+ {
17849
+ "disabled": false,
17850
+ "document": "T-ICEBERG表的主键\n注意:此字段可能返回 null,表示取不到有效值。",
17851
+ "example": "无",
17852
+ "member": "string",
17853
+ "name": "PrimaryKeys",
17854
+ "output_required": false,
17855
+ "required": false,
17856
+ "type": "list",
17857
+ "value_allowed_null": true
17819
17858
  }
17820
17859
  ],
17821
17860
  "usage": "both"
@@ -17882,7 +17921,7 @@
17882
17921
  {
17883
17922
  "disabled": false,
17884
17923
  "document": "数据表基本信息。",
17885
- "example": "{}",
17924
+ "example": "{\"name\":\"test\"}",
17886
17925
  "member": "TableBaseInfo",
17887
17926
  "name": "TableBaseInfo",
17888
17927
  "output_required": true,
@@ -17892,7 +17931,7 @@
17892
17931
  {
17893
17932
  "disabled": false,
17894
17933
  "document": "数据表列信息。\n注意:此字段可能返回 null,表示取不到有效值。",
17895
- "example": "{}",
17934
+ "example": "[{\"name\":\"aa\"}]",
17896
17935
  "member": "Column",
17897
17936
  "name": "Columns",
17898
17937
  "output_required": true,
@@ -17902,7 +17941,7 @@
17902
17941
  {
17903
17942
  "disabled": false,
17904
17943
  "document": "数据表分块信息。\n注意:此字段可能返回 null,表示取不到有效值。",
17905
- "example": "{}",
17944
+ "example": "[{\"day\":\"a\"}]",
17906
17945
  "member": "Partition",
17907
17946
  "name": "Partitions",
17908
17947
  "output_required": true,
@@ -17922,7 +17961,7 @@
17922
17961
  {
17923
17962
  "disabled": false,
17924
17963
  "document": "数据表属性信息。\n注意:此字段可能返回 null,表示取不到有效值。",
17925
- "example": "{}",
17964
+ "example": "[{\"day\":\"a\"}]",
17926
17965
  "member": "Property",
17927
17966
  "name": "Properties",
17928
17967
  "output_required": true,
@@ -17998,6 +18037,16 @@
17998
18037
  "output_required": false,
17999
18038
  "type": "int",
18000
18039
  "value_allowed_null": true
18040
+ },
18041
+ {
18042
+ "disabled": false,
18043
+ "document": "InputFormat的缩写",
18044
+ "example": "orc",
18045
+ "member": "string",
18046
+ "name": "InputFormatShort",
18047
+ "output_required": false,
18048
+ "type": "string",
18049
+ "value_allowed_null": false
18001
18050
  }
18002
18051
  ],
18003
18052
  "usage": "out"