tccli 3.0.1392.1__py2.py3-none-any.whl → 3.0.1394.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 +2 -1
- tccli/services/ai3d/v20250513/api.json +4 -4
- tccli/services/apm/apm_client.py +53 -0
- tccli/services/apm/v20210622/api.json +354 -0
- tccli/services/apm/v20210622/examples.json +8 -0
- tccli/services/billing/billing_client.py +326 -8
- tccli/services/billing/v20180709/api.json +2120 -187
- tccli/services/billing/v20180709/examples.json +48 -0
- tccli/services/ccc/v20200210/api.json +88 -10
- tccli/services/cdb/v20170320/api.json +1 -1
- tccli/services/cdn/v20180606/api.json +46 -9
- tccli/services/clb/v20180317/api.json +9 -0
- tccli/services/csip/v20221121/api.json +1 -1
- tccli/services/cvm/cvm_client.py +0 -212
- tccli/services/cvm/v20170312/api.json +80 -842
- tccli/services/cvm/v20170312/examples.json +24 -56
- tccli/services/dbbrain/dbbrain_client.py +136 -30
- tccli/services/dbbrain/v20210527/api.json +243 -0
- tccli/services/dbbrain/v20210527/examples.json +16 -0
- tccli/services/dsgc/v20190723/api.json +73 -15
- tccli/services/eb/v20210416/api.json +28 -1
- tccli/services/eb/v20210416/examples.json +1 -1
- tccli/services/es/es_client.py +53 -0
- tccli/services/es/v20180416/api.json +182 -0
- tccli/services/es/v20180416/examples.json +8 -0
- tccli/services/gs/gs_client.py +216 -4
- tccli/services/gs/v20191118/api.json +201 -0
- tccli/services/gs/v20191118/examples.json +32 -0
- tccli/services/gwlb/v20240906/api.json +70 -0
- tccli/services/iai/v20180301/api.json +33 -24
- tccli/services/iai/v20180301/examples.json +4 -4
- tccli/services/lcic/v20220817/api.json +49 -3
- tccli/services/lke/lke_client.py +53 -0
- tccli/services/lke/v20231130/api.json +452 -15
- tccli/services/lke/v20231130/examples.json +8 -0
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/mna/v20210119/api.json +10 -1
- tccli/services/mna/v20210119/examples.json +1 -1
- tccli/services/mps/v20190612/api.json +19 -0
- tccli/services/oceanus/oceanus_client.py +212 -0
- tccli/services/oceanus/v20190422/api.json +294 -0
- tccli/services/oceanus/v20190422/examples.json +32 -0
- tccli/services/ocr/v20181119/api.json +2 -2
- tccli/services/redis/v20180412/api.json +63 -33
- tccli/services/redis/v20180412/examples.json +1 -1
- tccli/services/sms/v20190711/api.json +1 -1
- tccli/services/sms/v20210111/api.json +1 -1
- tccli/services/sqlserver/v20180328/api.json +15 -5
- tccli/services/sqlserver/v20180328/examples.json +1 -1
- tccli/services/tat/v20201028/api.json +12 -2
- tccli/services/tcss/v20201101/api.json +6 -6
- tccli/services/tcss/v20201101/examples.json +1 -1
- tccli/services/tione/v20211111/api.json +2 -2
- tccli/services/trocket/v20230308/api.json +4 -4
- tccli/services/tsf/v20180326/api.json +2 -2
- tccli/services/vod/v20180717/api.json +7 -7
- tccli/services/vpc/v20170312/api.json +3 -3
- tccli/services/vtc/v20240223/api.json +1 -1
- tccli/services/waf/v20180125/api.json +8 -8
- tccli/services/waf/v20180125/examples.json +1 -1
- tccli/services/wedata/v20250806/api.json +13645 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +5031 -1157
- {tccli-3.0.1392.1.dist-info → tccli-3.0.1394.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1392.1.dist-info → tccli-3.0.1394.1.dist-info}/RECORD +69 -67
- {tccli-3.0.1392.1.dist-info → tccli-3.0.1394.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1392.1.dist-info → tccli-3.0.1394.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1392.1.dist-info → tccli-3.0.1394.1.dist-info}/license_files/LICENSE +0 -0
@@ -2,8 +2,8 @@
|
|
2
2
|
"actions": {
|
3
3
|
"AllocateHosts": [
|
4
4
|
{
|
5
|
-
"document": "购买付费模式为包年包月的CDH
|
6
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AllocateHosts\n<公共请求参数>\n\n{\n \"HostChargeType\": \"PREPAID\",\n \"HostCount\": \"1\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-
|
5
|
+
"document": "购买付费模式为包年包月的CDH实例,指定位置在广州六区,购买一个月,到期自动续费,实例机型为HS1,购买一台",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: AllocateHosts\n<公共请求参数>\n\n{\n \"HostChargeType\": \"PREPAID\",\n \"HostCount\": \"1\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-6\"\n },\n \"HostType\": \"HS1\",\n \"HostChargePrepaid\": {\n \"RenewFlag\": \"NOTIFY_AND_AUTO_RENEW\",\n \"Period\": \"1\"\n }\n}",
|
7
7
|
"output": "{\n \"Response\": {\n \"HostIdSet\": [\n \"host-lan4lb2k\"\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
8
8
|
"title": "包年包月CDH实例购买"
|
9
9
|
}
|
@@ -82,16 +82,16 @@
|
|
82
82
|
],
|
83
83
|
"CreateLaunchTemplate": [
|
84
84
|
{
|
85
|
-
"document": "只传必传的Zone、镜像ID和启动模板ID
|
86
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLaunchTemplate\n<公共请求参数>\n\n{\n \"LaunchTemplateName\": \"myTemplate\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-
|
85
|
+
"document": "只传必传的Zone、镜像ID和启动模板ID,其他均采用系统默认值,具体配置如下:实例所在位置为广州六区,镜像ID为:img-pmqg1cw7,实例启动模板名称:myTemplate",
|
86
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLaunchTemplate\n<公共请求参数>\n\n{\n \"LaunchTemplateName\": \"myTemplate\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-6\"\n },\n \"ImageId\": \"img-pmqg1cw7\"\n}",
|
87
87
|
"output": "{\n \"Response\": {\n \"LaunchTemplateId\": \"lt-lobxe2yo\",\n \"RequestId\": \"9b4ad85f-1657-4445-111d-3c0a9fbec309\"\n }\n}",
|
88
88
|
"title": "使用最简单参数创建实例启动模板"
|
89
89
|
}
|
90
90
|
],
|
91
91
|
"CreateLaunchTemplateVersion": [
|
92
92
|
{
|
93
|
-
"document": "
|
94
|
-
"input": "https://cvm.tencentcloudapi.com/?Action=CreateLaunchTemplateVersion\n&Placement.Zone=ap-guangzhou-
|
93
|
+
"document": "本示例使用最少的参数,基于默认启动模板版本号创建新的版本。这里将默认版本中的实例创建位置选择为广州六区",
|
94
|
+
"input": "https://cvm.tencentcloudapi.com/?Action=CreateLaunchTemplateVersion\n&Placement.Zone=ap-guangzhou-6\n&LaunchTemplateId=lt-lobxe2yo\n&<公共请求参数>",
|
95
95
|
"output": "{\n \"Response\": {\n \"LaunchTemplateVersionNumber\": 7,\n \"RequestId\": \"9b4ad85f-1657-4445-111d-3c0a9fbec309\"\n }\n}",
|
96
96
|
"title": "创建实例启动模板新版本"
|
97
97
|
}
|
@@ -162,7 +162,7 @@
|
|
162
162
|
{
|
163
163
|
"document": "查询用户云主机、各个地域配额等数据。",
|
164
164
|
"input": "https://cvm.tencentcloudapi.com/?Action=DescribeAccountQuota\n&<公共请求参数>",
|
165
|
-
"output": "{\n \"Response\": {\n \"AccountQuotaOverview\": {\n \"Region\": \"ap-guangzhou\",\n \"AccountQuota\": {\n \"PostPaidQuotaSet\": [\n {\n \"UsedQuota\": 0,\n \"RemainingQuota\": 288,\n \"TotalQuota\": 288,\n \"Zone\": \"ap-guangzhou-
|
165
|
+
"output": "{\n \"Response\": {\n \"AccountQuotaOverview\": {\n \"Region\": \"ap-guangzhou\",\n \"AccountQuota\": {\n \"PostPaidQuotaSet\": [\n {\n \"UsedQuota\": 0,\n \"RemainingQuota\": 288,\n \"TotalQuota\": 288,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"UsedQuota\": 2,\n \"RemainingQuota\": 1248,\n \"TotalQuota\": 1250,\n \"Zone\": \"ap-guangzhou-4\"\n }\n ],\n \"DisasterRecoverGroupQuotaSet\": [\n {\n \"CvmInRackGroupQuota\": 30,\n \"GroupQuota\": 10,\n \"CvmInHostGroupQuota\": 50,\n \"CurrentNum\": 0,\n \"CvmInSwitchGroupQuota\": 20\n }\n ],\n \"PrePaidQuotaSet\": [\n {\n \"UsedQuota\": 0,\n \"OnceQuota\": 300,\n \"Zone\": \"ap-guangzhou-3\",\n \"TotalQuota\": 255,\n \"RemainingQuota\": 255\n },\n {\n \"UsedQuota\": 0,\n \"OnceQuota\": 300,\n \"Zone\": \"ap-guangzhou-4\",\n \"TotalQuota\": 222,\n \"RemainingQuota\": 222\n }\n ],\n \"SpotPaidQuotaSet\": [\n {\n \"UsedQuota\": 0,\n \"RemainingQuota\": 244,\n \"TotalQuota\": 244,\n \"Zone\": \"ap-guangzhou-3\"\n },\n {\n \"UsedQuota\": 4,\n \"RemainingQuota\": 195,\n \"TotalQuota\": 199,\n \"Zone\": \"ap-guangzhou-4\"\n }\n ],\n \"ImageQuotaSet\": [\n {\n \"UsedQuota\": 0,\n \"TotalQuota\": 10\n }\n ]\n }\n },\n \"RequestId\": \"7f117776-3d20-4f00-839b-b22b04625f47\",\n \"AppId\": 251007416\n }\n}",
|
166
166
|
"title": "查询用户概览数据"
|
167
167
|
}
|
168
168
|
],
|
@@ -178,7 +178,7 @@
|
|
178
178
|
{
|
179
179
|
"document": "根据CHC物理服务器ID查看实例",
|
180
180
|
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeChcHosts\n<公共请求参数>\n\n{\n \"ChcIds\": [\n \"chc-1a2b3c4d\"\n ]\n}",
|
181
|
-
"output": "{\n \"Response\": {\n \"ChcHostSet\": [\n {\n \"BmcIp\": \"10.0.0.17\",\n \"BmcMAC\": \"52:54:00:71:B5:A1\",\n \"BmcSecurityGroupIds\": [\n \"sg-8l03md6z\"\n ],\n \"BmcVirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-hmpeps7u\",\n \"VpcId\": \"vpc-b9y7wgix\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 0,\n \"PrivateIpAddresses\": [\n \"10.10.2.4\"\n ]\n },\n \"CPU\": 64,\n \"ChcId\": \"chc-1a2b3c4d\",\n \"ChcInstanceFamily\": \"CHCS5\",\n \"ChcInstanceFamilyName\": \"高性能计算型CHCS5\",\n \"ChcInstanceType\": \"CHCS5.128C384M\",\n \"CreatedTime\": \"2024-07-19 16:41:20\",\n \"CvmInstanceId\": \"\",\n \"DeployExtraConfig\": {\n \"BootFile\": \"pxelinux.0\",\n \"BootType\": \"x86_uefi\",\n \"MiniOsType\": \"public\",\n \"NextServerAddress\": \"169.254.68.10\"\n },\n \"DeployIp\": \"172.16.0.17\",\n \"DeployMAC\": \"52:54:00:41:8D:7B\",\n \"DeploySecurityGroupIds\": [\n \"sg-8l03md6z\"\n ],\n \"DeployVirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-pad8nabc\",\n \"VpcId\": \"vpc-gbgzjb6r\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 0,\n \"PrivateIpAddresses\": [\n \"10.10.2.4\"\n ]\n },\n \"DeviceType\": \"CHCS5\",\n \"Disk\": \"480GB*2/3.84TB*12\",\n \"Gpu\": \"\",\n \"HardwareDescription\": \"64核 256GB 480GB*2/3.84TB*12\",\n \"InstanceName\": \"vlan502\",\n \"InstanceState\": \"PREPARED\",\n \"IsPredefinedType\": true,\n \"Memory\": 256,\n \"NetworkCard\": \"\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-
|
181
|
+
"output": "{\n \"Response\": {\n \"ChcHostSet\": [\n {\n \"BmcIp\": \"10.0.0.17\",\n \"BmcMAC\": \"52:54:00:71:B5:A1\",\n \"BmcSecurityGroupIds\": [\n \"sg-8l03md6z\"\n ],\n \"BmcVirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-hmpeps7u\",\n \"VpcId\": \"vpc-b9y7wgix\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 0,\n \"PrivateIpAddresses\": [\n \"10.10.2.4\"\n ]\n },\n \"CPU\": 64,\n \"ChcId\": \"chc-1a2b3c4d\",\n \"ChcInstanceFamily\": \"CHCS5\",\n \"ChcInstanceFamilyName\": \"高性能计算型CHCS5\",\n \"ChcInstanceType\": \"CHCS5.128C384M\",\n \"CreatedTime\": \"2024-07-19 16:41:20\",\n \"CvmInstanceId\": \"\",\n \"DeployExtraConfig\": {\n \"BootFile\": \"pxelinux.0\",\n \"BootType\": \"x86_uefi\",\n \"MiniOsType\": \"public\",\n \"NextServerAddress\": \"169.254.68.10\"\n },\n \"DeployIp\": \"172.16.0.17\",\n \"DeployMAC\": \"52:54:00:41:8D:7B\",\n \"DeploySecurityGroupIds\": [\n \"sg-8l03md6z\"\n ],\n \"DeployVirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-pad8nabc\",\n \"VpcId\": \"vpc-gbgzjb6r\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 0,\n \"PrivateIpAddresses\": [\n \"10.10.2.4\"\n ]\n },\n \"DeviceType\": \"CHCS5\",\n \"Disk\": \"480GB*2/3.84TB*12\",\n \"Gpu\": \"\",\n \"HardwareDescription\": \"64核 256GB 480GB*2/3.84TB*12\",\n \"InstanceName\": \"vlan502\",\n \"InstanceState\": \"PREPARED\",\n \"IsPredefinedType\": true,\n \"Memory\": 256,\n \"NetworkCard\": \"\",\n \"Placement\": {\n \"Zone\": \"ap-guangzhou-6\",\n \"ProjectId\": 0\n },\n \"ResaleAccountId\": \"\",\n \"ResaleAppId\": \"\",\n \"SaleStatus\": \"NOT_FOR_SALE\",\n \"SerialNumber\": \"7DF112345678\",\n \"Tags\": [\n {\n \"Key\": \"myKey\",\n \"Value\": \"myValue\"\n }\n ],\n \"TenantType\": \"HOSTING\"\n }\n ],\n \"RequestId\": \"d2ab63c0-576f-44c4-b6c1-f519fb58654b\",\n \"TotalCount\": 1\n }\n}",
|
182
182
|
"title": "查看CHC物理服务器实例"
|
183
183
|
}
|
184
184
|
],
|
@@ -278,9 +278,9 @@
|
|
278
278
|
],
|
279
279
|
"DescribeInstanceTypeConfigs": [
|
280
280
|
{
|
281
|
-
"document": "
|
282
|
-
"input": "https://cvm.tencentcloudapi.com/?Action=DescribeInstanceTypeConfigs\n&Filters.0.Name=zone\n&Filters.0.Values.0=ap-guangzhou-
|
283
|
-
"output": "{\n \"Response\": {\n \"InstanceTypeConfigSet\": [\n {\n \"Zone\": \"ap-guangzhou-
|
281
|
+
"document": "查询广州六区中实例机型系列为I1的机型列表",
|
282
|
+
"input": "https://cvm.tencentcloudapi.com/?Action=DescribeInstanceTypeConfigs\n&Filters.0.Name=zone\n&Filters.0.Values.0=ap-guangzhou-6\n&Filters.1.Name=instance-family\n&Filters.1.Values.0=I1\n&<公共请求参数>",
|
283
|
+
"output": "{\n \"Response\": {\n \"InstanceTypeConfigSet\": [\n {\n \"Zone\": \"ap-guangzhou-6\",\n \"InstanceFamily\": \"I1\",\n \"InstanceType\": \"I1.MEDIUM4\",\n \"CPU\": 2,\n \"GPU\": 0,\n \"FPGA\": 0,\n \"Memory\": 4,\n \"GpuCount\": 0\n },\n {\n \"Zone\": \"ap-guangzhou-6\",\n \"InstanceFamily\": \"I1\",\n \"InstanceType\": \"I1.MEDIUM8\",\n \"CPU\": 2,\n \"GPU\": 0,\n \"FPGA\": 0,\n \"Memory\": 8,\n \"GpuCount\": 0\n },\n {\n \"Zone\": \"ap-guangzhou-6\",\n \"InstanceFamily\": \"I1\",\n \"InstanceType\": \"I1.MEDIUM16\",\n \"CPU\": 2,\n \"GPU\": 0,\n \"FPGA\": 0,\n \"Memory\": 16,\n \"GpuCount\": 0\n },\n {\n \"Zone\": \"ap-guangzhou-6\",\n \"InstanceFamily\": \"I1\",\n \"InstanceType\": \"I1.LARGE8\",\n \"CPU\": 4,\n \"GPU\": 0,\n \"FPGA\": 0,\n \"Memory\": 8,\n \"GpuCount\": 0\n }\n ],\n \"RequestId\": \"2f1fd71e-95ab-4f10-8adb-895e99d33ff5\"\n }\n}",
|
284
284
|
"title": "查询实例机型列表"
|
285
285
|
}
|
286
286
|
],
|
@@ -294,21 +294,21 @@
|
|
294
294
|
],
|
295
295
|
"DescribeInstances": [
|
296
296
|
{
|
297
|
-
"document": "
|
298
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"ap-guangzhou-
|
299
|
-
"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 \"
|
297
|
+
"document": "查看在广州三区或广州四区的实例信息,限制返回结果最多为一项",
|
298
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\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}",
|
299
|
+
"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}",
|
300
300
|
"title": "查看实例列表"
|
301
301
|
},
|
302
302
|
{
|
303
303
|
"document": "查询绑定了标签键值对(city:shenzhen)的实例。",
|
304
304
|
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"shenzhen\"\n ],\n \"Name\": \"tag:city\"\n }\n ],\n \"Offset\": 0\n}",
|
305
|
-
"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-
|
305
|
+
"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\": \"测试实例\",\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}",
|
306
306
|
"title": "查询绑定了标签的实例"
|
307
307
|
},
|
308
308
|
{
|
309
309
|
"document": "当对实例发起 StopInstances 后,通过 DescribeInstances 可以查询到实例的 LatestOperation 为 StopInstances,LatestOperationState 为 OPERATING。",
|
310
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\n\n{\n \"Limit\": 1,\n \"Filters\": [\n {\n \"Values\": [\n \"ap-guangzhou-
|
311
|
-
"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 \"
|
310
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstances\n<公共请求参数>\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}",
|
311
|
+
"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}",
|
312
312
|
"title": "查询实例的最新操作情况"
|
313
313
|
}
|
314
314
|
],
|
@@ -332,7 +332,7 @@
|
|
332
332
|
{
|
333
333
|
"document": "查询指定实例支持调整的机型配置",
|
334
334
|
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstancesModification\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"SELL\"\n ],\n \"Name\": \"status\"\n }\n ],\n \"InstanceIds\": [\n \"ins-bzps2kwdg\"\n ]\n}",
|
335
|
-
"output": "{\n \"Response\": {\n \"InstanceTypeConfigStatusSet\": [\n {\n \"Status\": \"SELL\",\n \"InstanceTypeConfig\": {\n \"GPU\": 0,\n \"Zone\": \"ap-guangzhou-
|
335
|
+
"output": "{\n \"Response\": {\n \"InstanceTypeConfigStatusSet\": [\n {\n \"Status\": \"SELL\",\n \"InstanceTypeConfig\": {\n \"GPU\": 0,\n \"Zone\": \"ap-guangzhou-6\",\n \"FPGA\": 0,\n \"InstanceFamily\": \"SA2\",\n \"InstanceType\": \"SA2.MEDIUM4\",\n \"Memory\": 4,\n \"GpuCount\": 0,\n \"CPU\": 2\n },\n \"Message\": \"\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"62DDFFC6-FDB5-44F7-20A6-59152E3D129A\"\n }\n}",
|
336
336
|
"title": "查询指定实例支持调整的机型配置"
|
337
337
|
}
|
338
338
|
],
|
@@ -372,7 +372,7 @@
|
|
372
372
|
{
|
373
373
|
"document": "",
|
374
374
|
"input": "https://cvm.tencentcloudapi.com/?Action=DescribeLaunchTemplateVersions\n&LaunchTemplateId=lt-b8v1kcyq\n&<公共请求参数>",
|
375
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LaunchTemplateVersionSet\": [\n {\n \"LaunchTemplateVersion\": 1,\n \"LaunchTemplateVersionData\": {\n \"DisableApiTermination\": true,\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-he88kvqu\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 0,\n \"VpcId\": \"vpc-dcteo7jd\"\n },\n \"InstanceCount\": 1,\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-guangzhou-
|
375
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LaunchTemplateVersionSet\": [\n {\n \"LaunchTemplateVersion\": 1,\n \"LaunchTemplateVersionData\": {\n \"DisableApiTermination\": true,\n \"VirtualPrivateCloud\": {\n \"SubnetId\": \"subnet-he88kvqu\",\n \"AsVpcGateway\": false,\n \"Ipv6AddressCount\": 0,\n \"VpcId\": \"vpc-dcteo7jd\"\n },\n \"InstanceCount\": 1,\n \"Placement\": {\n \"ProjectId\": 0,\n \"Zone\": \"ap-guangzhou-6\"\n },\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"ImageId\": \"img-8toqc6s3\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": true\n },\n \"MonitorService\": {\n \"Enabled\": true\n },\n \"AutomationService\": {\n \"Enabled\": false\n }\n },\n \"SecurityGroupIds\": [\n \"sg-rf6ogz49\"\n ],\n \"InternetAccessible\": {\n \"PublicIpAssigned\": true,\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 100\n },\n \"InstanceName\": \"lt_test\",\n \"InstanceType\": \"S1.SMALL2\",\n \"DataDisks\": [\n {\n \"Encrypt\": false,\n \"DeleteWithInstance\": true,\n \"KmsKeyId\": \"\",\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n {\n \"Encrypt\": true,\n \"DeleteWithInstance\": true,\n \"KmsKeyId\": \"\",\n \"DiskSize\": 60,\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n },\n \"CreationTime\": \"2020-12-17T01:54:31Z\",\n \"LaunchTemplateId\": \"lt-b8v1kcyq\",\n \"IsDefaultVersion\": true,\n \"LaunchTemplateVersionDescription\": \"\",\n \"CreatedBy\": \"251009920\"\n }\n ],\n \"RequestId\": \"b2da6ace-add1-48dc-ae73-6fc1eed95f1d\"\n }\n}",
|
376
376
|
"title": "查询实例模板版本信息"
|
377
377
|
}
|
378
378
|
],
|
@@ -392,22 +392,6 @@
|
|
392
392
|
"title": "请求例子"
|
393
393
|
}
|
394
394
|
],
|
395
|
-
"DescribeReservedInstancesConfigInfos": [
|
396
|
-
{
|
397
|
-
"document": "查询预留实例机型配置",
|
398
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedInstancesConfigInfos\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"zone\",\n \"Values\": [\n \"ap-guangzhou-1\"\n ]\n }\n ]\n}",
|
399
|
-
"output": "{\n \"Response\": {\n \"ReservedInstanceConfigInfos\": [\n {\n \"Type\": \"C\",\n \"TypeName\": \"计算型\",\n \"Order\": 0,\n \"InstanceFamilies\": [\n {\n \"InstanceFamily\": \"C3\",\n \"Order\": 402,\n \"InstanceTypes\": [\n {\n \"InstanceType\": \"C3.LARGE8\",\n \"Cpu\": 4,\n \"Memory\": 8,\n \"Gpu\": 0,\n \"Fpga\": 0,\n \"StorageBlock\": 0,\n \"NetworkCard\": 0,\n \"MaxBandwidth\": 0,\n \"Frequency\": \"2.5\",\n \"CpuModelName\": \"Intel Xeon Skylake 6146\",\n \"Pps\": 60,\n \"Externals\": {\n \"ReleaseAddress\": true,\n \"UnsupportNetworks\": [],\n \"StorageBlockAttr\": {\n \"Type\": \"\",\n \"MinSize\": 0,\n \"MaxSize\": 0\n }\n },\n \"Remark\": \"\",\n \"Prices\": [\n {\n \"ReservedInstancesOfferingId\": \"d81353d7-fe7d-43d0-a361-fb5633a9a7e5\",\n \"OfferingType\": \"No Upfront\",\n \"FixedPrice\": 0,\n \"UsagePrice\": 2.99,\n \"Duration\": 1,\n \"Zone\": \"ap-guangzhou-1\",\n \"ProductDescription\": \"\"\n }\n ]\n }\n ]\n }\n ]\n }\n ],\n \"RequestId\": \"87eccd3e-9e7a-4b42-be3a-87eccd3e\"\n }\n}",
|
400
|
-
"title": "查询预留实例机型配置"
|
401
|
-
}
|
402
|
-
],
|
403
|
-
"DescribeReservedInstancesOfferings": [
|
404
|
-
{
|
405
|
-
"document": "列出可购买预留实例计费",
|
406
|
-
"input": "https://cvm.tencentcloudapi.com/?Action=DescribeReservedInstancesOfferings\r\n&Filters.0.Name=zone\r\n&Filters.0.Values.0=ap-guangzhou-1\r\n&Offset=0\r\n&Limit=1\r\n&<公共请求参数>",
|
407
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ReservedInstancesOfferingsSet\": [\n {\n \"Zone\": \"ap-guangzhou-1\",\n \"CurrencyCode\": \"USD\",\n \"Duration\": 31536000,\n \"FixedPrice\": 4000.0,\n \"InstanceType\": \"S3.MEDIUM4\",\n \"OfferingType\": \"All Upfront\",\n \"ReservedInstancesOfferingId\": \"noew0342-324f-f3ab-9uut-wrlnth53dcee\",\n \"ProductDescription\": \"linux\",\n \"UsagePrice\": 0.0\n }\n ],\n \"RequestId\": \"b813c959-cc89-41d5-9cc4-ceb7d853dcaa\"\n }\n}",
|
408
|
-
"title": "列出可购买预留实例计费"
|
409
|
-
}
|
410
|
-
],
|
411
395
|
"DescribeTaskInfo": [
|
412
396
|
{
|
413
397
|
"document": "根据以下条件,查询并获取维修任务返回列表:\n\n- 任务的创建时间在 `2023-03-01 00:00:00` ~ `2023-04-01 00:00:00` 范围内。\n- 任务当前的状态为`待授权`。\n- 返回的任务列表按照`CreateTime`创建时间降序返回,偏移量为`0`,最多返回`20`条数据。",
|
@@ -419,8 +403,8 @@
|
|
419
403
|
"DescribeZoneInstanceConfigInfos": [
|
420
404
|
{
|
421
405
|
"document": "通过可用区和付费类型作为过滤条件, 查询配置信息列表。",
|
422
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZoneInstanceConfigInfos\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"POSTPAID_BY_HOUR\"\n ],\n \"Name\": \"instance-charge-type\"\n },\n {\n \"Values\": [\n \"ap-guangzhou-
|
423
|
-
"output": "{\n \"Response\": {\n \"InstanceTypeQuotaSet\": [\n {\n \"Status\": \"SELL\",\n \"Zone\": \"ap-guangzhou-
|
406
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZoneInstanceConfigInfos\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Values\": [\n \"POSTPAID_BY_HOUR\"\n ],\n \"Name\": \"instance-charge-type\"\n },\n {\n \"Values\": [\n \"ap-guangzhou-6\"\n ],\n \"Name\": \"zone\"\n }\n ]\n}",
|
407
|
+
"output": "{\n \"Response\": {\n \"InstanceTypeQuotaSet\": [\n {\n \"Status\": \"SELL\",\n \"Zone\": \"ap-guangzhou-6\",\n \"NetworkCard\": 0,\n \"Price\": {\n \"DiscountPrice\": 59,\n \"OriginalPriceThreeYear\": 0,\n \"DiscountOneYear\": 0,\n \"UnitPrice\": 0,\n \"UnitPriceThirdStep\": 0,\n \"OriginalPriceFiveYear\": 0,\n \"Discount\": 0,\n \"DiscountFiveYear\": 0,\n \"UnitPriceDiscountThirdStep\": 0,\n \"UnitPriceSecondStep\": 0,\n \"OriginalPrice\": 59,\n \"DiscountThreeYear\": 0,\n \"UnitPriceDiscountSecondStep\": 0,\n \"UnitPriceDiscount\": 0,\n \"DiscountPriceFiveYear\": 0,\n \"OriginalPriceOneYear\": 708,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0,\n \"DiscountPriceOneYear\": 587.64\n },\n \"InstanceFamily\": \"S2\",\n \"Externals\": {},\n \"InstanceType\": \"S2.SMALL1\",\n \"TypeName\": \"Standard S2\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\n \"Memory\": 1,\n \"LocalDiskTypeList\": [],\n \"Cpu\": 1,\n \"SoldOutReason\": \"\",\n \"StorageBlockAmount\": 0,\n \"CpuType\": \"Intel Xeon E5-2680 v4\",\n \"InstancePps\": 20,\n \"InstanceBandwidth\": 1.5,\n \"Gpu\": 0,\n \"GpuCount\": 0,\n \"Fpga\": 0,\n \"Remark\": \"\",\n \"Frequency\": \"2.4GHz\",\n \"StatusCategory\": \"EnoughStock\"\n }\n ],\n \"RequestId\": \"c28559ca-d3cf-40f0-9664-2ab303484efa\"\n }\n}",
|
424
408
|
"title": "获取可用区的机型配置信息列表"
|
425
409
|
}
|
426
410
|
],
|
@@ -428,13 +412,13 @@
|
|
428
412
|
{
|
429
413
|
"document": "查询广州地域的可用区信息。返回可用区的中文名称需要传参Language=zh-CN。",
|
430
414
|
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeZones\nX-TC-Language: zh-CN\n<公共请求参数>\n\n{}",
|
431
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 5,\n \"ZoneSet\": [\n {\n \"ZoneState\": \"
|
415
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 5,\n \"ZoneSet\": [\n {\n \"ZoneState\": \"AVAILABLE\",\n \"ZoneId\": \"100003\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\"\n },\n {\n \"ZoneState\": \"AVAILABLE\",\n \"ZoneId\": \"100004\",\n \"Zone\": \"ap-guangzhou-4\",\n \"ZoneName\": \"广州四区\"\n },\n {\n \"ZoneState\": \"AVAILABLE\",\n \"ZoneId\": \"100005\",\n \"Zone\": \"ap-guangzhou-5\",\n \"ZoneName\": \"广州五区\"\n }\n ],\n \"RequestId\": \"62DDFFC6-FDB5-44F7-20A6-59152E3D129A\"\n }\n}",
|
432
416
|
"title": "查询可用区信息(可用区中文名称)"
|
433
417
|
},
|
434
418
|
{
|
435
419
|
"document": "查询广州地域的可用区信息。不传Language参数默认返回可用区的英文名称。",
|
436
420
|
"input": "https://cvm.tencentcloudapi.com/?Action=DescribeZones\n&<公共请求参数>",
|
437
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 5,\n \"ZoneSet\": [\n {\n \"ZoneState\": \"
|
421
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 5,\n \"ZoneSet\": [\n {\n \"ZoneState\": \"AVAILABLE\",\n \"ZoneId\": \"100003\",\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"Guangzhou Zone 3\"\n },\n {\n \"ZoneState\": \"AVAILABLE\",\n \"ZoneId\": \"100004\",\n \"Zone\": \"ap-guangzhou-4\",\n \"ZoneName\": \"Guangzhou Zone 4\"\n },\n {\n \"ZoneState\": \"AVAILABLE\",\n \"ZoneId\": \"100005\",\n \"Zone\": \"ap-guangzhou-5\",\n \"ZoneName\": \"Guangzhou Zone 5\"\n }\n ],\n \"RequestId\": \"62DDFFC6-FDB5-44F7-20A6-59152E3D129A\"\n }\n}",
|
438
422
|
"title": "查询可用区信息(可用区英文名称)"
|
439
423
|
}
|
440
424
|
],
|
@@ -502,14 +486,6 @@
|
|
502
486
|
"title": "导入密钥对"
|
503
487
|
}
|
504
488
|
],
|
505
|
-
"InquirePricePurchaseReservedInstancesOffering": [
|
506
|
-
{
|
507
|
-
"document": "",
|
508
|
-
"input": "https://cvm.tencentcloudapi.com/?Action=InquirePricePurchaseReservedInstancesOffering\n&InstanceCount=2\n&ReservedInstancesOfferingId=noew0342-324f-f3ab-9uut-wrlnth53dcee\n&<公共请求参数>",
|
509
|
-
"output": "{\n \"Response\": {\n \"Price\": {\n \"OriginalFixedPrice\": 100.99,\n \"DiscountFixedPrice\": 100.99,\n \"OriginalUsagePrice\": 1.99,\n \"DiscountUsagePrice\": 1.99,\n \"FixedPriceDiscount\": 60,\n \"UsagePriceDiscount\": 60\n },\n \"RequestId\": \"b333ddb8-4aed-4def-a0d9-617043c2614e\"\n }\n}",
|
510
|
-
"title": "创建预留实例询价"
|
511
|
-
}
|
512
|
-
],
|
513
489
|
"InquiryPriceModifyInstancesChargeType": [
|
514
490
|
{
|
515
491
|
"document": "本示例用于切换一个实例的计费模式询价。",
|
@@ -734,14 +710,6 @@
|
|
734
710
|
"title": "在线烧录FPGA镜像"
|
735
711
|
}
|
736
712
|
],
|
737
|
-
"PurchaseReservedInstancesOffering": [
|
738
|
-
{
|
739
|
-
"document": "购买预留实例计费",
|
740
|
-
"input": "https://cvm.tencentcloudapi.com/?Action=PurchaseReservedInstancesOffering\r\n&InstanceCount=2\r\n&ReservedInstancesOfferingId=noew0342-324f-f3ab-9uut-wrlnth53dcee\r\n&<公共请求参数>",
|
741
|
-
"output": "{\n \"Response\": {\n \"ReservedInstanceId\": \"13d8e599-b8dc-4e8a-80b4-7dce9eb27043\",\n \"RequestId\": \"b333ddb8-4aed-4def-a0d9-617043c2614e\"\n }\n}",
|
742
|
-
"title": "购买预留实例计费"
|
743
|
-
}
|
744
|
-
],
|
745
713
|
"RebootInstances": [
|
746
714
|
{
|
747
715
|
"document": "本示例用于重启两个实例。",
|
@@ -839,7 +807,7 @@
|
|
839
807
|
"RunInstances": [
|
840
808
|
{
|
841
809
|
"document": "实例所在位置为上海二区,在专用宿主机host-q88gab4i上创建,付费模式为独享子机付费,镜像ID为:img-pmqg1cw7,实例配置为:1C1G,50G大小高性能云系统盘,挂载100G大小高性能云数据盘,私有网络,公网付费模式为流量按小时后付费,外网带宽上限10Mbps,分配公网IP,实例命名为QCLOUD-TEST,设置登录密码为Qcloud@TestApi123++,安装云监控云安全,购买数量为1台。",
|
842
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<公共请求参数>\n\n{\n \"SystemDisk\": {\n \"DiskSize\":
|
810
|
+
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RunInstances\n<公共请求参数>\n\n{\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"InstanceCount\": \"1\",\n \"Placement\": {\n \"HostIds\": [\n \"host-q88gab4i\"\n ],\n \"Zone\": \"ap-shanghai-2\"\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\",\n \"InstanceChargeType\": \"CDHPAID\",\n \"EnhancedService\": {\n \"SecurityService\": {\n \"Enabled\": \"TRUE\"\n },\n \"MonitorService\": {\n \"Enabled\": \"TRUE\"\n }\n },\n \"InternetAccessible\": {\n \"PublicIpAssigned\": \"TRUE\",\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": \"10\"\n },\n \"InstanceName\": \"QCLOUD-TEST\",\n \"InstanceType\": \"CDH_1C1G\",\n \"DataDisks\": [\n {\n \"DiskSize\": \"100\",\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n}",
|
843
811
|
"output": "{\n \"Response\": {\n \"InstanceIdSet\": [\n \"ins-0s7wsh5x\"\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
|
844
812
|
"title": "独享子机购买"
|
845
813
|
},
|