tccli-intl-en 3.0.1254.1__py2.py3-none-any.whl → 3.0.1256.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.
@@ -1,77 +1,5 @@
1
1
  {
2
2
  "actions": {
3
- "ClearQueue": [
4
- {
5
- "document": "This example shows you how to clear heaped messages in a queue.",
6
- "input": "https://cmq.tencentcloudapi.com/?Action=ClearQueue\r\n&QueueName=test\r\n&<Common request parameters>",
7
- "output": "{\n \"Response\": {\n \"RequestId\": \"3e0dff9d-9ed5-47c3-beb2-a42c1d69e1cc\"\n }\n}",
8
- "title": "Clearing heaped messages in queue"
9
- }
10
- ],
11
- "ClearSubscriptionFilterTags": [
12
- {
13
- "document": " ",
14
- "input": "https://cmq.tencentcloudapi.com/?Action=ClearSubscriptionFilterTags\r\n&TopicName=ConnTopic&SubscriptionName=Queue\r\n&<Common request parameters>",
15
- "output": "{\n \"Response\": {\n \"RequestId\": \"3e0dff9d-9ed5-47c3-beb2-a42c1d69e1cc\"\n }\n}",
16
- "title": "Clearing the message tags of subscriber"
17
- }
18
- ],
19
- "CreateQueue": [
20
- {
21
- "document": "This example shows you how to create a queue.",
22
- "input": "https://cmq.tencentcloudapi.com/?Action=CreateQueue\r\n&QueueName=test\r\n&<Common request parameters>",
23
- "output": "{\n \"Response\": {\n \"QueueId\": \"queue-ges05csc\",\n \"RequestId\": \"3e0dff9d-9ed5-47c3-beb2-a42c1d69e1cc\"\n }\n}",
24
- "title": "Creating queue"
25
- }
26
- ],
27
- "CreateSubscribe": [
28
- {
29
- "document": " ",
30
- "input": "https://cmq.tencentcloudapi.com/?Action=CreateSubscribe\r\n&TopicName=ConnTopic&SubscriptionName=ConnSubQueue&Protocol=queue&Endpoint=queue_sub\r\n&<Common request parameters>",
31
- "output": "{\n \"Response\": {\n \"SubscriptionId\": \"subsc-39gyuuhd\",\n \"RequestId\": \"1620b635-6071-47c7-ac1e-975afe5104a7\"\n }\n}",
32
- "title": "Creating subscription"
33
- }
34
- ],
35
- "CreateTopic": [
36
- {
37
- "document": " ",
38
- "input": "https://cmq.tencentcloudapi.com/?Action=CreateTopic\r\n&TopicName=ConnTopic\r\n&<Common request parameters>",
39
- "output": "{\n \"Response\": {\n \"TopicId\": \"topic-gzz05csc\",\n \"RequestId\": \"3e0dff9d-9ed5-47c3-beb2-a42c1d69e1cc\"\n }\n}",
40
- "title": "Creating topic"
41
- }
42
- ],
43
- "DeleteQueue": [
44
- {
45
- "document": "This example shows you how to delete a queue.",
46
- "input": "https://cmq.tencentcloudapi.com/?Action=DeleteQueue\r\n&QueueName=test\r\n&<Common request parameters>",
47
- "output": "{\n \"Response\": {\n \"RequestId\": \"3e0dff9d-9ed5-47c3-beb2-a42c1d69e1cc\"\n }\n}",
48
- "title": "Deleting queue"
49
- }
50
- ],
51
- "DeleteSubscribe": [
52
- {
53
- "document": " ",
54
- "input": "https://cmq.tencentcloudapi.com/?Action=DeleteSubscribe\r\n&TopicName=ConnTopic&SubscriptionName=york\r\n&<Common request parameters>",
55
- "output": "{\n \"Response\": {\n \"RequestId\": \"f8efab10-0ac6-44cf-8d09-67bb228deaf4\"\n }\n}",
56
- "title": "Deleting subscription"
57
- }
58
- ],
59
- "DeleteTopic": [
60
- {
61
- "document": " ",
62
- "input": "https://cmq.tencentcloudapi.com/?Action=DeleteTopic\r\n&TopicName=ConnTopic\r\n&<Common request parameters>",
63
- "output": "{\n \"Response\": {\n \"RequestId\": \"96b28b30-393a-48aa-9f00-07dbe6d86229\"\n }\n}",
64
- "title": "Deleting topic"
65
- }
66
- ],
67
- "DescribeDeadLetterSourceQueues": [
68
- {
69
- "document": "This example shows you how to enumerate the source queues of a dead letter queue.",
70
- "input": "https://cmq.tencentcloudapi.com/?Action=DescribeDeadLetterSourceQueues\r\n&DeadLetterQueueName=test123\r\n&<Common request parameters>",
71
- "output": "{\n \"Response\": {\n \"QueueSet\": [\n {\n \"QueueName\": \"test\",\n \"QueueId\": \"queue-kc7m75to\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"83fce81a-7305-49b4-a154-983dd76204da\"\n }\n}",
72
- "title": "Enumerating the source queues of dead letter queue"
73
- }
74
- ],
75
3
  "DescribeQueueDetail": [
76
4
  {
77
5
  "document": " ",
@@ -80,14 +8,6 @@
80
8
  "title": "Getting queue list"
81
9
  }
82
10
  ],
83
- "DescribeSubscriptionDetail": [
84
- {
85
- "document": " ",
86
- "input": "https://cmq.tencentcloudapi.com/?Action=DescribeSubscriptionDetail\r\n&TopicName=ConnTopic\r\n&<Common request parameters>",
87
- "output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"SubscriptionSet\": [],\n \"RequestId\": \"c67d0d56-2406-49b2-8e82-320b9beab46c\"\n }\n}",
88
- "title": "Querying subscription details"
89
- }
90
- ],
91
11
  "DescribeTopicDetail": [
92
12
  {
93
13
  "document": " ",
@@ -95,46 +15,6 @@
95
15
  "output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"TopicSet\": [\n {\n \"Tags\": [],\n \"TopicId\": \"topic-rga4l1o4\",\n \"TopicName\": \"ConnTopic\",\n \"CreateUin\": 20548499,\n \"MsgRetentionSeconds\": 10000,\n \"MaxMsgSize\": 20000,\n \"Qps\": 10000,\n \"FilterType\": 1,\n \"CreateTime\": 1581516588,\n \"LastModifyTime\": 1581563581,\n \"MsgCount\": 0\n },\n {\n \"Tags\": [],\n \"TopicId\": \"topic-388k6x98\",\n \"TopicName\": \"test123\",\n \"CreateUin\": 20548499,\n \"MsgRetentionSeconds\": 86400,\n \"MaxMsgSize\": 65536,\n \"Qps\": 5000,\n \"FilterType\": 1,\n \"CreateTime\": 1581493669,\n \"LastModifyTime\": 1581495310,\n \"MsgCount\": 0\n }\n ],\n \"RequestId\": \"68ebb46b-5eac-467a-9942-1a5da83a65ca\"\n }\n}",
96
16
  "title": "Querying topic details"
97
17
  }
98
- ],
99
- "ModifyQueueAttribute": [
100
- {
101
- "document": "This example shows you how to modify queue attributes.",
102
- "input": "https://cmq.tencentcloudapi.com/?Action=ModifyQueueAttribute\r\n&QueueName=test&MaxMsgSize=1024\r\n&<Common request parameters>",
103
- "output": "{\n \"Response\": {\n \"RequestId\": \"3e0dff9d-9ed5-47c3-beb2-a42c1d69e1cc\"\n }\n}",
104
- "title": "Modifying queue attributes"
105
- }
106
- ],
107
- "ModifySubscriptionAttribute": [
108
- {
109
- "document": "This example shows you how to modify subscription attributes.",
110
- "input": "https://cmq.tencentcloudapi.com/?Action=ModifySubscriptionAttribute\r\n&TopicName=test&SubscriptionName=test&BindingKey.0=test\r\n&<Common request parameters>",
111
- "output": "{\n \"Response\": {\n \"RequestId\": \"3e0dff9d-9ed5-47c3-beb2-a42c1d69e1cc\"\n }\n}",
112
- "title": "Modifying subscription attributes"
113
- }
114
- ],
115
- "ModifyTopicAttribute": [
116
- {
117
- "document": " ",
118
- "input": "https://cmq.tencentcloudapi.com/?Action=ModifyTopicAttribute\r\n&TopicName=ConnTopic&Qps=20000\r\n&<Common request parameters>",
119
- "output": "{\n \"Response\": {\n \"RequestId\": \"8a04c6b1-dec5-4979-b3b2-34ab3b3402b2\"\n }\n}",
120
- "title": "Modifying topic attributes"
121
- }
122
- ],
123
- "RewindQueue": [
124
- {
125
- "document": "This example shows you how to rewind the consumption position in a queue.",
126
- "input": "https://cmq.tencentcloudapi.com/?Action=RewindQueue\r\n&QueueName=test&StartConsumeTime=1582108595\r\n&<Common request parameters>",
127
- "output": "{\n \"Response\": {\n \"RequestId\": \"3e0dff9d-9ed5-47c3-beb2-a42c1d69e1cc\"\n }\n}",
128
- "title": "Rewinding consumption position in queue"
129
- }
130
- ],
131
- "UnbindDeadLetter": [
132
- {
133
- "document": "This example shows you how to unbind a dead letter queue.",
134
- "input": "https://cmq.tencentcloudapi.com/?Action=UnbindDeadLetter\r\n&QueueName=test\r\n&<Common request parameters>",
135
- "output": "{\n \"Response\": {\n \"RequestId\": \"3e0dff9d-9ed5-47c3-beb2-a42c1d69e1cc\"\n }\n}",
136
- "title": "Unbinding dead letter queue"
137
- }
138
18
  ]
139
19
  },
140
20
  "version": "1.0"
@@ -537,6 +537,58 @@ def doInquiryPriceRunInstances(args, parsed_globals):
537
537
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
538
538
 
539
539
 
540
+ def doInquiryPriceRenewInstances(args, parsed_globals):
541
+ g_param = parse_global_arg(parsed_globals)
542
+
543
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
544
+ cred = credential.CVMRoleCredential()
545
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
546
+ cred = credential.STSAssumeRoleCredential(
547
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
548
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
549
+ )
550
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
551
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
552
+ else:
553
+ cred = credential.Credential(
554
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
555
+ )
556
+ http_profile = HttpProfile(
557
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
558
+ reqMethod="POST",
559
+ endpoint=g_param[OptionsDefine.Endpoint],
560
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
561
+ )
562
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
563
+ if g_param[OptionsDefine.Language]:
564
+ profile.language = g_param[OptionsDefine.Language]
565
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
566
+ client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
567
+ client._sdkVersion += ("_CLI_" + __version__)
568
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
569
+ model = models.InquiryPriceRenewInstancesRequest()
570
+ model.from_json_string(json.dumps(args))
571
+ start_time = time.time()
572
+ while True:
573
+ rsp = client.InquiryPriceRenewInstances(model)
574
+ result = rsp.to_json_string()
575
+ try:
576
+ json_obj = json.loads(result)
577
+ except TypeError as e:
578
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
579
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
580
+ break
581
+ cur_time = time.time()
582
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
583
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
584
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
585
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
586
+ else:
587
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
588
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
589
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
590
+
591
+
540
592
  def doConfigureChcAssistVpc(args, parsed_globals):
541
593
  g_param = parse_global_arg(parsed_globals)
542
594
 
@@ -745,7 +797,7 @@ def doModifyInstancesAttribute(args, parsed_globals):
745
797
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
746
798
 
747
799
 
748
- def doInquiryPriceRenewInstances(args, parsed_globals):
800
+ def doModifyInstancesDisasterRecoverGroup(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 doInquiryPriceRenewInstances(args, parsed_globals):
774
826
  client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
775
827
  client._sdkVersion += ("_CLI_" + __version__)
776
828
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
777
- model = models.InquiryPriceRenewInstancesRequest()
829
+ model = models.ModifyInstancesDisasterRecoverGroupRequest()
778
830
  model.from_json_string(json.dumps(args))
779
831
  start_time = time.time()
780
832
  while True:
781
- rsp = client.InquiryPriceRenewInstances(model)
833
+ rsp = client.ModifyInstancesDisasterRecoverGroup(model)
782
834
  result = rsp.to_json_string()
783
835
  try:
784
836
  json_obj = json.loads(result)
@@ -2877,7 +2929,7 @@ def doInquirePricePurchaseReservedInstancesOffering(args, parsed_globals):
2877
2929
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2878
2930
 
2879
2931
 
2880
- def doModifyInstancesProject(args, parsed_globals):
2932
+ def doResetInstancesInternetMaxBandwidth(args, parsed_globals):
2881
2933
  g_param = parse_global_arg(parsed_globals)
2882
2934
 
2883
2935
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2906,11 +2958,11 @@ def doModifyInstancesProject(args, parsed_globals):
2906
2958
  client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
2907
2959
  client._sdkVersion += ("_CLI_" + __version__)
2908
2960
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2909
- model = models.ModifyInstancesProjectRequest()
2961
+ model = models.ResetInstancesInternetMaxBandwidthRequest()
2910
2962
  model.from_json_string(json.dumps(args))
2911
2963
  start_time = time.time()
2912
2964
  while True:
2913
- rsp = client.ModifyInstancesProject(model)
2965
+ rsp = client.ResetInstancesInternetMaxBandwidth(model)
2914
2966
  result = rsp.to_json_string()
2915
2967
  try:
2916
2968
  json_obj = json.loads(result)
@@ -3397,7 +3449,7 @@ def doDescribeZoneInstanceConfigInfos(args, parsed_globals):
3397
3449
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3398
3450
 
3399
3451
 
3400
- def doResetInstancesInternetMaxBandwidth(args, parsed_globals):
3452
+ def doModifyInstancesProject(args, parsed_globals):
3401
3453
  g_param = parse_global_arg(parsed_globals)
3402
3454
 
3403
3455
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3426,11 +3478,11 @@ def doResetInstancesInternetMaxBandwidth(args, parsed_globals):
3426
3478
  client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
3427
3479
  client._sdkVersion += ("_CLI_" + __version__)
3428
3480
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3429
- model = models.ResetInstancesInternetMaxBandwidthRequest()
3481
+ model = models.ModifyInstancesProjectRequest()
3430
3482
  model.from_json_string(json.dumps(args))
3431
3483
  start_time = time.time()
3432
3484
  while True:
3433
- rsp = client.ResetInstancesInternetMaxBandwidth(model)
3485
+ rsp = client.ModifyInstancesProject(model)
3434
3486
  result = rsp.to_json_string()
3435
3487
  try:
3436
3488
  json_obj = json.loads(result)
@@ -4250,11 +4302,12 @@ ACTION_MAP = {
4250
4302
  "DescribeInstancesAttributes": doDescribeInstancesAttributes,
4251
4303
  "ImportImage": doImportImage,
4252
4304
  "InquiryPriceRunInstances": doInquiryPriceRunInstances,
4305
+ "InquiryPriceRenewInstances": doInquiryPriceRenewInstances,
4253
4306
  "ConfigureChcAssistVpc": doConfigureChcAssistVpc,
4254
4307
  "ModifyKeyPairAttribute": doModifyKeyPairAttribute,
4255
4308
  "DeleteLaunchTemplate": doDeleteLaunchTemplate,
4256
4309
  "ModifyInstancesAttribute": doModifyInstancesAttribute,
4257
- "InquiryPriceRenewInstances": doInquiryPriceRenewInstances,
4310
+ "ModifyInstancesDisasterRecoverGroup": doModifyInstancesDisasterRecoverGroup,
4258
4311
  "InquiryPriceResetInstancesInternetMaxBandwidth": doInquiryPriceResetInstancesInternetMaxBandwidth,
4259
4312
  "DeleteImages": doDeleteImages,
4260
4313
  "CreateKeyPair": doCreateKeyPair,
@@ -4295,7 +4348,7 @@ ACTION_MAP = {
4295
4348
  "DescribeRegions": doDescribeRegions,
4296
4349
  "DescribeImportImageOs": doDescribeImportImageOs,
4297
4350
  "InquirePricePurchaseReservedInstancesOffering": doInquirePricePurchaseReservedInstancesOffering,
4298
- "ModifyInstancesProject": doModifyInstancesProject,
4351
+ "ResetInstancesInternetMaxBandwidth": doResetInstancesInternetMaxBandwidth,
4299
4352
  "ExportImages": doExportImages,
4300
4353
  "ResetInstance": doResetInstance,
4301
4354
  "SyncImages": doSyncImages,
@@ -4305,7 +4358,7 @@ ACTION_MAP = {
4305
4358
  "DescribeLaunchTemplates": doDescribeLaunchTemplates,
4306
4359
  "RemoveChcAssistVpc": doRemoveChcAssistVpc,
4307
4360
  "DescribeZoneInstanceConfigInfos": doDescribeZoneInstanceConfigInfos,
4308
- "ResetInstancesInternetMaxBandwidth": doResetInstancesInternetMaxBandwidth,
4361
+ "ModifyInstancesProject": doModifyInstancesProject,
4309
4362
  "RenewInstances": doRenewInstances,
4310
4363
  "DescribeDisasterRecoverGroups": doDescribeDisasterRecoverGroups,
4311
4364
  "StartInstances": doStartInstances,
@@ -427,6 +427,13 @@
427
427
  "output": "ModifyInstancesAttributeResponse",
428
428
  "status": "online"
429
429
  },
430
+ "ModifyInstancesDisasterRecoverGroup": {
431
+ "document": "This API is used to adjust the placement group of an instance.\n* Currently only basic networks or Virtual Private Cloud (VPC) instances are supported.",
432
+ "input": "ModifyInstancesDisasterRecoverGroupRequest",
433
+ "name": "Adjust the distributed placement group of an instance",
434
+ "output": "ModifyInstancesDisasterRecoverGroupResponse",
435
+ "status": "online"
436
+ },
430
437
  "ModifyInstancesProject": {
431
438
  "document": "This API is used to change the project to which an instance is assigned.\n\n* Project is a virtual concept. You can create multiple projects under one account, manage different resources in each project, and assign different instances to different projects. You may use the [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) API to query instances and use the project ID to filter the results.\n* You cannot modify the project of an instance that is bound to a load balancer. You need to unbind the load balancer from the instance by using the [DeregisterInstancesFromLoadBalancer](https://intl.cloud.tencent.com/document/api/214/1258?from_cn_redirect=1) API before using this API.\n* Batch operations are supported. Up to 100 instances per request is allowed.\n* You can use the API [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1#.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) to query the operation result. If the `LatestOperationState` in the response is `SUCCESS`, the operation is successful.",
432
439
  "input": "ModifyInstancesProjectRequest",
@@ -7815,6 +7822,51 @@
7815
7822
  ],
7816
7823
  "type": "object"
7817
7824
  },
7825
+ "ModifyInstancesDisasterRecoverGroupRequest": {
7826
+ "document": "ModifyInstancesDisasterRecoverGroup request structure.",
7827
+ "members": [
7828
+ {
7829
+ "disabled": false,
7830
+ "document": "One or more instance ids to be operated. you can obtain the instance ID through the `InstanceId` in the return value from the api [DescribeInstances](https://www.tencentcloud.com/zh/document/api/213/33258). the maximum number of instances per request is 100.",
7831
+ "example": "[\"ins-r8hr2upy\"]",
7832
+ "member": "string",
7833
+ "name": "InstanceIds",
7834
+ "required": true,
7835
+ "type": "list"
7836
+ },
7837
+ {
7838
+ "disabled": false,
7839
+ "document": "Spread placement group ID. obtain through the api [DescribeDisasterRecoverGroups](https://www.tencentcloud.com/zh/document/api/213/33261).",
7840
+ "example": "ps-a66w6rlb",
7841
+ "member": "string",
7842
+ "name": "DisasterRecoverGroupId",
7843
+ "required": false,
7844
+ "type": "string"
7845
+ },
7846
+ {
7847
+ "disabled": false,
7848
+ "document": "Whether to forcibly change instance hosts. value range:<br><li>true: indicates that the instance is allowed to change hosts, allowing the instance to reboot. local disk machine does not support specifying this parameter.</li><br><li>false: does not allow the instance to change hosts. instances can only be added to the placement group on the current host. this may result in a failure to change the placement group.</li><br><br>default value: false.",
7849
+ "example": "false",
7850
+ "member": "bool",
7851
+ "name": "Force",
7852
+ "required": false,
7853
+ "type": "bool"
7854
+ }
7855
+ ],
7856
+ "type": "object"
7857
+ },
7858
+ "ModifyInstancesDisasterRecoverGroupResponse": {
7859
+ "document": "ModifyInstancesDisasterRecoverGroup response structure.",
7860
+ "members": [
7861
+ {
7862
+ "document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
7863
+ "member": "string",
7864
+ "name": "RequestId",
7865
+ "type": "string"
7866
+ }
7867
+ ],
7868
+ "type": "object"
7869
+ },
7818
7870
  "ModifyInstancesProjectRequest": {
7819
7871
  "document": "ModifyInstancesProject request structure.",
7820
7872
  "members": [
@@ -530,6 +530,14 @@
530
530
  "title": "Renaming instances"
531
531
  }
532
532
  ],
533
+ "ModifyInstancesDisasterRecoverGroup": [
534
+ {
535
+ "document": "This example shows you how to adjust the instance location in an instance placement group.",
536
+ "input": "https://cvm.tencentcloudapi.com/?Action=ModifyInstancesDisasterRecoverGroup\n&InstanceIds.0=ins-r8hr2upy\n&DisasterRecoverGroupId=ps-a66w6rlb\n&<Common request parameters>",
537
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d39d6c09-44e9-4e80-8661-77b5ff3cbc15\"\n }\n}",
538
+ "title": "Adjusting Instance Placement Groups"
539
+ }
540
+ ],
533
541
  "ModifyInstancesProject": [
534
542
  {
535
543
  "document": "This example shows you how to change the projects of two instances.",
@@ -5721,6 +5721,24 @@
5721
5721
  "name": "LivenessRetryLimit",
5722
5722
  "required": false,
5723
5723
  "type": "int"
5724
+ },
5725
+ {
5726
+ "disabled": false,
5727
+ "document": "Specifies the liveness detection timeout period in seconds. value range: (0,600].",
5728
+ "example": "45",
5729
+ "member": "uint64",
5730
+ "name": "LivenessTimeout",
5731
+ "required": false,
5732
+ "type": "int"
5733
+ },
5734
+ {
5735
+ "disabled": false,
5736
+ "document": "Selects OCR alarms requiring attention. When an OCR Alarm occurs, the identity verification process will be interrupted. Default value is empty, indicating all alarms are monitored. This feature requires the parameter DisableCheckOcrWarnings=false. If the Alarm is disabled, this parameter will not be effective.",
5737
+ "example": "-9104,-9105",
5738
+ "member": "string",
5739
+ "name": "SelectedWarningCodes",
5740
+ "required": false,
5741
+ "type": "string"
5724
5742
  }
5725
5743
  ],
5726
5744
  "usage": "in"