tccli 3.0.1286.1__py2.py3-none-any.whl → 3.0.1288.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/autoscaling/autoscaling_client.py +53 -0
- tccli/services/autoscaling/v20180419/api.json +53 -0
- tccli/services/autoscaling/v20180419/examples.json +8 -0
- tccli/services/billing/v20180709/api.json +254 -254
- tccli/services/captcha/v20190722/api.json +79 -77
- tccli/services/cdc/v20201214/api.json +123 -113
- tccli/services/cdwch/v20200915/api.json +70 -2
- tccli/services/cdwch/v20200915/examples.json +2 -2
- tccli/services/cdz/v20221123/api.json +10 -10
- tccli/services/cfs/v20190719/api.json +1 -1
- tccli/services/cvm/cvm_client.py +53 -0
- tccli/services/cvm/v20170312/api.json +110 -5
- tccli/services/cvm/v20170312/examples.json +8 -0
- tccli/services/cwp/v20180228/api.json +63 -15
- tccli/services/cynosdb/v20190107/api.json +298 -298
- tccli/services/dbbrain/v20210527/api.json +11 -2
- tccli/services/domain/v20180808/api.json +49 -29
- tccli/services/ess/v20201111/api.json +25 -1
- tccli/services/essbasic/v20210526/api.json +27 -3
- tccli/services/hunyuan/hunyuan_client.py +53 -0
- tccli/services/hunyuan/v20230901/api.json +329 -12
- tccli/services/hunyuan/v20230901/examples.json +8 -0
- tccli/services/lcic/v20220817/api.json +2 -2
- tccli/services/lighthouse/v20200324/api.json +47 -47
- tccli/services/lke/v20231130/api.json +10 -10
- tccli/services/lke/v20231130/examples.json +1 -1
- tccli/services/mariadb/v20170312/api.json +30 -30
- tccli/services/mongodb/v20190725/api.json +3 -3
- tccli/services/ocr/v20181119/api.json +36 -0
- tccli/services/redis/v20180412/api.json +4 -4
- tccli/services/ses/v20201002/api.json +1 -1
- tccli/services/ssl/v20191205/api.json +317 -317
- tccli/services/ssl/v20191205/examples.json +6 -6
- tccli/services/tat/v20201028/api.json +7 -7
- tccli/services/tat/v20201028/examples.json +1 -1
- tccli/services/tcb/v20180608/api.json +232 -231
- tccli/services/tcb/v20180608/examples.json +1 -7
- tccli/services/tchd/tchd_client.py +53 -0
- tccli/services/tchd/v20230306/api.json +89 -0
- tccli/services/tchd/v20230306/examples.json +8 -0
- tccli/services/tdmq/v20200217/api.json +232 -222
- tccli/services/teo/v20220901/api.json +129 -7
- tccli/services/trocket/trocket_client.py +53 -0
- tccli/services/trocket/v20230308/api.json +61 -0
- tccli/services/trocket/v20230308/examples.json +8 -0
- tccli/services/trro/trro_client.py +53 -0
- tccli/services/trro/v20220325/api.json +70 -0
- tccli/services/trro/v20220325/examples.json +8 -0
- tccli/services/waf/v20180125/api.json +225 -0
- tccli/services/waf/v20180125/examples.json +24 -0
- tccli/services/waf/waf_client.py +159 -0
- tccli/services/wedata/v20210820/api.json +124 -204
- tccli/services/wedata/v20210820/examples.json +7 -1
- {tccli-3.0.1286.1.dist-info → tccli-3.0.1288.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1286.1.dist-info → tccli-3.0.1288.1.dist-info}/RECORD +59 -59
- {tccli-3.0.1286.1.dist-info → tccli-3.0.1288.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1286.1.dist-info → tccli-3.0.1288.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1286.1.dist-info → tccli-3.0.1288.1.dist-info}/license_files/LICENSE +0 -0
@@ -901,6 +901,15 @@
|
|
901
901
|
"name": "TagItems",
|
902
902
|
"required": false,
|
903
903
|
"type": "list"
|
904
|
+
},
|
905
|
+
{
|
906
|
+
"disabled": false,
|
907
|
+
"document": "副可用去信息",
|
908
|
+
"example": "[{\"ap-guangzhou-3\",\"user-1\"}]",
|
909
|
+
"member": "SecondaryZoneInfo",
|
910
|
+
"name": "SecondaryZoneInfo",
|
911
|
+
"required": false,
|
912
|
+
"type": "list"
|
904
913
|
}
|
905
914
|
],
|
906
915
|
"type": "object"
|
@@ -1764,7 +1773,7 @@
|
|
1764
1773
|
{
|
1765
1774
|
"disabled": false,
|
1766
1775
|
"document": "搜索的集群name",
|
1767
|
-
"example": "
|
1776
|
+
"example": "test",
|
1768
1777
|
"member": "string",
|
1769
1778
|
"name": "SearchInstanceName",
|
1770
1779
|
"required": false,
|
@@ -1805,6 +1814,15 @@
|
|
1805
1814
|
"name": "IsSimple",
|
1806
1815
|
"required": false,
|
1807
1816
|
"type": "bool"
|
1817
|
+
},
|
1818
|
+
{
|
1819
|
+
"disabled": false,
|
1820
|
+
"document": "vip列表",
|
1821
|
+
"example": "['127.0.0.1','192.168.10.10']",
|
1822
|
+
"member": "string",
|
1823
|
+
"name": "Vips",
|
1824
|
+
"required": false,
|
1825
|
+
"type": "list"
|
1808
1826
|
}
|
1809
1827
|
],
|
1810
1828
|
"type": "object"
|
@@ -1825,7 +1843,7 @@
|
|
1825
1843
|
{
|
1826
1844
|
"disabled": false,
|
1827
1845
|
"document": "实例数组",
|
1828
|
-
"example": "
|
1846
|
+
"example": "无",
|
1829
1847
|
"member": "InstanceInfo",
|
1830
1848
|
"name": "InstancesList",
|
1831
1849
|
"output_required": true,
|
@@ -4120,6 +4138,56 @@
|
|
4120
4138
|
],
|
4121
4139
|
"usage": "in"
|
4122
4140
|
},
|
4141
|
+
"SecondaryZoneInfo": {
|
4142
|
+
"document": "副可用区详情",
|
4143
|
+
"members": [
|
4144
|
+
{
|
4145
|
+
"disabled": false,
|
4146
|
+
"document": "副可用区\n注意:此字段可能返回 null,表示取不到有效值。",
|
4147
|
+
"example": "ap-guangzhou",
|
4148
|
+
"member": "string",
|
4149
|
+
"name": "SecondaryZone",
|
4150
|
+
"output_required": false,
|
4151
|
+
"required": false,
|
4152
|
+
"type": "string",
|
4153
|
+
"value_allowed_null": true
|
4154
|
+
},
|
4155
|
+
{
|
4156
|
+
"disabled": false,
|
4157
|
+
"document": "可用区可用的子网id\n注意:此字段可能返回 null,表示取不到有效值。",
|
4158
|
+
"example": "subnet-xxx",
|
4159
|
+
"member": "string",
|
4160
|
+
"name": "SecondarySubnet",
|
4161
|
+
"output_required": false,
|
4162
|
+
"required": false,
|
4163
|
+
"type": "string",
|
4164
|
+
"value_allowed_null": true
|
4165
|
+
},
|
4166
|
+
{
|
4167
|
+
"disabled": false,
|
4168
|
+
"document": "可用区可用的子网可用ip的数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
4169
|
+
"example": "1",
|
4170
|
+
"member": "string",
|
4171
|
+
"name": "UserIpNum",
|
4172
|
+
"output_required": false,
|
4173
|
+
"required": false,
|
4174
|
+
"type": "string",
|
4175
|
+
"value_allowed_null": true
|
4176
|
+
},
|
4177
|
+
{
|
4178
|
+
"disabled": false,
|
4179
|
+
"document": "可用区可用的子网可用ip的数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
4180
|
+
"example": "1",
|
4181
|
+
"member": "int64",
|
4182
|
+
"name": "SecondaryUserSubnetIPNum",
|
4183
|
+
"output_required": false,
|
4184
|
+
"required": false,
|
4185
|
+
"type": "int",
|
4186
|
+
"value_allowed_null": true
|
4187
|
+
}
|
4188
|
+
],
|
4189
|
+
"usage": "both"
|
4190
|
+
},
|
4123
4191
|
"ServiceInfo": {
|
4124
4192
|
"document": "服务详细信息描述。",
|
4125
4193
|
"members": [
|
@@ -131,8 +131,8 @@
|
|
131
131
|
"DescribeInstancesNew": [
|
132
132
|
{
|
133
133
|
"document": "查询",
|
134
|
-
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstancesNew\n<公共请求参数>\n\n{\n \"SearchInstanceId\": \"
|
135
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstancesList\": [\n {\n \"InstanceId\": \"
|
134
|
+
"input": "POST / HTTP/1.1\nHost: cdwch.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstancesNew\n<公共请求参数>\n\n{\n \"SearchInstanceId\": \"cdwch-xxx\",\n \"SearchInstanceName\": \"testname\",\n \"Offset\": 0,\n \"Limit\": 0,\n \"SearchTags\": [\n {\n \"TagKey\": \"testname\",\n \"TagValue\": \"testname\",\n \"AllValue\": 0\n }\n ]\n}",
|
135
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 0,\n \"InstancesList\": [\n {\n \"InstanceId\": \"testname\",\n \"InstanceName\": \"testname\",\n \"Status\": \"testname\",\n \"Version\": \"testname\",\n \"Region\": \"testname\",\n \"Zone\": \"testname\",\n \"VpcId\": \"testname\",\n \"SubnetId\": \"testname\",\n \"PayMode\": \"testname\",\n \"CreateTime\": \"testname\",\n \"ExpireTime\": \"testname\",\n \"MasterSummary\": {\n \"Spec\": \"testname\",\n \"NodeSize\": 0,\n \"Core\": 0,\n \"Memory\": 0,\n \"Disk\": 0,\n \"DiskType\": \"testname\",\n \"DiskDesc\": \"testname\",\n \"AttachCBSSpec\": {\n \"DiskType\": \"testname\",\n \"DiskSize\": 0,\n \"DiskCount\": 0,\n \"DiskDesc\": \"testname\"\n },\n \"SubProductType\": \"testname\",\n \"SpecCore\": 0,\n \"SpecMemory\": 0,\n \"DiskCount\": 0,\n \"MaxDiskSize\": 0,\n \"Encrypt\": 0\n },\n \"CommonSummary\": {\n \"Spec\": \"testname\",\n \"NodeSize\": 0,\n \"Core\": 0,\n \"Memory\": 0,\n \"Disk\": 0,\n \"DiskType\": \"testname\",\n \"DiskDesc\": \"testname\",\n \"AttachCBSSpec\": {\n \"DiskType\": \"testname\",\n \"DiskSize\": 0,\n \"DiskCount\": 0,\n \"DiskDesc\": \"testname\"\n },\n \"SubProductType\": \"testname\",\n \"SpecCore\": 0,\n \"SpecMemory\": 0,\n \"DiskCount\": 0,\n \"MaxDiskSize\": 0,\n \"Encrypt\": 0\n },\n \"HA\": \"testname\",\n \"AccessInfo\": \"testname\",\n \"Id\": 0,\n \"RegionId\": 0,\n \"ZoneDesc\": \"testname\",\n \"FlowMsg\": \"testname\",\n \"StatusDesc\": \"testname\",\n \"RenewFlag\": true,\n \"Tags\": [\n {\n \"TagKey\": \"testname\",\n \"TagValue\": \"testname\"\n }\n ],\n \"Monitor\": \"testname\",\n \"HasClsTopic\": true,\n \"ClsTopicId\": \"testname\",\n \"ClsLogSetId\": \"testname\",\n \"EnableXMLConfig\": 0,\n \"RegionDesc\": \"testname\",\n \"Eip\": \"testname\",\n \"CosMoveFactor\": 0,\n \"Kind\": \"testname\",\n \"IsElastic\": true,\n \"InstanceStateInfo\": {\n \"InstanceState\": \"testname\",\n \"FlowCreateTime\": \"testname\",\n \"FlowName\": \"testname\",\n \"FlowProgress\": 0,\n \"InstanceStateDesc\": \"testname\",\n \"FlowMsg\": \"testname\",\n \"ProcessName\": \"testname\",\n \"RequestId\": \"testname\"\n },\n \"HAZk\": true,\n \"MountDiskType\": 0,\n \"CHProxyVip\": \"testname\",\n \"CosBucketName\": \"testname\",\n \"CanAttachCbs\": true,\n \"CanAttachCbsLvm\": true,\n \"CanAttachCos\": true,\n \"Components\": [\n {\n \"Name\": \"testname\",\n \"Version\": \"testname\"\n }\n ],\n \"UpgradeVersions\": \"testname\"\n }\n ],\n \"RequestId\": \"testname\"\n }\n}",
|
136
136
|
"title": "test"
|
137
137
|
}
|
138
138
|
],
|
@@ -283,23 +283,23 @@
|
|
283
283
|
"members": [
|
284
284
|
{
|
285
285
|
"disabled": false,
|
286
|
-
"document": "
|
287
|
-
"example": "
|
286
|
+
"document": "资源水位详情",
|
287
|
+
"example": "无",
|
288
288
|
"member": "CloudDedicatedZoneResourceSummaryInfo",
|
289
289
|
"name": "ResourceSummarySet",
|
290
290
|
"output_required": true,
|
291
291
|
"type": "list",
|
292
|
-
"value_allowed_null":
|
292
|
+
"value_allowed_null": false
|
293
293
|
},
|
294
294
|
{
|
295
295
|
"disabled": false,
|
296
|
-
"document": "
|
297
|
-
"example": "{
|
296
|
+
"document": "资源水位扩展信息",
|
297
|
+
"example": "{\"ThisMondayLocalDate\":\"2024-11-11\",\"LastMondayLocalDate\":\"2024-11-04\"}",
|
298
298
|
"member": "ExtraInfo",
|
299
299
|
"name": "ExtraInfo",
|
300
300
|
"output_required": false,
|
301
301
|
"type": "object",
|
302
|
-
"value_allowed_null":
|
302
|
+
"value_allowed_null": false
|
303
303
|
},
|
304
304
|
{
|
305
305
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -315,23 +315,23 @@
|
|
315
315
|
"members": [
|
316
316
|
{
|
317
317
|
"disabled": false,
|
318
|
-
"document": "
|
318
|
+
"document": "专属可用区当地时间本周一日期",
|
319
319
|
"example": "2024-01-22",
|
320
320
|
"member": "string",
|
321
321
|
"name": "ThisMondayLocalDate",
|
322
322
|
"output_required": false,
|
323
323
|
"type": "string",
|
324
|
-
"value_allowed_null":
|
324
|
+
"value_allowed_null": false
|
325
325
|
},
|
326
326
|
{
|
327
327
|
"disabled": false,
|
328
|
-
"document": "
|
328
|
+
"document": "专属可用区当地时间上周一日期",
|
329
329
|
"example": "2024-01-15",
|
330
330
|
"member": "string",
|
331
331
|
"name": "LastMondayLocalDate",
|
332
332
|
"output_required": false,
|
333
333
|
"type": "string",
|
334
|
-
"value_allowed_null":
|
334
|
+
"value_allowed_null": false
|
335
335
|
}
|
336
336
|
],
|
337
337
|
"usage": "out"
|
tccli/services/cvm/cvm_client.py
CHANGED
@@ -1317,6 +1317,58 @@ def doDescribeImageSharePermission(args, parsed_globals):
|
|
1317
1317
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1318
1318
|
|
1319
1319
|
|
1320
|
+
def doDescribeInstancesAttributes(args, parsed_globals):
|
1321
|
+
g_param = parse_global_arg(parsed_globals)
|
1322
|
+
|
1323
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1324
|
+
cred = credential.CVMRoleCredential()
|
1325
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1326
|
+
cred = credential.STSAssumeRoleCredential(
|
1327
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1328
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1329
|
+
)
|
1330
|
+
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):
|
1331
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1332
|
+
else:
|
1333
|
+
cred = credential.Credential(
|
1334
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1335
|
+
)
|
1336
|
+
http_profile = HttpProfile(
|
1337
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1338
|
+
reqMethod="POST",
|
1339
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1340
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1341
|
+
)
|
1342
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1343
|
+
if g_param[OptionsDefine.Language]:
|
1344
|
+
profile.language = g_param[OptionsDefine.Language]
|
1345
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1346
|
+
client = mod.CvmClient(cred, g_param[OptionsDefine.Region], profile)
|
1347
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1348
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1349
|
+
model = models.DescribeInstancesAttributesRequest()
|
1350
|
+
model.from_json_string(json.dumps(args))
|
1351
|
+
start_time = time.time()
|
1352
|
+
while True:
|
1353
|
+
rsp = client.DescribeInstancesAttributes(model)
|
1354
|
+
result = rsp.to_json_string()
|
1355
|
+
try:
|
1356
|
+
json_obj = json.loads(result)
|
1357
|
+
except TypeError as e:
|
1358
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1359
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1360
|
+
break
|
1361
|
+
cur_time = time.time()
|
1362
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1363
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1364
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1365
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1366
|
+
else:
|
1367
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1368
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1369
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1370
|
+
|
1371
|
+
|
1320
1372
|
def doDescribeRegions(args, parsed_globals):
|
1321
1373
|
g_param = parse_global_arg(parsed_globals)
|
1322
1374
|
|
@@ -5305,6 +5357,7 @@ ACTION_MAP = {
|
|
5305
5357
|
"DisassociateSecurityGroups": doDisassociateSecurityGroups,
|
5306
5358
|
"RemoveChcDeployVpc": doRemoveChcDeployVpc,
|
5307
5359
|
"DescribeImageSharePermission": doDescribeImageSharePermission,
|
5360
|
+
"DescribeInstancesAttributes": doDescribeInstancesAttributes,
|
5308
5361
|
"DescribeRegions": doDescribeRegions,
|
5309
5362
|
"DescribeInstancesModification": doDescribeInstancesModification,
|
5310
5363
|
"CreateKeyPair": doCreateKeyPair,
|
@@ -259,6 +259,13 @@
|
|
259
259
|
"output": "DescribeInstancesActionTimerResponse",
|
260
260
|
"status": "online"
|
261
261
|
},
|
262
|
+
"DescribeInstancesAttributes": {
|
263
|
+
"document": "获取指定实例的属性,目前支持查询实例自定义数据User-Data。",
|
264
|
+
"input": "DescribeInstancesAttributesRequest",
|
265
|
+
"name": "批量获取指定实例属性",
|
266
|
+
"output": "DescribeInstancesAttributesResponse",
|
267
|
+
"status": "online"
|
268
|
+
},
|
262
269
|
"DescribeInstancesModification": {
|
263
270
|
"document": "本接口 (DescribeInstancesModification) 用于查询指定实例支持调整的机型配置。",
|
264
271
|
"input": "DescribeInstancesModificationRequest",
|
@@ -1041,6 +1048,23 @@
|
|
1041
1048
|
],
|
1042
1049
|
"type": "object"
|
1043
1050
|
},
|
1051
|
+
"Attribute": {
|
1052
|
+
"document": "属性信息",
|
1053
|
+
"members": [
|
1054
|
+
{
|
1055
|
+
"disabled": false,
|
1056
|
+
"document": "实例的自定义数据。",
|
1057
|
+
"example": "TXlVc2VyRGF0YQo=\t",
|
1058
|
+
"member": "string",
|
1059
|
+
"name": "UserData",
|
1060
|
+
"output_required": false,
|
1061
|
+
"required": false,
|
1062
|
+
"type": "string",
|
1063
|
+
"value_allowed_null": false
|
1064
|
+
}
|
1065
|
+
],
|
1066
|
+
"usage": "both"
|
1067
|
+
},
|
1044
1068
|
"ChargePrepaid": {
|
1045
1069
|
"document": "描述预付费模式,即包年包月相关参数。包括购买时长和自动续费逻辑等。",
|
1046
1070
|
"members": [
|
@@ -3974,6 +3998,52 @@
|
|
3974
3998
|
],
|
3975
3999
|
"type": "object"
|
3976
4000
|
},
|
4001
|
+
"DescribeInstancesAttributesRequest": {
|
4002
|
+
"document": "DescribeInstancesAttributes请求参数结构体",
|
4003
|
+
"members": [
|
4004
|
+
{
|
4005
|
+
"disabled": false,
|
4006
|
+
"document": "需要获取的实例属性。可选值:\nUserData: 实例自定义数据",
|
4007
|
+
"example": "[\"UserData\"]",
|
4008
|
+
"member": "string",
|
4009
|
+
"name": "Attributes",
|
4010
|
+
"required": true,
|
4011
|
+
"type": "list"
|
4012
|
+
},
|
4013
|
+
{
|
4014
|
+
"disabled": false,
|
4015
|
+
"document": "实例ID列表",
|
4016
|
+
"example": "[\"ins-lyxxskp2\"]",
|
4017
|
+
"member": "string",
|
4018
|
+
"name": "InstanceIds",
|
4019
|
+
"required": true,
|
4020
|
+
"type": "list"
|
4021
|
+
}
|
4022
|
+
],
|
4023
|
+
"type": "object"
|
4024
|
+
},
|
4025
|
+
"DescribeInstancesAttributesResponse": {
|
4026
|
+
"document": "DescribeInstancesAttributes返回参数结构体",
|
4027
|
+
"members": [
|
4028
|
+
{
|
4029
|
+
"disabled": false,
|
4030
|
+
"document": "指定的实例属性列表",
|
4031
|
+
"example": "无",
|
4032
|
+
"member": "InstanceAttribute",
|
4033
|
+
"name": "InstanceSet",
|
4034
|
+
"output_required": true,
|
4035
|
+
"type": "list",
|
4036
|
+
"value_allowed_null": false
|
4037
|
+
},
|
4038
|
+
{
|
4039
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
4040
|
+
"member": "string",
|
4041
|
+
"name": "RequestId",
|
4042
|
+
"type": "string"
|
4043
|
+
}
|
4044
|
+
],
|
4045
|
+
"type": "object"
|
4046
|
+
},
|
3977
4047
|
"DescribeInstancesModificationRequest": {
|
3978
4048
|
"document": "DescribeInstancesModification请求参数结构体",
|
3979
4049
|
"members": [
|
@@ -4785,13 +4855,13 @@
|
|
4785
4855
|
},
|
4786
4856
|
{
|
4787
4857
|
"disabled": false,
|
4788
|
-
"document": "
|
4789
|
-
"example": "
|
4858
|
+
"document": "查询返回的维修任务列表。",
|
4859
|
+
"example": "无",
|
4790
4860
|
"member": "RepairTaskInfo",
|
4791
4861
|
"name": "RepairTaskInfoSet",
|
4792
4862
|
"output_required": true,
|
4793
4863
|
"type": "list",
|
4794
|
-
"value_allowed_null":
|
4864
|
+
"value_allowed_null": false
|
4795
4865
|
},
|
4796
4866
|
{
|
4797
4867
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -5169,13 +5239,22 @@
|
|
5169
5239
|
"type": "string"
|
5170
5240
|
},
|
5171
5241
|
{
|
5172
|
-
"disabled":
|
5173
|
-
"document": "
|
5242
|
+
"disabled": true,
|
5243
|
+
"document": "是否强制关机。本参数已弃用,推荐使用StopType,不可以与参数StopType同时使用。",
|
5174
5244
|
"example": "False",
|
5175
5245
|
"member": "bool",
|
5176
5246
|
"name": "ForceStop",
|
5177
5247
|
"required": false,
|
5178
5248
|
"type": "bool"
|
5249
|
+
},
|
5250
|
+
{
|
5251
|
+
"disabled": false,
|
5252
|
+
"document": "实例的关闭模式。取值范围:<br><li>SOFT_FIRST:表示在正常关闭失败后进行强制关闭</li><br><li>HARD:直接强制关闭</li><br><li>SOFT:仅软关机</li><br>默认取值:SOFT。",
|
5253
|
+
"example": "HARD",
|
5254
|
+
"member": "string",
|
5255
|
+
"name": "StopType",
|
5256
|
+
"required": false,
|
5257
|
+
"type": "string"
|
5179
5258
|
}
|
5180
5259
|
],
|
5181
5260
|
"type": "object"
|
@@ -7495,6 +7574,32 @@
|
|
7495
7574
|
],
|
7496
7575
|
"usage": "out"
|
7497
7576
|
},
|
7577
|
+
"InstanceAttribute": {
|
7578
|
+
"document": "实例属性",
|
7579
|
+
"members": [
|
7580
|
+
{
|
7581
|
+
"disabled": false,
|
7582
|
+
"document": "实例 ID。",
|
7583
|
+
"example": "ins-lyxxskp2",
|
7584
|
+
"member": "string",
|
7585
|
+
"name": "InstanceId",
|
7586
|
+
"output_required": false,
|
7587
|
+
"type": "string",
|
7588
|
+
"value_allowed_null": false
|
7589
|
+
},
|
7590
|
+
{
|
7591
|
+
"disabled": false,
|
7592
|
+
"document": "实例属性信息。",
|
7593
|
+
"example": "无",
|
7594
|
+
"member": "Attribute",
|
7595
|
+
"name": "Attributes",
|
7596
|
+
"output_required": false,
|
7597
|
+
"type": "object",
|
7598
|
+
"value_allowed_null": false
|
7599
|
+
}
|
7600
|
+
],
|
7601
|
+
"usage": "out"
|
7602
|
+
},
|
7498
7603
|
"InstanceChargePrepaid": {
|
7499
7604
|
"document": "描述了实例的计费模式",
|
7500
7605
|
"members": [
|
@@ -320,6 +320,14 @@
|
|
320
320
|
"title": "查询定时任务"
|
321
321
|
}
|
322
322
|
],
|
323
|
+
"DescribeInstancesAttributes": [
|
324
|
+
{
|
325
|
+
"document": "",
|
326
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstancesAttributes\n<公共请求参数>\n\n{\n \"Attributes\": [\n \"UserData\"\n ],\n \"InstanceIds\": [\n \"ins-pgklxcq0\"\n ]\n}",
|
327
|
+
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"Attributes\": {\n \"UserData\": \"TXlVc2VyRGF0YQo=\"\n },\n \"InstanceId\": \"ins-pgklxcq0\"\n }\n ],\n \"RequestId\": \"bd249418-331b-43c7-b872-3ae94fe84af9\"\n }\n}",
|
328
|
+
"title": "查询指定实例列表的实例属性"
|
329
|
+
}
|
330
|
+
],
|
323
331
|
"DescribeInstancesModification": [
|
324
332
|
{
|
325
333
|
"document": "查询指定实例支持调整的机型配置",
|