tccli-intl-en 3.0.1267.1__py2.py3-none-any.whl → 3.0.1269.1__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tccli/__init__.py +1 -1
- tccli/services/__init__.py +3 -0
- tccli/services/cvm/v20170312/api.json +43 -33
- tccli/services/cvm/v20170312/examples.json +12 -12
- tccli/services/dlc/dlc_client.py +114 -8
- tccli/services/dlc/v20210125/api.json +252 -7
- tccli/services/dlc/v20210125/examples.json +16 -0
- tccli/services/faceid/v20180301/examples.json +1 -1
- tccli/services/mdl/v20200326/api.json +41 -11
- tccli/services/mdl/v20200326/examples.json +16 -16
- tccli/services/mdp/v20200527/api.json +60 -14
- tccli/services/mdp/v20200527/examples.json +79 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +207 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mps/mps_client.py +212 -0
- tccli/services/mps/v20190612/api.json +417 -0
- tccli/services/mps/v20190612/examples.json +50 -0
- tccli/services/teo/v20220901/api.json +3 -3
- {tccli_intl_en-3.0.1267.1.dist-info → tccli_intl_en-3.0.1269.1.dist-info}/METADATA +2 -2
- {tccli_intl_en-3.0.1267.1.dist-info → tccli_intl_en-3.0.1269.1.dist-info}/RECORD +26 -22
- {tccli_intl_en-3.0.1267.1.dist-info → tccli_intl_en-3.0.1269.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1267.1.dist-info → tccli_intl_en-3.0.1269.1.dist-info}/WHEEL +0 -0
- {tccli_intl_en-3.0.1267.1.dist-info → tccli_intl_en-3.0.1269.1.dist-info}/entry_points.txt +0 -0
- {tccli_intl_en-3.0.1267.1.dist-info → tccli_intl_en-3.0.1269.1.dist-info}/top_level.txt +0 -0
tccli/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '3.0.
|
|
1
|
+
__version__ = '3.0.1269.1'
|
tccli/services/__init__.py
CHANGED
|
@@ -2315,7 +2315,7 @@
|
|
|
2315
2315
|
},
|
|
2316
2316
|
{
|
|
2317
2317
|
"disabled": false,
|
|
2318
|
-
"document": "
|
|
2318
|
+
"document": "Specifies the data disk type. for restrictions on data disk types, refer to [storage overview](https://www.tencentcloud.comom/document/product/213/4952?from_cn_redirect=1). valid values: <br /><li>LOCAL_BASIC: LOCAL disk</li> <li>LOCAL_SSD: LOCAL SSD</li><li>LOCAL_NVME: LOCAL NVME disk, which is closely related to InstanceType and cannot be specified</li><li>LOCAL_PRO: LOCAL HDD, which is closely related to InstanceType and cannot be specified</li><li>cloud_BASIC: BASIC cloud disk</li><li>cloud_PREMIUM: high-performance cloud block storage</li><li>cloud_SSD: SSD cloud disk</li><li>cloud_HSSD: enhanced SSD cloud disk</li> <li>cloud_TSSD: ultra-fast SSD cbs</li><li>cloud_BSSD: universal SSD cloud disk</li><br />default: LOCAL_BASIC.<br/><br />this parameter is invalid for the `ResizeInstanceDisk` api.",
|
|
2319
2319
|
"example": "CLOUD_SSD",
|
|
2320
2320
|
"member": "string",
|
|
2321
2321
|
"name": "DiskType",
|
|
@@ -2370,7 +2370,7 @@
|
|
|
2370
2370
|
},
|
|
2371
2371
|
{
|
|
2372
2372
|
"disabled": false,
|
|
2373
|
-
"document": "Custom CMK
|
|
2373
|
+
"document": "Custom CMK ID, value is UUID or similar to kms-abcd1234. used for encrypted cloud disk.\n\nThis parameter is currently only used for the `RunInstances` api.\nNote: This field may return null, indicating that no valid value is found.",
|
|
2374
2374
|
"example": "kms-abcd1234",
|
|
2375
2375
|
"member": "string",
|
|
2376
2376
|
"name": "KmsKeyId",
|
|
@@ -2381,7 +2381,7 @@
|
|
|
2381
2381
|
},
|
|
2382
2382
|
{
|
|
2383
2383
|
"disabled": false,
|
|
2384
|
-
"document": "
|
|
2384
|
+
"document": "Cloud disk performance (unit: MiB/s). specifies additional performance for cloud disks.\nCurrently only supports extreme cbs (CLOUD_TSSD) and enhanced SSD CLOUD disk (CLOUD_HSSD).\nNote: This field may return null, indicating that no valid value is found.",
|
|
2385
2385
|
"example": "20",
|
|
2386
2386
|
"member": "int64",
|
|
2387
2387
|
"name": "ThroughputPerformance",
|
|
@@ -2392,7 +2392,7 @@
|
|
|
2392
2392
|
},
|
|
2393
2393
|
{
|
|
2394
2394
|
"disabled": false,
|
|
2395
|
-
"document": "Specifies the
|
|
2395
|
+
"document": "Specifies the dedicated cluster ID belonging to.\nNote: This field may return null, indicating that no valid value is found.",
|
|
2396
2396
|
"example": "cdc-1648zauv",
|
|
2397
2397
|
"member": "string",
|
|
2398
2398
|
"name": "CdcId",
|
|
@@ -2403,7 +2403,7 @@
|
|
|
2403
2403
|
},
|
|
2404
2404
|
{
|
|
2405
2405
|
"disabled": false,
|
|
2406
|
-
"document": "
|
|
2406
|
+
"document": "Burstable performance.\n\n<B>Note: this field is in beta test.</b>.",
|
|
2407
2407
|
"example": "false",
|
|
2408
2408
|
"member": "bool",
|
|
2409
2409
|
"name": "BurstPerformance",
|
|
@@ -4430,7 +4430,7 @@
|
|
|
4430
4430
|
"members": [
|
|
4431
4431
|
{
|
|
4432
4432
|
"disabled": false,
|
|
4433
|
-
"document": "
|
|
4433
|
+
"document": "Specifies the GPU count of the instance. a value less than 1 indicates VGPU type, and a value larger than 1 indicates GPU passthrough type.",
|
|
4434
4434
|
"example": "1",
|
|
4435
4435
|
"member": "float",
|
|
4436
4436
|
"name": "GPUCount",
|
|
@@ -4440,7 +4440,7 @@
|
|
|
4440
4440
|
},
|
|
4441
4441
|
{
|
|
4442
4442
|
"disabled": false,
|
|
4443
|
-
"document": "GPU address
|
|
4443
|
+
"document": "Specifies the GPU address of the instance.",
|
|
4444
4444
|
"example": "['0000:18:00.0','0000:18:00.1']",
|
|
4445
4445
|
"member": "string",
|
|
4446
4446
|
"name": "GPUId",
|
|
@@ -4450,7 +4450,7 @@
|
|
|
4450
4450
|
},
|
|
4451
4451
|
{
|
|
4452
4452
|
"disabled": false,
|
|
4453
|
-
"document": "GPU type of the instance
|
|
4453
|
+
"document": "Specifies the GPU type of the instance.",
|
|
4454
4454
|
"example": "NVIDIA T4",
|
|
4455
4455
|
"member": "string",
|
|
4456
4456
|
"name": "GPUType",
|
|
@@ -5806,7 +5806,7 @@
|
|
|
5806
5806
|
},
|
|
5807
5807
|
{
|
|
5808
5808
|
"disabled": false,
|
|
5809
|
-
"document": "
|
|
5809
|
+
"document": "Instance memory capacity. unit: GiB.",
|
|
5810
5810
|
"example": "1",
|
|
5811
5811
|
"member": "int64",
|
|
5812
5812
|
"name": "Memory",
|
|
@@ -5816,7 +5816,7 @@
|
|
|
5816
5816
|
},
|
|
5817
5817
|
{
|
|
5818
5818
|
"disabled": false,
|
|
5819
|
-
"document": "Instance status.
|
|
5819
|
+
"document": "Instance business status. valid values:<br><li>NORMAL: indicates an instance in the NORMAL state</li><li>EXPIRED: indicates an EXPIRED instance</li><li>PROTECTIVELY_ISOLATED: PROTECTIVELY ISOLATED instance</li>.",
|
|
5820
5820
|
"example": "NORMAL",
|
|
5821
5821
|
"member": "string",
|
|
5822
5822
|
"name": "RestrictState",
|
|
@@ -5916,7 +5916,7 @@
|
|
|
5916
5916
|
},
|
|
5917
5917
|
{
|
|
5918
5918
|
"disabled": false,
|
|
5919
|
-
"document": "
|
|
5919
|
+
"document": "AUTO-Renewal flag. valid values:<br><li>`NOTIFY_AND_MANUAL_RENEW`: indicates that a notification of impending expiration is made but AUTO-renewal is not performed</li><li>`NOTIFY_AND_AUTO_RENEW`: indicates that a notification of impending expiration is made AND AUTO-renewal is performed</li><li>`DISABLE_NOTIFY_AND_MANUAL_RENEW`: indicates that notification that it is about to expire is not made AND AUTO-renewal is not performed.\nNote: this field is null in postpaid mode.",
|
|
5920
5920
|
"example": "NOTIFY_AND_MANUAL_RENEW",
|
|
5921
5921
|
"member": "string",
|
|
5922
5922
|
"name": "RenewFlag",
|
|
@@ -5976,7 +5976,7 @@
|
|
|
5976
5976
|
},
|
|
5977
5977
|
{
|
|
5978
5978
|
"disabled": false,
|
|
5979
|
-
"document": "Instance
|
|
5979
|
+
"document": "Instance status. for specific status types, see the instance status table (https://www.tencentcloud.comom/document/api/213/15753?from_cn_redirect=1#InstanceStatus).",
|
|
5980
5980
|
"example": "RUNNING",
|
|
5981
5981
|
"member": "string",
|
|
5982
5982
|
"name": "InstanceState",
|
|
@@ -5996,7 +5996,7 @@
|
|
|
5996
5996
|
},
|
|
5997
5997
|
{
|
|
5998
5998
|
"disabled": false,
|
|
5999
|
-
"document": "
|
|
5999
|
+
"document": "Shutdown billing mode of an instance.\n\nValid values: <br><li>KEEP_CHARGING: billing continues after shutdown</li><li>STOP_CHARGING: billing stops after shutdown</li><li>NOT_APPLICABLE: the instance is NOT shut down or stopping billing after shutdown is NOT APPLICABLE to the instance</li>.",
|
|
6000
6000
|
"example": "NOT_APPLICABLE",
|
|
6001
6001
|
"member": "string",
|
|
6002
6002
|
"name": "StopChargingMode",
|
|
@@ -6026,7 +6026,7 @@
|
|
|
6026
6026
|
},
|
|
6027
6027
|
{
|
|
6028
6028
|
"disabled": false,
|
|
6029
|
-
"document": "The latest operation status of the instance.
|
|
6029
|
+
"document": "The latest operation status of the instance. valid values:<br><li>SUCCESS: indicates that the operation succeeded</li><li>OPERATING: indicates that the operation is in progress</li><li>FAILED: indicates that the operation FAILED</li>.\nNote: This field may return null, indicating that no valid value is found.",
|
|
6030
6030
|
"example": "SUCCESS",
|
|
6031
6031
|
"member": "string",
|
|
6032
6032
|
"name": "LatestOperationState",
|
|
@@ -6046,7 +6046,7 @@
|
|
|
6046
6046
|
},
|
|
6047
6047
|
{
|
|
6048
6048
|
"disabled": false,
|
|
6049
|
-
"document": "
|
|
6049
|
+
"document": "Spread placement group ID.",
|
|
6050
6050
|
"example": "ps-l7sdunxx",
|
|
6051
6051
|
"member": "string",
|
|
6052
6052
|
"name": "DisasterRecoverGroupId",
|
|
@@ -6076,7 +6076,7 @@
|
|
|
6076
6076
|
},
|
|
6077
6077
|
{
|
|
6078
6078
|
"disabled": false,
|
|
6079
|
-
"document": "
|
|
6079
|
+
"document": "High-performance computing cluster ID.",
|
|
6080
6080
|
"example": "hpc-4dxxetpt",
|
|
6081
6081
|
"member": "string",
|
|
6082
6082
|
"name": "HpcClusterId",
|
|
@@ -6096,7 +6096,7 @@
|
|
|
6096
6096
|
},
|
|
6097
6097
|
{
|
|
6098
6098
|
"disabled": false,
|
|
6099
|
-
"document": "",
|
|
6099
|
+
"document": "Dedicated cluster ID where the instance is located.",
|
|
6100
6100
|
"example": "cluster-du3jken",
|
|
6101
6101
|
"member": "string",
|
|
6102
6102
|
"name": "DedicatedClusterId",
|
|
@@ -6106,7 +6106,7 @@
|
|
|
6106
6106
|
},
|
|
6107
6107
|
{
|
|
6108
6108
|
"disabled": false,
|
|
6109
|
-
"document": "
|
|
6109
|
+
"document": "Instance isolation type. valid values:<br><li>ARREAR: indicates arrears isolation<br></li><li>EXPIRE: indicates isolation upon expiration<br></li><li>MANMADE: indicates voluntarily refunded isolation<br></li><li>NOTISOLATED: indicates unisolated<br></li>.",
|
|
6110
6110
|
"example": "NOTISOLATED",
|
|
6111
6111
|
"member": "string",
|
|
6112
6112
|
"name": "IsolatedSource",
|
|
@@ -6116,7 +6116,7 @@
|
|
|
6116
6116
|
},
|
|
6117
6117
|
{
|
|
6118
6118
|
"disabled": false,
|
|
6119
|
-
"document": "GPU information.
|
|
6119
|
+
"document": "GPU information. if it is a gpu type instance, this value will be returned. for other type instances, it does not return.",
|
|
6120
6120
|
"example": "无",
|
|
6121
6121
|
"member": "GPUInfo",
|
|
6122
6122
|
"name": "GPUInfo",
|
|
@@ -6136,7 +6136,7 @@
|
|
|
6136
6136
|
},
|
|
6137
6137
|
{
|
|
6138
6138
|
"disabled": false,
|
|
6139
|
-
"document": "
|
|
6139
|
+
"document": "Instance destruction protection flag indicates whether an instance is allowed to be deleted through an api. value ranges from:<br><li>true: indicates that instance protection is enabled, deletion through apis is not allowed</li><li>false: indicates that instance protection is disabled, allow passage</li><br>default value: false.",
|
|
6140
6140
|
"example": "false",
|
|
6141
6141
|
"member": "bool",
|
|
6142
6142
|
"name": "DisableApiTermination",
|
|
@@ -6176,7 +6176,17 @@
|
|
|
6176
6176
|
},
|
|
6177
6177
|
{
|
|
6178
6178
|
"disabled": false,
|
|
6179
|
-
"document": "
|
|
6179
|
+
"document": "Custom metadata. this parameter corresponds to the metadata information specified when creating a CVM. **note: in beta test**.",
|
|
6180
|
+
"example": "无",
|
|
6181
|
+
"member": "Metadata",
|
|
6182
|
+
"name": "Metadata",
|
|
6183
|
+
"output_required": false,
|
|
6184
|
+
"type": "object",
|
|
6185
|
+
"value_allowed_null": false
|
|
6186
|
+
},
|
|
6187
|
+
{
|
|
6188
|
+
"disabled": false,
|
|
6189
|
+
"document": "Specifies the public IPv6 address bound to the instance.",
|
|
6180
6190
|
"example": "[\"240d:c000:f000:ac00:5460:6340:16aa:6\"]",
|
|
6181
6191
|
"member": "string",
|
|
6182
6192
|
"name": "PublicIPv6Addresses",
|
|
@@ -6606,7 +6616,7 @@
|
|
|
6606
6616
|
},
|
|
6607
6617
|
{
|
|
6608
6618
|
"disabled": false,
|
|
6609
|
-
"document": "
|
|
6619
|
+
"document": "Line type. for details on various types of lines and supported regions, refer to [EIP IP address types](https://www.tencentcloud.comom/document/product/1199/41646?from_cn_redirect=1). default value: BGP.\n<Li>BGP: specifies the general bgp line.</li>.\nFor a user with static single-line IP allowlist enabled, valid values include:.\n<Li>CMCC: china mobile.</li>.\n<Li>CTCC: china telecom</li>.\n<Li>CUCC: china unicom</li>.\nNote: The static single-line IP is only supported in some regions.\n\n",
|
|
6610
6620
|
"example": "BGP",
|
|
6611
6621
|
"member": "string",
|
|
6612
6622
|
"name": "InternetServiceProvider",
|
|
@@ -6617,7 +6627,7 @@
|
|
|
6617
6627
|
},
|
|
6618
6628
|
{
|
|
6619
6629
|
"disabled": false,
|
|
6620
|
-
"document": "
|
|
6630
|
+
"document": "Specifies the public IP type.\n\n<Li>WanIP: specifies the public ip address.</li>.\n<Li>HighQualityEIP: specifies a high quality ip. high quality ip is only supported in Singapore and hong kong (china).</li>.\n<li> AntiDDoSEIP: specifies the anti-ddos eip. only partial regions support anti-ddos eip. details visible in the [elastic IP product overview](https://www.tencentcloud.comom/document/product/1199/41646?from_cn_redirect=1).</li>.\nIf needed, assign a public IPv4 address to the resource by specifying the IPv4 address type.\n\nThis feature is in beta test in selected regions. submit a ticket for consultation (https://console.cloud.tencent.com/workorder/category) if needed.",
|
|
6621
6631
|
"example": "WanIP",
|
|
6622
6632
|
"member": "string",
|
|
6623
6633
|
"name": "IPv4AddressType",
|
|
@@ -6628,7 +6638,7 @@
|
|
|
6628
6638
|
},
|
|
6629
6639
|
{
|
|
6630
6640
|
"disabled": false,
|
|
6631
|
-
"document": "Indicates the type of
|
|
6641
|
+
"document": "Indicates the type of elastic public IPv6.\n<Li>EIPv6: elastic ip version 6.</li>.\n<Li>HighQualityEIPv6: specifies the high quality ipv6. highqualityeipv6 is only supported in hong kong (china).</li>.\nIf needed, assign an elastic IPv6 address for resource allocation.\n\nThis feature is in beta test in selected regions. submit a ticket for consultation (https://console.cloud.tencent.com/workorder/category) if needed.",
|
|
6632
6642
|
"example": "EIPv6",
|
|
6633
6643
|
"member": "string",
|
|
6634
6644
|
"name": "IPv6AddressType",
|
|
@@ -6639,7 +6649,7 @@
|
|
|
6639
6649
|
},
|
|
6640
6650
|
{
|
|
6641
6651
|
"disabled": false,
|
|
6642
|
-
"document": "
|
|
6652
|
+
"document": "DDoS protection package unique ID. this field is required when applying for a ddos protection IP.\n",
|
|
6643
6653
|
"example": "bgp-00000000",
|
|
6644
6654
|
"member": "string",
|
|
6645
6655
|
"name": "AntiDDoSPackageId",
|
|
@@ -7508,7 +7518,7 @@
|
|
|
7508
7518
|
"members": [
|
|
7509
7519
|
{
|
|
7510
7520
|
"disabled": false,
|
|
7511
|
-
"document": "Custom metadata key
|
|
7521
|
+
"document": "Custom metadata key, consisting of uppercase letters (A-Z), lowercase letters (A-Z), digits (0-9), underscores (_), or hyphens (-), with a size limit of 128 bytes.",
|
|
7512
7522
|
"example": "\"key\"",
|
|
7513
7523
|
"member": "string",
|
|
7514
7524
|
"name": "Key",
|
|
@@ -7519,7 +7529,7 @@
|
|
|
7519
7529
|
},
|
|
7520
7530
|
{
|
|
7521
7531
|
"disabled": false,
|
|
7522
|
-
"document": "
|
|
7532
|
+
"document": "Custom metadata value. The upper limit of message size is 256 KB.",
|
|
7523
7533
|
"example": "\"value\"",
|
|
7524
7534
|
"member": "string",
|
|
7525
7535
|
"name": "Value",
|
|
@@ -8304,7 +8314,7 @@
|
|
|
8304
8314
|
},
|
|
8305
8315
|
{
|
|
8306
8316
|
"disabled": false,
|
|
8307
|
-
"document": "
|
|
8317
|
+
"document": "Instance'S project ID. obtain this parameter by calling the `ProjectId` field in the return value of [DescribeProject](https://www.tencentcloud.comom/document/api/651/78725?from_cn_redirect=1). default value 0 means default project.",
|
|
8308
8318
|
"example": "0",
|
|
8309
8319
|
"member": "int64",
|
|
8310
8320
|
"name": "ProjectId",
|
|
@@ -8315,7 +8325,7 @@
|
|
|
8315
8325
|
},
|
|
8316
8326
|
{
|
|
8317
8327
|
"disabled": false,
|
|
8318
|
-
"document": "ID list
|
|
8328
|
+
"document": "Specifies the dedicated host ID list for instance ownership, only used for input parameters. if you purchase a dedicated host and specify this parameter, instances you purchase will be randomly deployed on these dedicated hosts. obtain this parameter by calling the `HostId` field in the return value of [DescribeHosts](https://www.tencentcloud.comom/document/api/213/16474?from_cn_redirect=1).",
|
|
8319
8329
|
"example": "[\"host-o5i742go\"]",
|
|
8320
8330
|
"member": "string",
|
|
8321
8331
|
"name": "HostIds",
|
|
@@ -10244,8 +10254,8 @@
|
|
|
10244
10254
|
},
|
|
10245
10255
|
{
|
|
10246
10256
|
"disabled": false,
|
|
10247
|
-
"document": "
|
|
10248
|
-
"example": "disk-
|
|
10257
|
+
"document": "System disk ID.\nCurrently, this parameter is only used for response parameters in query apis such as [DescribeInstances](https://www.tencentcloud.comom/document/product/213/15728?from_cn_redirect=1) and is not applicable to request parameters in write apis such as [RunInstances](https://www.tencentcloud.comom/document/product/213/15730?from_cn_redirect=1).",
|
|
10258
|
+
"example": "disk-xyzw1a3x",
|
|
10249
10259
|
"member": "string",
|
|
10250
10260
|
"name": "DiskId",
|
|
10251
10261
|
"output_required": false,
|
|
@@ -10266,7 +10276,7 @@
|
|
|
10266
10276
|
},
|
|
10267
10277
|
{
|
|
10268
10278
|
"disabled": false,
|
|
10269
|
-
"document": "Specifies the
|
|
10279
|
+
"document": "Specifies the dedicated cluster ID belonging to.\nNote: This field may return null, indicating that no valid value is found.",
|
|
10270
10280
|
"example": "cdc-xxxxxx",
|
|
10271
10281
|
"member": "string",
|
|
10272
10282
|
"name": "CdcId",
|
|
@@ -10421,7 +10431,7 @@
|
|
|
10421
10431
|
"members": [
|
|
10422
10432
|
{
|
|
10423
10433
|
"disabled": false,
|
|
10424
|
-
"document": "
|
|
10434
|
+
"document": "vpc ID, such as `vpc-xxx`. valid vpc ids can be queried by logging in to the console (https://console.cloud.tencent.com/vpc/vpc?rid=1) or by calling the API [DescribeVpcs](https://www.tencentcloud.comom/document/product/215/15778?from_cn_redirect=1) and obtaining the `VpcId` field from the API response. if both VpcId and SubnetId are input as `DEFAULT` when creating an instance, the DEFAULT vpc network will be forcibly used.",
|
|
10425
10435
|
"example": "vpc-2ij",
|
|
10426
10436
|
"member": "string",
|
|
10427
10437
|
"name": "VpcId",
|
|
@@ -230,22 +230,22 @@
|
|
|
230
230
|
],
|
|
231
231
|
"DescribeInstances": [
|
|
232
232
|
{
|
|
233
|
-
"document": "This example shows you how to
|
|
234
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\":
|
|
235
|
-
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Uuid\": \"e85f1388-0422-410d-8e50-bef540e78c18\",\n \"InstanceState\": \"RUNNING\",\n \"LatestOperationState\": \"SUCCESS\",\n \"LoginSettings\": {\n \"KeyIds\": [\n \"skey-b4vakk62\"\n ]\n },\n \"IPv6Addresses\": [\n \"2001:0db8:86a3:08d3:1319:8a2e:0370:7344\"\n ],\n \"RestrictState\": \"PROTECTIVELY_ISOLATED\",\n \"ExpiredTime\": \"2020-09-22T00:00:00+00:00\",\n \"DisasterRecoverGroupId\": \"\",\n \"Memory\": 1,\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"CPU\": 1,\n \"RdmaIpAddresses\": [],\n \"CamRoleName\": \"\",\n \"PublicIpAddresses\": [\n \"123.207.11.190\"\n ],\n \"Tags\": [\n {\n \"Value\": \"
|
|
236
|
-
"title": "
|
|
233
|
+
"document": "This example shows you how to view instance information in Guangzhou Zone 3 or Guangzhou Zone 4 and limit return results to one.",
|
|
234
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"ap-guangzhou-3\",\n \"ap-guangzhou-4\"\n ],\n \"Name\": \"zone\"\n }\n ],\n \"Offset\": 0\n}",
|
|
235
|
+
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Uuid\": \"e85f1388-0422-410d-8e50-bef540e78c18\",\n \"InstanceState\": \"RUNNING\",\n \"DisableApiTermination\": false,\n \"LatestOperationErrorMsg\": \"\",\n \"DefaultLoginPort\": 22,\n \"LicenseType\": \"TencentCloud\",\n \"DefaultLoginUser\": \"root\",\n \"LatestOperationState\": \"SUCCESS\",\n \"LoginSettings\": {\n \"KeyIds\": [\n \"skey-b4vakk62\"\n ]\n },\n \"IPv6Addresses\": [\n \"2001:0db8:86a3:08d3:1319:8a2e:0370:7344\"\n ],\n \"DedicatedClusterId\": \"\",\n \"RestrictState\": \"PROTECTIVELY_ISOLATED\",\n \"ExpiredTime\": \"2020-09-22T00:00:00+00:00\",\n \"DisasterRecoverGroupId\": \"\",\n \"Memory\": 1,\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"CPU\": 1,\n \"RdmaIpAddresses\": [],\n \"CamRoleName\": \"\",\n \"PublicIpAddresses\": [\n \"123.207.11.190\"\n ],\n \"Tags\": [\n {\n \"Value\": \"myKey\",\n \"Key\": \"myValue\"\n }\n ],\n \"InstanceId\": \"ins-xlsyru2j\",\n \"ImageId\": \"img-8toqc6s3\",\n \"StopChargingMode\": \"NOT_APPLICABLE\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"InstanceType\": \"S2.SMALL2\",\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"CdcId\": \"cdc-xxxxxxxx\",\n \"DiskId\": \"disk-czsodtl1\",\n \"DiskType\": \"CLOUD_SSD\"\n },\n \"Placement\": {\n \"HostId\": \"host-h3m57oik\",\n \"ProjectId\": 1174660,\n \"HostIds\": [],\n \"Zone\": \"ap-guangzhou-3\"\n },\n \"PrivateIpAddresses\": [\n \"172.16.32.78\"\n ],\n \"OsName\": \"CentOS 7.4 64bit\",\n \"SecurityGroupIds\": [\n \"sg-p1ezv4wz\"\n ],\n \"InstanceName\": \"myInstance\",\n \"DataDisks\": [\n {\n \"DeleteWithInstance\": true,\n \"Encrypt\": true,\n \"CdcId\": \"cdc-xxxxxxxx\",\n \"DiskType\": \"CLOUD_SSD\",\n \"ThroughputPerformance\": 0,\n \"KmsKeyId\": null,\n \"DiskSize\": 50,\n \"DiskId\": \"disk-bzsodtn1\"\n }\n ],\n \"IsolatedSource\": \"NOTISOLATED\",\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-mv4sn55k\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 1,\n \"VpcId\": \"vpc-m0cnatxj\",\n \"PrivateIpAddresses\": [\n \"172.16.3.59\"\n ]\n },\n \"LatestOperationRequestId\": \"c7de1287-061d-4ace-8caf-6ad8e5a2f29a\",\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 1\n },\n \"HpcClusterId\": \"\",\n \"LatestOperation\": \"ResetInstancesType\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"d655191e-a39d-43d2-8349-8c3f2bf4b327\"\n }\n}",
|
|
236
|
+
"title": "View Instance List"
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
|
-
"document": "This example shows you how to query
|
|
240
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\":
|
|
241
|
-
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Uuid\": \"68b510db-b4c1-4630-a62b-73d0c7c970f9\",\n \"InstanceState\": \"RUNNING\",\n \"LatestOperationState\": \"SUCCESS\",\n \"OsName\": \"CentOS 7.6 64bit\",\n \"CreatedTime\": \"2020-03-10T02:43:51Z\",\n \"RestrictState\": \"NORMAL\",\n \"ExpiredTime\": \"2020-04-10T02:47:36Z\",\n \"DisasterRecoverGroupId\": \"\",\n \"Memory\": 1,\n \"IPv6Addresses\": null,\n \"CPU\": 1,\n \"CamRoleName\": \"\",\n \"PublicIpAddresses\": [\n \"123.207.11.190\"\n ],\n \"Tags\": [\n {\n \"Value\": \"shenzhen\",\n \"Key\": \"city\"\n }\n ],\n \"InstanceId\": \"ins-9bxebleo\",\n \"ImageId\": \"img-9qabwvbn\",\n \"StopChargingMode\": \"NOT_APPLICABLE\",\n \"InstanceChargeType\": \"PREPAID\",\n \"InstanceType\": \"S1.SMALL1\",\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskId\": \"disk-nucurerk\",\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"IsolatedSource\": \"NOTISOLATED\",\n \"Placement\": {\n \"ProjectId\": 1174660,\n \"
|
|
242
|
-
"title": "Querying
|
|
239
|
+
"document": "This example shows you how to query instances bound with the tag key-value pair (city:shenzhen).",
|
|
240
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"shenzhen\"\n ],\n \"Name\": \"tag:city\"\n }\n ],\n \"Offset\": 0\n}",
|
|
241
|
+
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Uuid\": \"68b510db-b4c1-4630-a62b-73d0c7c970f9\",\n \"InstanceState\": \"RUNNING\",\n \"DisableApiTermination\": false,\n \"LatestOperationErrorMsg\": \"\",\n \"DefaultLoginPort\": 22,\n \"LicenseType\": \"TencentCloud\",\n \"DefaultLoginUser\": \"root\",\n \"LatestOperationState\": \"SUCCESS\",\n \"OsName\": \"CentOS 7.6 64bit\",\n \"CreatedTime\": \"2020-03-10T02:43:51Z\",\n \"RestrictState\": \"NORMAL\",\n \"ExpiredTime\": \"2020-04-10T02:47:36Z\",\n \"DisasterRecoverGroupId\": \"\",\n \"Memory\": 1,\n \"IPv6Addresses\": null,\n \"CPU\": 1,\n \"CamRoleName\": \"\",\n \"PublicIpAddresses\": [\n \"123.207.11.190\"\n ],\n \"Tags\": [\n {\n \"Value\": \"shenzhen\",\n \"Key\": \"city\"\n }\n ],\n \"InstanceId\": \"ins-9bxebleo\",\n \"ImageId\": \"img-9qabwvbn\",\n \"StopChargingMode\": \"NOT_APPLICABLE\",\n \"InstanceChargeType\": \"PREPAID\",\n \"InstanceType\": \"S1.SMALL1\",\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskId\": \"disk-nucurerk\",\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"IsolatedSource\": \"NOTISOLATED\",\n \"Placement\": {\n \"ProjectId\": 1174660,\n \"Zone\": \"ap-guangzhou-3\"\n },\n \"PrivateIpAddresses\": [\n \"172.16.32.78\"\n ],\n \"LoginSettings\": {\n \"KeyIds\": null\n },\n \"SecurityGroupIds\": [\n \"sg-p1ezv4wz\"\n ],\n \"DedicatedClusterId\": \"\",\n \"InstanceName\": \"Test instance\",\n \"DataDisks\": [],\n \"VirtualPrivateCloud\": {\n \"Ipv6AddressCount\": 1,\n \"PrivateIpAddresses\": [\n \"172.16.3.59\"\n ],\n \"SubnetId\": \"subnet-a2676p0e\",\n \"AsVpcGateway\": false,\n \"VpcId\": \"vpc-g7wzcv7n\"\n },\n \"LatestOperationRequestId\": \"3554eb5b-1cfa-471a-ae76-dc436c9d43e8\",\n \"InternetAccessible\": {\n \"InternetMaxBandwidthOut\": 1,\n \"InternetChargeType\": \"BANDWIDTH_PREPAID\"\n },\n \"RdmaIpAddresses\": [],\n \"HpcClusterId\": \"\",\n \"LatestOperation\": \"RenewInstances\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"62DDFFC6-FDB5-44F7-20A6-59152E3D129A\"\n }\n}",
|
|
242
|
+
"title": "Querying Instances Bound to Tags"
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
|
-
"document": "This example shows you how to
|
|
246
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\":
|
|
247
|
-
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Uuid\": \"e85f1388-0422-410d-8e50-bef540e78c18\",\n \"InstanceState\": \"RUNNING\",\n \"LatestOperationState\": \"OPERATING\",\n \"LoginSettings\": {\n \"KeyIds\": [\n \"skey-b4vakk62\"\n ]\n },\n \"IPv6Addresses\": [\n \"2001:0db8:86a3:08d3:1319:8a2e:0370:7344\"\n ],\n \"RestrictState\": \"PROTECTIVELY_ISOLATED\",\n \"ExpiredTime\": \"2020-09-22T00:00:00+00:00\",\n \"DisasterRecoverGroupId\": \"
|
|
248
|
-
"title": "Querying the
|
|
245
|
+
"document": "This example shows you how to query the instance status after initiating StopInstances. You can check that the LatestOperation of the instance is StopInstances and the LatestOperationState is OPERATING using DescribeInstances.",
|
|
246
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<Common request parameters>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"ap-guangzhou-3\",\n \"ap-guangzhou-4\"\n ],\n \"Name\": \"zone\"\n }\n ],\n \"Offset\": 0\n}",
|
|
247
|
+
"output": "{\n \"Response\": {\n \"InstanceSet\": [\n {\n \"RenewFlag\": \"NOTIFY_AND_MANUAL_RENEW\",\n \"Uuid\": \"e85f1388-0422-410d-8e50-bef540e78c18\",\n \"InstanceState\": \"RUNNING\",\n \"DisableApiTermination\": false,\n \"LatestOperationErrorMsg\": \"\",\n \"DefaultLoginPort\": 22,\n \"LicenseType\": \"TencentCloud\",\n \"DefaultLoginUser\": \"root\",\n \"LatestOperationState\": \"OPERATING\",\n \"LoginSettings\": {\n \"KeyIds\": [\n \"skey-b4vakk62\"\n ]\n },\n \"IPv6Addresses\": [\n \"2001:0db8:86a3:08d3:1319:8a2e:0370:7344\"\n ],\n \"RestrictState\": \"PROTECTIVELY_ISOLATED\",\n \"ExpiredTime\": \"2020-09-22T00:00:00+00:00\",\n \"DisasterRecoverGroupId\": \"ps-xxxxxxxx\",\n \"Memory\": 1,\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"CPU\": 1,\n \"RdmaIpAddresses\": [],\n \"CamRoleName\": \"\",\n \"DedicatedClusterId\": \"\",\n \"PublicIpAddresses\": [\n \"123.207.11.190\"\n ],\n \"Tags\": [\n {\n \"Value\": \"myKey\",\n \"Key\": \"myValue\"\n }\n ],\n \"InstanceId\": \"ins-xlsyru2j\",\n \"ImageId\": \"img-8toqc6s3\",\n \"StopChargingMode\": \"NOT_APPLICABLE\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"InstanceType\": \"S2.SMALL2\",\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"CdcId\": \"cdc-xxxxxxxx\",\n \"DiskId\": \"disk-czsodtl1\",\n \"DiskType\": \"CLOUD_SSD\"\n },\n \"Placement\": {\n \"HostId\": \"host-h3m57oik\",\n \"ProjectId\": 1174660,\n \"HostIds\": [],\n \"Zone\": \"ap-guangzhou-3\"\n },\n \"PrivateIpAddresses\": [\n \"172.16.32.78\"\n ],\n \"OsName\": \"CentOS 7.4 64bit\",\n \"SecurityGroupIds\": [\n \"sg-p1ezv4wz\"\n ],\n \"InstanceName\": \"myInstance\",\n \"DataDisks\": [\n {\n \"DeleteWithInstance\": true,\n \"Encrypt\": true,\n \"CdcId\": \"cdc-xxxxxxxx\",\n \"DiskType\": \"CLOUD_SSD\",\n \"ThroughputPerformance\": 0,\n \"KmsKeyId\": null,\n \"DiskSize\": 50,\n \"DiskId\": \"disk-bzsodtn1\"\n }\n ],\n \"IsolatedSource\": \"NOTISOLATED\",\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-mv4sn55k\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 1,\n \"VpcId\": \"vpc-m0cnatxj\",\n \"PrivateIpAddresses\": [\n \"172.16.3.59\"\n ]\n },\n \"LatestOperationRequestId\": \"c7de1287-061d-4ace-8caf-6ad8e5a2f29a\",\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 1\n },\n \"HpcClusterId\": \"\",\n \"LatestOperation\": \"StopInstances\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"d655191e-a39d-43d2-8349-8c3f2bf4b327\"\n }\n}",
|
|
248
|
+
"title": "Querying the Latest Operation on an Instance"
|
|
249
249
|
}
|
|
250
250
|
],
|
|
251
251
|
"DescribeInstancesAttributes": [
|