tccli 3.0.1240.1__py2.py3-none-any.whl → 3.0.1241.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/apm/v20210622/api.json +66 -69
- tccli/services/apm/v20210622/examples.json +26 -26
- tccli/services/autoscaling/v20180419/api.json +12 -1
- tccli/services/batch/v20170312/api.json +11 -11
- tccli/services/billing/v20180709/api.json +20 -0
- tccli/services/cam/v20190116/api.json +1 -1
- tccli/services/car/v20220110/api.json +1 -1
- tccli/services/car/v20220110/examples.json +3 -3
- tccli/services/cdb/v20170320/api.json +582 -579
- tccli/services/cdb/v20170320/examples.json +9 -9
- tccli/services/cdwdoris/v20211228/api.json +40 -0
- tccli/services/cfg/v20210820/api.json +11 -0
- tccli/services/chdfs/v20201112/api.json +10 -10
- tccli/services/chdfs/v20201112/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/cmq/v20190304/api.json +77 -77
- tccli/services/cvm/cvm_client.py +60 -325
- tccli/services/cvm/v20170312/api.json +618 -1401
- tccli/services/cvm/v20170312/examples.json +8 -48
- tccli/services/cwp/cwp_client.py +0 -53
- tccli/services/cwp/v20180228/api.json +0 -34
- tccli/services/cwp/v20180228/examples.json +0 -8
- tccli/services/cynosdb/v20190107/api.json +452 -458
- tccli/services/cynosdb/v20190107/examples.json +23 -23
- tccli/services/dbbrain/v20191016/api.json +16 -4
- tccli/services/dbbrain/v20191016/examples.json +5 -5
- tccli/services/dbbrain/v20210527/api.json +44 -44
- tccli/services/dbbrain/v20210527/examples.json +8 -8
- tccli/services/dts/v20180330/api.json +30 -30
- tccli/services/dts/v20180330/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +19 -9
- tccli/services/dts/v20211206/examples.json +5 -5
- tccli/services/ecm/v20190719/api.json +55 -48
- tccli/services/ecm/v20190719/examples.json +7 -7
- tccli/services/emr/emr_client.py +493 -16
- tccli/services/emr/v20190103/api.json +1323 -246
- tccli/services/emr/v20190103/examples.json +72 -0
- tccli/services/ess/v20201111/api.json +13 -4
- tccli/services/essbasic/v20210526/api.json +11 -2
- tccli/services/essbasic/v20210526/examples.json +12 -0
- tccli/services/faceid/v20180301/api.json +3 -3
- tccli/services/gaap/v20180529/api.json +181 -183
- tccli/services/gaap/v20180529/examples.json +31 -37
- tccli/services/gs/v20191118/api.json +3 -3
- tccli/services/gs/v20191118/examples.json +3 -3
- tccli/services/iai/iai_client.py +53 -0
- tccli/services/iai/v20200303/api.json +80 -0
- tccli/services/iai/v20200303/examples.json +14 -0
- tccli/services/iotexplorer/v20190423/api.json +10 -0
- tccli/services/keewidb/v20220308/api.json +188 -190
- tccli/services/live/v20180801/api.json +323 -222
- tccli/services/live/v20180801/examples.json +79 -79
- tccli/services/mna/v20210119/api.json +20 -20
- tccli/services/mps/v20190612/api.json +40 -0
- tccli/services/oceanus/v20190422/api.json +407 -39
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +50 -0
- tccli/services/sqlserver/v20180328/api.json +235 -139
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +777 -779
- tccli/services/ssl/v20191205/examples.json +8 -8
- tccli/services/tbaas/v20180416/api.json +118 -82
- tccli/services/tbaas/v20180416/examples.json +7 -7
- tccli/services/tcb/v20180608/api.json +18 -18
- tccli/services/tcb/v20180608/examples.json +2 -2
- tccli/services/tcm/v20210413/api.json +6 -6
- tccli/services/tcm/v20210413/examples.json +1 -1
- tccli/services/tcr/v20190924/api.json +17 -12
- tccli/services/tdmq/v20200217/api.json +18 -0
- tccli/services/tem/v20210701/api.json +439 -280
- tccli/services/tem/v20210701/examples.json +39 -39
- tccli/services/tke/v20180525/api.json +50 -39
- tccli/services/tke/v20180525/examples.json +51 -21
- tccli/services/trro/v20220325/api.json +27 -27
- tccli/services/trro/v20220325/examples.json +1 -1
- tccli/services/tse/v20201207/api.json +46 -9
- tccli/services/tse/v20201207/examples.json +31 -31
- tccli/services/tsf/v20180326/api.json +448 -434
- tccli/services/tsf/v20180326/examples.json +122 -122
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +278 -37
- tccli/services/vpc/v20170312/examples.json +56 -8
- tccli/services/vpc/vpc_client.py +159 -0
- tccli/services/waf/v20180125/api.json +303 -4
- tccli/services/waf/v20180125/examples.json +25 -1
- tccli/services/waf/waf_client.py +163 -4
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/RECORD +92 -92
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/license_files/LICENSE +0 -0
@@ -82,8 +82,8 @@
|
|
82
82
|
],
|
83
83
|
"CreateLaunchTemplate": [
|
84
84
|
{
|
85
|
-
"document": "只传必传的Zone、镜像ID和启动模板ID,其他均采用系统默认值,具体配置如下:实例所在位置为广州二区,镜像ID为:img-pmqg1cw7,实例启动模板名称:
|
86
|
-
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLaunchTemplate\n<公共请求参数>\n\n{\n \"LaunchTemplateName\": \"
|
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-2\"\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
|
}
|
@@ -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 \"
|
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-2\",\n \"ProjectId\": 0\n },\n \"ResaleAccountId\": \"\",\n \"ResaleAppId\": \"\",\n \"SaleStatus\": \"NOT_FOR_SALE\",\n \"SerialNumber\": \"7DF112345678\",\n \"Tags\": [\n {\n \"Key\": \"test\",\n \"Value\": \"test22\"\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
|
],
|
@@ -218,7 +218,7 @@
|
|
218
218
|
{
|
219
219
|
"document": "",
|
220
220
|
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImageFromFamily\n<公共请求参数>\n\n{\n \"ImageFamily\": \"business-daily-update\"\n}",
|
221
|
-
"output": "{\n \"Response\": {\n \"Image\": {\n \"ImageId\": \"
|
221
|
+
"output": "{\n \"Response\": {\n \"Image\": {\n \"ImageId\": \"img-xxx\",\n \"OsName\": \"Xserver\",\n \"ImageType\": \"PRIVATE_IMAGE\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"ImageName\": \"myImg\",\n \"ImageDescription\": \"\",\n \"ImageSize\": 0,\n \"Architecture\": \"x86_64\",\n \"ImageState\": \"NORMAL\",\n \"Platform\": \"Windows\",\n \"ImageCreator\": \"tencent\",\n \"ImageSource\": \"CREATE_IMAGE\",\n \"SyncPercent\": 0,\n \"IsSupportCloudinit\": true,\n \"SnapshotSet\": [\n {\n \"SnapshotId\": \"snap-nbxxx56\",\n \"DiskUsage\": \"SYSTEM_DISK\",\n \"DiskSize\": 0\n }\n ],\n \"Tags\": [\n {\n \"Key\": \"myKey\",\n \"Value\": \"myValue\"\n }\n ],\n \"LicenseType\": \"TencentCloud\",\n \"ImageFamily\": \"business-daily-update\",\n \"ImageDeprecated\": false\n },\n \"RequestId\": \"5908394c-5b3f-42e0-a537-8410553890a5\"\n }\n}",
|
222
222
|
"title": "查看镜像族列表"
|
223
223
|
}
|
224
224
|
],
|
@@ -256,7 +256,7 @@
|
|
256
256
|
{
|
257
257
|
"document": "查询导入镜像支持的操作系统配置信息",
|
258
258
|
"input": "https://cvm.tencentcloudapi.com/?Action=DescribeImportImageOs\n&<公共请求参数>",
|
259
|
-
"output": "{\n \"Response\": {\n \"ImportImageOsListSupported\": {\n \"Linux\": [\n \"CentOS\",\n \"Ubuntu\",\n \"Debian\",\n \"OpenSUSE\",\n \"SUSE\",\n \"CoreOS\",\n \"FreeBSD\",\n \"Other Linux\"\n ],\n \"Windows\": [\n \"Windows Server 2008\",\n \"Windows Server 2012\",\n \"Windows Server 2016\"\n ]\n },\n \"ImportImageOsVersionSet\": [\n {\n \"OsName\": \"Windows Server 2008\",\n \"OsVersions\": [\n \"
|
259
|
+
"output": "{\n \"Response\": {\n \"ImportImageOsListSupported\": {\n \"Linux\": [\n \"CentOS\",\n \"Ubuntu\",\n \"Debian\",\n \"OpenSUSE\",\n \"SUSE\",\n \"CoreOS\",\n \"FreeBSD\",\n \"Other Linux\"\n ],\n \"Windows\": [\n \"Windows Server 2008\",\n \"Windows Server 2012\",\n \"Windows Server 2016\"\n ]\n },\n \"ImportImageOsVersionSet\": [\n {\n \"OsName\": \"Windows Server 2008\",\n \"OsVersions\": [\n \"9\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"Windows Server 2012\",\n \"OsVersions\": [\n \"9\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"Windows Server 2016\",\n \"OsVersions\": [\n \"9\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"CentOS\",\n \"OsVersions\": [\n \"5\",\n \"6\",\n \"7\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"CoreOS\",\n \"OsVersions\": [\n \"7\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"Debian\",\n \"OsVersions\": [\n \"6\",\n \"7\",\n \"8\",\n \"9\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"FreeBSD\",\n \"OsVersions\": [\n \"10\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"Redhat\",\n \"OsVersions\": [\n \"5\",\n \"6\",\n \"7\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"OpenSUSE\",\n \"OsVersions\": [\n \"11\",\n \"12\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"SUSE\",\n \"OsVersions\": [\n \"10\",\n \"11\",\n \"12\",\n \"13\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"Ubuntu\",\n \"OsVersions\": [\n \"10\",\n \"12\",\n \"14\",\n \"16\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n },\n {\n \"OsName\": \"Other Linux\",\n \"OsVersions\": [\n \"8\"\n ],\n \"Architecture\": [\n \"x86_64\",\n \"i386\"\n ]\n }\n ],\n \"RequestId\": \"32064a8f-8d3f-4670-8d4f-60123ca97042\"\n }\n}",
|
260
260
|
"title": "查询导入镜像支持的操作系统配置信息"
|
261
261
|
}
|
262
262
|
],
|
@@ -296,7 +296,7 @@
|
|
296
296
|
{
|
297
297
|
"document": "查看在广州一区或广州二区的实例信息,限制返回结果最多为一项",
|
298
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-2\",\n \"ap-guangzhou-1\"\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 \"Password\": \"123qwe!@#QWE\",\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\": \"
|
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 \"Password\": \"123qwe!@#QWE\",\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-1\"\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 \"SnapshotId\": null,\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\": 2,\n \"RequestId\": \"d655191e-a39d-43d2-8349-8c3f2bf4b327\"\n }\n}",
|
300
300
|
"title": "查看实例列表"
|
301
301
|
},
|
302
302
|
{
|
@@ -308,7 +308,7 @@
|
|
308
308
|
{
|
309
309
|
"document": "当对实例发起 StopInstances 后,通过 DescribeInstances 可以查询到实例的 LatestOperation 为 StopInstances,LatestOperationState 为 OPERATING。",
|
310
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-2\",\n \"ap-guangzhou-1\"\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 \"Password\": \"123qwe!@#QWE\",\n \"KeepImageLogin\": \"False\",\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\": \"
|
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 \"Password\": \"123qwe!@#QWE\",\n \"KeepImageLogin\": \"False\",\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-1\"\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 \"SnapshotId\": null,\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\": 2,\n \"RequestId\": \"d655191e-a39d-43d2-8349-8c3f2bf4b327\"\n }\n}",
|
312
312
|
"title": "查询实例的最新操作情况"
|
313
313
|
}
|
314
314
|
],
|
@@ -384,30 +384,6 @@
|
|
384
384
|
"title": "请求例子"
|
385
385
|
}
|
386
386
|
],
|
387
|
-
"DescribeReservedInstances": [
|
388
|
-
{
|
389
|
-
"document": "列出已购买预留实例计费",
|
390
|
-
"input": "https://cvm.tencentcloudapi.com/?Action=DescribeReservedInstances\n&Filters.0.Name=zone\n&Filters.0.Values.0=ap-guangzhou-1\n&Limit=1\n&<公共请求参数>",
|
391
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ReservedInstancesSet\": [\n {\n \"ReservedInstanceId\": \"ri-rtbh4han\",\n \"ReservedInstancesId\": \"ri-rtbh4han\",\n \"ReservedInstanceName\": \"riname-01\",\n \"InstanceType\": \"S3.16XLARGE256\",\n \"InstanceFamily\": \"S3\",\n \"Zone\": \"ap-guangzhou-1\",\n \"StartTime\": \"0000-00-00 00:00:00\",\n \"EndTime\": \"0000-00-00 00:00:00\",\n \"Duration\": 31536000,\n \"InstanceCount\": 1,\n \"ProductDescription\": \"linux\",\n \"State\": \"active\",\n \"CurrencyCode\": \"USD\",\n \"OfferingType\": \"All Upfront\"\n }\n ],\n \"RequestId\": \"9cb3dd3d-5717-47c4-bf3b-05c7ddb4655b\"\n }\n}",
|
392
|
-
"title": "列出已购买预留实例计费"
|
393
|
-
}
|
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\": \"abc\",\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
387
|
"DescribeTaskInfo": [
|
412
388
|
{
|
413
389
|
"document": "根据以下条件,查询并获取维修任务返回列表:\n\n- 任务的创建时间在 `2023-03-01 00:00:00` ~ `2023-04-01 00:00:00` 范围内。\n- 任务当前的状态为`待授权`。\n- 返回的任务列表按照`CreateTime`创建时间降序返回,偏移量为`0`,最多返回`20`条数据。",
|
@@ -502,14 +478,6 @@
|
|
502
478
|
"title": "导入密钥对"
|
503
479
|
}
|
504
480
|
],
|
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
481
|
"InquiryPriceModifyInstancesChargeType": [
|
514
482
|
{
|
515
483
|
"document": "本示例用于切换一个实例的计费模式询价。",
|
@@ -582,7 +550,7 @@
|
|
582
550
|
{
|
583
551
|
"document": "实例所在位置为上海二区,付费模式为按小时后付费,镜像ID为:img-pmqg1cw7,选择机型为:64C256G标准型(S5.16XLARGE256),50G大小高性能云系统盘,挂载100G大小高性能云数据盘,私有网络,公网付费模式为流量按小时后付费,外网带宽上限10Mbps,分配公网IP,实例命名为QCLOUD-TEST,设置登录密码未Qcloud@TestApi123++,安装云监控云安全,购买数量为1台。",
|
584
552
|
"input": "POST / HTTP/1.1\nHost: cvm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InquiryPriceRunInstances\n<公共请求参数>\n\n{\n \"SystemDisk\": {\n \"DiskSize\": 50,\n \"DiskType\": \"CLOUD_PREMIUM\"\n },\n \"InstanceCount\": 1,\n \"Placement\": {\n \"Zone\": \"ap-shanghai-2\"\n },\n \"LoginSettings\": {\n \"Password\": \"Qcloud@TestApi123++\"\n },\n \"ImageId\": \"img-pmqg1cw7\",\n \"InstanceChargeType\": \"POSTPAID_BY_HOUR\",\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\": \"S5.16XLARGE256\",\n \"DataDisks\": [\n {\n \"DiskSize\": 100,\n \"DiskType\": \"CLOUD_PREMIUM\"\n }\n ]\n}",
|
585
|
-
"output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 16.09,\n \"UnitPriceThirdStep\": 16.09,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 3.33,\n \"UnitPriceSecondStep\": 16.09,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 3.33,\n \"UnitPriceDiscount\": 3.33,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n },\n \"BandwidthPrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 0.8,\n \"UnitPriceThirdStep\": 0.0,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 0.0,\n \"UnitPriceSecondStep\": 0.0,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 0.0,\n \"UnitPriceDiscount\": 0.52,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"
|
553
|
+
"output": "{\n \"Response\": {\n \"Price\": {\n \"InstancePrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 16.09,\n \"UnitPriceThirdStep\": 16.09,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 3.33,\n \"UnitPriceSecondStep\": 16.09,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 3.33,\n \"UnitPriceDiscount\": 3.33,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n },\n \"BandwidthPrice\": {\n \"DiscountPrice\": 0.0,\n \"OriginalPriceThreeYear\": 0.0,\n \"DiscountOneYear\": 0.0,\n \"UnitPrice\": 0.8,\n \"UnitPriceThirdStep\": 0.0,\n \"OriginalPriceFiveYear\": 0.0,\n \"Discount\": 0.0,\n \"DiscountFiveYear\": 0.0,\n \"UnitPriceDiscountThirdStep\": 0.0,\n \"UnitPriceSecondStep\": 0.0,\n \"OriginalPrice\": 0.0,\n \"DiscountThreeYear\": 0.0,\n \"UnitPriceDiscountSecondStep\": 0.0,\n \"UnitPriceDiscount\": 0.52,\n \"DiscountPriceFiveYear\": 0.0,\n \"OriginalPriceOneYear\": 0.0,\n \"ChargeUnit\": \"HOUR\",\n \"DiscountPriceThreeYear\": 0.0,\n \"DiscountPriceOneYear\": 0.0\n }\n },\n \"RequestId\": \"65b9edac-bca6-496b-a404-29f503b32495\"\n }\n}",
|
586
554
|
"title": "按小时后付费实例购买询价"
|
587
555
|
}
|
588
556
|
],
|
@@ -726,14 +694,6 @@
|
|
726
694
|
"title": "在线烧录FPGA镜像"
|
727
695
|
}
|
728
696
|
],
|
729
|
-
"PurchaseReservedInstancesOffering": [
|
730
|
-
{
|
731
|
-
"document": "购买预留实例计费",
|
732
|
-
"input": "https://cvm.tencentcloudapi.com/?Action=PurchaseReservedInstancesOffering\r\n&InstanceCount=2\r\n&ReservedInstancesOfferingId=noew0342-324f-f3ab-9uut-wrlnth53dcee\r\n&<公共请求参数>",
|
733
|
-
"output": "{\n \"Response\": {\n \"ReservedInstanceId\": \"13d8e599-b8dc-4e8a-80b4-7dce9eb27043\",\n \"RequestId\": \"b333ddb8-4aed-4def-a0d9-617043c2614e\"\n }\n}",
|
734
|
-
"title": "购买预留实例计费"
|
735
|
-
}
|
736
|
-
],
|
737
697
|
"RebootInstances": [
|
738
698
|
{
|
739
699
|
"document": "本示例用于重启两个实例。",
|
tccli/services/cwp/cwp_client.py
CHANGED
@@ -15201,58 +15201,6 @@ def doAddLoginWhiteLists(args, parsed_globals):
|
|
15201
15201
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
15202
15202
|
|
15203
15203
|
|
15204
|
-
def doDescribeIndexList(args, parsed_globals):
|
15205
|
-
g_param = parse_global_arg(parsed_globals)
|
15206
|
-
|
15207
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
15208
|
-
cred = credential.CVMRoleCredential()
|
15209
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
15210
|
-
cred = credential.STSAssumeRoleCredential(
|
15211
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
15212
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
15213
|
-
)
|
15214
|
-
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):
|
15215
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
15216
|
-
else:
|
15217
|
-
cred = credential.Credential(
|
15218
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
15219
|
-
)
|
15220
|
-
http_profile = HttpProfile(
|
15221
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
15222
|
-
reqMethod="POST",
|
15223
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
15224
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
15225
|
-
)
|
15226
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
15227
|
-
if g_param[OptionsDefine.Language]:
|
15228
|
-
profile.language = g_param[OptionsDefine.Language]
|
15229
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
15230
|
-
client = mod.CwpClient(cred, g_param[OptionsDefine.Region], profile)
|
15231
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
15232
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
15233
|
-
model = models.DescribeIndexListRequest()
|
15234
|
-
model.from_json_string(json.dumps(args))
|
15235
|
-
start_time = time.time()
|
15236
|
-
while True:
|
15237
|
-
rsp = client.DescribeIndexList(model)
|
15238
|
-
result = rsp.to_json_string()
|
15239
|
-
try:
|
15240
|
-
json_obj = json.loads(result)
|
15241
|
-
except TypeError as e:
|
15242
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
15243
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
15244
|
-
break
|
15245
|
-
cur_time = time.time()
|
15246
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
15247
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
15248
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
15249
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
15250
|
-
else:
|
15251
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
15252
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
15253
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
15254
|
-
|
15255
|
-
|
15256
15204
|
def doExportProtectDirList(args, parsed_globals):
|
15257
15205
|
g_param = parse_global_arg(parsed_globals)
|
15258
15206
|
|
@@ -27360,7 +27308,6 @@ ACTION_MAP = {
|
|
27360
27308
|
"DescribeUsualLoginPlaces": doDescribeUsualLoginPlaces,
|
27361
27309
|
"ExportFileTamperEvents": doExportFileTamperEvents,
|
27362
27310
|
"AddLoginWhiteLists": doAddLoginWhiteLists,
|
27363
|
-
"DescribeIndexList": doDescribeIndexList,
|
27364
27311
|
"ExportProtectDirList": doExportProtectDirList,
|
27365
27312
|
"ExportTasks": doExportTasks,
|
27366
27313
|
"ExportIgnoreRuleEffectHostList": doExportIgnoreRuleEffectHostList,
|
@@ -1400,13 +1400,6 @@
|
|
1400
1400
|
"output": "DescribeImportMachineInfoResponse",
|
1401
1401
|
"status": "online"
|
1402
1402
|
},
|
1403
|
-
"DescribeIndexList": {
|
1404
|
-
"document": "接口已废弃\n\n获取索引列表",
|
1405
|
-
"input": "DescribeIndexListRequest",
|
1406
|
-
"name": "获取索引列表",
|
1407
|
-
"output": "DescribeIndexListResponse",
|
1408
|
-
"status": "deprecated"
|
1409
|
-
},
|
1410
1403
|
"DescribeJavaMemShellInfo": {
|
1411
1404
|
"document": "查询java内存马事件详细信息",
|
1412
1405
|
"input": "DescribeJavaMemShellInfoRequest",
|
@@ -25920,33 +25913,6 @@
|
|
25920
25913
|
],
|
25921
25914
|
"type": "object"
|
25922
25915
|
},
|
25923
|
-
"DescribeIndexListRequest": {
|
25924
|
-
"document": "DescribeIndexList请求参数结构体",
|
25925
|
-
"members": [],
|
25926
|
-
"type": "object"
|
25927
|
-
},
|
25928
|
-
"DescribeIndexListResponse": {
|
25929
|
-
"document": "DescribeIndexList返回参数结构体",
|
25930
|
-
"members": [
|
25931
|
-
{
|
25932
|
-
"disabled": false,
|
25933
|
-
"document": "ES 索引信息",
|
25934
|
-
"example": "xxx",
|
25935
|
-
"member": "string",
|
25936
|
-
"name": "Data",
|
25937
|
-
"required": true,
|
25938
|
-
"type": "string",
|
25939
|
-
"value_allowed_null": false
|
25940
|
-
},
|
25941
|
-
{
|
25942
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
25943
|
-
"member": "string",
|
25944
|
-
"name": "RequestId",
|
25945
|
-
"type": "string"
|
25946
|
-
}
|
25947
|
-
],
|
25948
|
-
"type": "object"
|
25949
|
-
},
|
25950
25916
|
"DescribeJavaMemShellInfoRequest": {
|
25951
25917
|
"document": "DescribeJavaMemShellInfo请求参数结构体",
|
25952
25918
|
"members": [
|
@@ -1606,14 +1606,6 @@
|
|
1606
1606
|
"title": "查询批量导入机器信息"
|
1607
1607
|
}
|
1608
1608
|
],
|
1609
|
-
"DescribeIndexList": [
|
1610
|
-
{
|
1611
|
-
"document": "",
|
1612
|
-
"input": "https://cwp.tencentcloudapi.com/?Action=DescribeIndexList\n&<公共请求参数>",
|
1613
|
-
"output": "{\n \"Response\": {\n \"Data\": \"{\\\"indexSort\\\":{\\\"资产管理\\\":[\\\"userlog-asset_component\\\"],\\\"入侵检测\\\":[\\\"userlog-malware\\\"],\\\"网络防御\\\":[\\\"userlog-network_attack\\\"]},\\\"indexArr\\\":[\\\"userlog-asset_component\\\",\\\"userlog-malware\\\",\\\"userlog-network_attack\\\"],\\\"fieldArr\\\":[{\\\"quuid\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_index\\\":{\\\"_index\\\":{\\\"type\\\":\\\"_index\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_feature\\\":{\\\"_feature\\\":{\\\"type\\\":\\\"_feature\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"hostip\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"user_name\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"modify_time\\\":{\\\"date\\\":{\\\"type\\\":\\\"date\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"pid\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"proc_tree\\\":{\\\"text\\\":{\\\"type\\\":\\\"text\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"uuid\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"dst_ip\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"parent_proc_path\\\":{\\\"text\\\":{\\\"type\\\":\\\"text\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"_ignored\\\":{\\\"_ignored\\\":{\\\"type\\\":\\\"_ignored\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"process_name\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"id\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"full_path\\\":{\\\"text\\\":{\\\"type\\\":\\\"text\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"_version\\\":{\\\"_version\\\":{\\\"type\\\":\\\"_version\\\",\\\"searchable\\\":false,\\\"aggregatable\\\":false}},\\\"_routing\\\":{\\\"_routing\\\":{\\\"type\\\":\\\"_routing\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"user_group\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"create_time\\\":{\\\"date\\\":{\\\"type\\\":\\\"date\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_type\\\":{\\\"_type\\\":{\\\"type\\\":\\\"_type\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"ppid\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"find_time\\\":{\\\"date\\\":{\\\"type\\\":\\\"date\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_seq_no\\\":{\\\"_seq_no\\\":{\\\"type\\\":\\\"_seq_no\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"parent_proc_group\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"parent_proc_user\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"cmd_line\\\":{\\\"text\\\":{\\\"type\\\":\\\"text\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"_field_names\\\":{\\\"_field_names\\\":{\\\"type\\\":\\\"_field_names\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"parent_proc_name\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"appid\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"dst_port\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_source\\\":{\\\"_source\\\":{\\\"type\\\":\\\"_source\\\",\\\"searchable\\\":false,\\\"aggregatable\\\":false}},\\\"_id\\\":{\\\"_id\\\":{\\\"type\\\":\\\"_id\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"status\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}}},{\\\"_index\\\":{\\\"_index\\\":{\\\"type\\\":\\\"_index\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"hostip\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_feature\\\":{\\\"_feature\\\":{\\\"type\\\":\\\"_feature\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"modify_time\\\":{\\\"date\\\":{\\\"type\\\":\\\"date\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"filemodifiertime\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"filesize\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"uuid\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_ignored\\\":{\\\"_ignored\\\":{\\\"type\\\":\\\"_ignored\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"virusname\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"filepath\\\":{\\\"text\\\":{\\\"type\\\":\\\"text\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"id\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_version\\\":{\\\"_version\\\":{\\\"type\\\":\\\"_version\\\",\\\"searchable\\\":false,\\\"aggregatable\\\":false}},\\\"_routing\\\":{\\\"_routing\\\":{\\\"type\\\":\\\"_routing\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"create_time\\\":{\\\"date\\\":{\\\"type\\\":\\\"date\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_type\\\":{\\\"_type\\\":{\\\"type\\\":\\\"_type\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"fileaccesstime\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"pathmd5\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"bwtype\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_seq_no\\\":{\\\"_seq_no\\\":{\\\"type\\\":\\\"_seq_no\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_field_names\\\":{\\\"_field_names\\\":{\\\"type\\\":\\\"_field_names\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"filecreatetime\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"appid\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_source\\\":{\\\"_source\\\":{\\\"type\\\":\\\"_source\\\",\\\"searchable\\\":false,\\\"aggregatable\\\":false}},\\\"_id\\\":{\\\"_id\\\":{\\\"type\\\":\\\"_id\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"status\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"md5\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}}},{\\\"_routing\\\":{\\\"_routing\\\":{\\\"type\\\":\\\"_routing\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"component_id\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"quuid\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_index\\\":{\\\"_index\\\":{\\\"type\\\":\\\"_index\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"create_time\\\":{\\\"date\\\":{\\\"type\\\":\\\"date\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_feature\\\":{\\\"_feature\\\":{\\\"type\\\":\\\"_feature\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"hostip\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"modify_time\\\":{\\\"date\\\":{\\\"type\\\":\\\"date\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_type\\\":{\\\"_type\\\":{\\\"type\\\":\\\"_type\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"remark\\\":{\\\"text\\\":{\\\"type\\\":\\\"text\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"type\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"uuid\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"version\\\":{\\\"keyword\\\":{\\\"type\\\":\\\"keyword\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_ignored\\\":{\\\"_ignored\\\":{\\\"type\\\":\\\"_ignored\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"_seq_no\\\":{\\\"_seq_no\\\":{\\\"type\\\":\\\"_seq_no\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"path\\\":{\\\"text\\\":{\\\"type\\\":\\\"text\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"_field_names\\\":{\\\"_field_names\\\":{\\\"type\\\":\\\"_field_names\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":false}},\\\"appid\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_source\\\":{\\\"_source\\\":{\\\"type\\\":\\\"_source\\\",\\\"searchable\\\":false,\\\"aggregatable\\\":false}},\\\"_id\\\":{\\\"_id\\\":{\\\"type\\\":\\\"_id\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"id\\\":{\\\"long\\\":{\\\"type\\\":\\\"long\\\",\\\"searchable\\\":true,\\\"aggregatable\\\":true}},\\\"_version\\\":{\\\"_version\\\":{\\\"type\\\":\\\"_version\\\",\\\"searchable\\\":false,\\\"aggregatable\\\":false}}}]}\",\n \"RequestId\": \"49082d4a-71b4-4e32-9ca1-b33872a4a63a\"\n }\n}",
|
1614
|
-
"title": "获取索引列表"
|
1615
|
-
}
|
1616
|
-
],
|
1617
1609
|
"DescribeJavaMemShellInfo": [
|
1618
1610
|
{
|
1619
1611
|
"document": "",
|