tccli 3.0.1346.1__py2.py3-none-any.whl → 3.0.1348.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/ai3d/__init__.py +4 -0
- tccli/services/ai3d/ai3d_client.py +260 -0
- tccli/services/ai3d/v20250513/api.json +239 -0
- tccli/services/ai3d/v20250513/examples.json +21 -0
- tccli/services/ccc/v20200210/api.json +9 -0
- tccli/services/cdb/v20170320/api.json +22 -22
- tccli/services/cdb/v20170320/examples.json +3 -3
- tccli/services/cvm/v20170312/api.json +63 -0
- tccli/services/cwp/v20180228/api.json +129 -2
- tccli/services/cwp/v20180228/examples.json +1 -1
- tccli/services/dlc/dlc_client.py +61 -8
- tccli/services/dlc/v20210125/api.json +43 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/emr/v20190103/api.json +19 -0
- tccli/services/gs/v20191118/api.json +95 -17
- tccli/services/gs/v20191118/examples.json +2 -2
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +171 -0
- tccli/services/ioa/v20220601/examples.json +20 -0
- tccli/services/mariadb/v20170312/api.json +27 -0
- tccli/services/ocr/v20181119/api.json +37 -6
- tccli/services/wedata/v20210820/api.json +18 -1
- {tccli-3.0.1346.1.dist-info → tccli-3.0.1348.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1346.1.dist-info → tccli-3.0.1348.1.dist-info}/RECORD +29 -25
- {tccli-3.0.1346.1.dist-info → tccli-3.0.1348.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1346.1.dist-info → tccli-3.0.1348.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1346.1.dist-info → tccli-3.0.1348.1.dist-info}/license_files/LICENSE +0 -0
@@ -498,7 +498,7 @@
|
|
498
498
|
"status": "online"
|
499
499
|
},
|
500
500
|
"DescribeDBInstanceInfo": {
|
501
|
-
"document": "本接口(DescribeDBInstanceInfo)用于查询实例基本信息(实例 ID
|
501
|
+
"document": "本接口(DescribeDBInstanceInfo)用于查询实例基本信息(实例 ID,实例名称,是否开通加密),只读实例不支持查询。",
|
502
502
|
"input": "DescribeDBInstanceInfoRequest",
|
503
503
|
"name": "查询实例基本信息",
|
504
504
|
"output": "DescribeDBInstanceInfoResponse",
|
@@ -701,7 +701,7 @@
|
|
701
701
|
"status": "online"
|
702
702
|
},
|
703
703
|
"DescribeSSLStatus": {
|
704
|
-
"document": "
|
704
|
+
"document": "本接口(DescribeSSLStatus)用于查询 SSL 开通情况。如果已经开通 SSL ,会同步返回证书下载链接。",
|
705
705
|
"input": "DescribeSSLStatusRequest",
|
706
706
|
"name": "查询 SSL 开通情况",
|
707
707
|
"output": "DescribeSSLStatusResponse",
|
@@ -1951,7 +1951,7 @@
|
|
1951
1951
|
"members": [
|
1952
1952
|
{
|
1953
1953
|
"disabled": false,
|
1954
|
-
"document": "安全组 ID
|
1954
|
+
"document": "安全组 ID。可通过 [DescribeDBSecurityGroups](https://cloud.tencent.com/document/api/236/15854) 接口获取。",
|
1955
1955
|
"example": "sg-ajr1jzgj",
|
1956
1956
|
"member": "string",
|
1957
1957
|
"name": "SecurityGroupId",
|
@@ -1960,8 +1960,8 @@
|
|
1960
1960
|
},
|
1961
1961
|
{
|
1962
1962
|
"disabled": false,
|
1963
|
-
"document": "实例 ID 列表,一个或者多个实例 ID
|
1964
|
-
"example": "[\"cdb-eb2w7dto
|
1963
|
+
"document": "实例 ID 列表,一个或者多个实例 ID 组成的数组。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。",
|
1964
|
+
"example": "[\"cdb-eb2w7dto\"]",
|
1965
1965
|
"member": "string",
|
1966
1966
|
"name": "InstanceIds",
|
1967
1967
|
"required": true,
|
@@ -5912,7 +5912,7 @@
|
|
5912
5912
|
},
|
5913
5913
|
{
|
5914
5914
|
"disabled": false,
|
5915
|
-
"document": "私有网络 ID,请使用 [查询私有网络列表](/document/api/215/15778)。\n
|
5915
|
+
"document": "私有网络 ID,请使用 [查询私有网络列表](/document/api/215/15778)。\n说明:如果创建的是集群版实例,此参数为必填且为私有网络类型。若此项不填,则系统会选择默认的 VPC。",
|
5916
5916
|
"example": "vpc-5l7l5q11",
|
5917
5917
|
"member": "string",
|
5918
5918
|
"name": "UniqVpcId",
|
@@ -5921,7 +5921,7 @@
|
|
5921
5921
|
},
|
5922
5922
|
{
|
5923
5923
|
"disabled": false,
|
5924
|
-
"document": "私有网络下的子网 ID,如果设置了 UniqVpcId,则 UniqSubnetId 必填,请使用 [查询子网列表](/document/api/215/15784)
|
5924
|
+
"document": "私有网络下的子网 ID,如果设置了 UniqVpcId,则 UniqSubnetId 必填,请使用 [查询子网列表](/document/api/215/15784)。\n说明:若此项不填,则系统会选择默认 VPC 下的默认子网。",
|
5925
5925
|
"example": "subnet-b5v6i111",
|
5926
5926
|
"member": "string",
|
5927
5927
|
"name": "UniqSubnetId",
|
@@ -5957,7 +5957,7 @@
|
|
5957
5957
|
},
|
5958
5958
|
{
|
5959
5959
|
"disabled": false,
|
5960
|
-
"document": "实例类型,支持值包括:master - 表示主实例,dr - 表示灾备实例,ro - 表示只读实例。\n
|
5960
|
+
"document": "实例类型,支持值包括:master - 表示主实例,dr - 表示灾备实例,ro - 表示只读实例。\n说明:请选择实例类型,不填会默认选择 master。",
|
5961
5961
|
"example": "master",
|
5962
5962
|
"member": "string",
|
5963
5963
|
"name": "InstanceRole",
|
@@ -5975,7 +5975,7 @@
|
|
5975
5975
|
},
|
5976
5976
|
{
|
5977
5977
|
"disabled": false,
|
5978
|
-
"document": "自定义端口,端口支持范围:[
|
5978
|
+
"document": "自定义端口,端口支持范围:[1024 - 65535]。\n说明:不填则默认为3306。",
|
5979
5979
|
"example": "3306",
|
5980
5980
|
"member": "int64",
|
5981
5981
|
"name": "Port",
|
@@ -6328,7 +6328,7 @@
|
|
6328
6328
|
},
|
6329
6329
|
{
|
6330
6330
|
"disabled": false,
|
6331
|
-
"document": "私有网络 ID,请使用 [查询私有网络列表](/document/api/215/15778)。\n
|
6331
|
+
"document": "私有网络 ID,请使用 [查询私有网络列表](/document/api/215/15778)。\n说明:如果创建的是集群版实例,此参数为必填且为私有网络类型。若此项不填,则系统会选择默认的 VPC。",
|
6332
6332
|
"example": "vpc-5l7l5q11",
|
6333
6333
|
"member": "string",
|
6334
6334
|
"name": "UniqVpcId",
|
@@ -6337,7 +6337,7 @@
|
|
6337
6337
|
},
|
6338
6338
|
{
|
6339
6339
|
"disabled": false,
|
6340
|
-
"document": "私有网络下的子网 ID,如果设置了 UniqVpcId,则 UniqSubnetId 必填,请使用 [查询子网列表](/document/api/215/15784)
|
6340
|
+
"document": "私有网络下的子网 ID,如果设置了 UniqVpcId,则 UniqSubnetId 必填,请使用 [查询子网列表](/document/api/215/15784)。\n说明:若此项不填,则系统会选择默认 VPC 下的默认子网。",
|
6341
6341
|
"example": "subnet-b5v6i111",
|
6342
6342
|
"member": "string",
|
6343
6343
|
"name": "UniqSubnetId",
|
@@ -6355,7 +6355,7 @@
|
|
6355
6355
|
},
|
6356
6356
|
{
|
6357
6357
|
"disabled": false,
|
6358
|
-
"document": "自定义端口,端口支持范围:[ 1024-65535 ]。",
|
6358
|
+
"document": "自定义端口,端口支持范围:[ 1024-65535 ]。\n说明:若此项不填,则默认为3306。",
|
6359
6359
|
"example": "3306",
|
6360
6360
|
"member": "int64",
|
6361
6361
|
"name": "Port",
|
@@ -6364,7 +6364,7 @@
|
|
6364
6364
|
},
|
6365
6365
|
{
|
6366
6366
|
"disabled": false,
|
6367
|
-
"document": "实例类型,支持值包括:master - 表示主实例,dr - 表示灾备实例,ro - 表示只读实例。\n
|
6367
|
+
"document": "实例类型,支持值包括:master - 表示主实例,dr - 表示灾备实例,ro - 表示只读实例。\n说明:请选择实例类型,不填会默认选择 master。",
|
6368
6368
|
"example": "master",
|
6369
6369
|
"member": "string",
|
6370
6370
|
"name": "InstanceRole",
|
@@ -6373,7 +6373,7 @@
|
|
6373
6373
|
},
|
6374
6374
|
{
|
6375
6375
|
"disabled": false,
|
6376
|
-
"document": "实例 ID
|
6376
|
+
"document": "实例 ID,购买只读实例或灾备实例时必填,该字段表示只读实例或灾备实例的主实例 ID,请使用 [查询实例列表](https://cloud.tencent.com/document/api/236/15872) 接口查询云数据库实例 ID。",
|
6377
6377
|
"example": "cdb-q72dnodd",
|
6378
6378
|
"member": "string",
|
6379
6379
|
"name": "MasterInstanceId",
|
@@ -6445,7 +6445,7 @@
|
|
6445
6445
|
},
|
6446
6446
|
{
|
6447
6447
|
"disabled": false,
|
6448
|
-
"document": "自动续费标记,可选值为:0 - 不自动续费;1 -
|
6448
|
+
"document": "自动续费标记,可选值为:0 - 不自动续费;1 - 自动续费。默认为0。",
|
6449
6449
|
"example": "1",
|
6450
6450
|
"member": "int64",
|
6451
6451
|
"name": "AutoRenewFlag",
|
@@ -7050,7 +7050,7 @@
|
|
7050
7050
|
},
|
7051
7051
|
{
|
7052
7052
|
"disabled": false,
|
7053
|
-
"document": "
|
7053
|
+
"document": "内存,单位为MB",
|
7054
7054
|
"example": "4000",
|
7055
7055
|
"member": "uint64",
|
7056
7056
|
"name": "Memory",
|
@@ -9436,7 +9436,7 @@
|
|
9436
9436
|
"members": [
|
9437
9437
|
{
|
9438
9438
|
"disabled": false,
|
9439
|
-
"document": "实例ID",
|
9439
|
+
"document": "实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。",
|
9440
9440
|
"example": "cdb-aykuksx3",
|
9441
9441
|
"member": "string",
|
9442
9442
|
"name": "InstanceId",
|
@@ -9445,7 +9445,7 @@
|
|
9445
9445
|
},
|
9446
9446
|
{
|
9447
9447
|
"disabled": false,
|
9448
|
-
"document": "代理组ID",
|
9448
|
+
"document": "代理组 ID。",
|
9449
9449
|
"example": "proxy-ixw3ll2d",
|
9450
9450
|
"member": "string",
|
9451
9451
|
"name": "ProxyGroupId",
|
@@ -10133,7 +10133,7 @@
|
|
10133
10133
|
"members": [
|
10134
10134
|
{
|
10135
10135
|
"disabled": false,
|
10136
|
-
"document": "实例 ID。",
|
10136
|
+
"document": "实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。\n说明:仅主实例支持查询,此项仅支持输入主实例 ID。",
|
10137
10137
|
"example": "cdb-59dm059k",
|
10138
10138
|
"member": "string",
|
10139
10139
|
"name": "InstanceId",
|
@@ -12241,7 +12241,7 @@
|
|
12241
12241
|
"members": [
|
12242
12242
|
{
|
12243
12243
|
"disabled": false,
|
12244
|
-
"document": "实例ID",
|
12244
|
+
"document": "实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。",
|
12245
12245
|
"example": "cdb-2wpip1dd",
|
12246
12246
|
"member": "string",
|
12247
12247
|
"name": "InstanceId",
|
@@ -12752,7 +12752,7 @@
|
|
12752
12752
|
"members": [
|
12753
12753
|
{
|
12754
12754
|
"disabled": false,
|
12755
|
-
"document": "实例 ID
|
12755
|
+
"document": "实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/product/236/15872) 接口获取。\n说明:实例 ID 和只读组 ID 两个参数选其一填写即可。若要查询双节点、三节点实例 SSL 开通情况,请填写实例 ID 参数进行查询。单节点(云盘)、云盘版实例不支持开启 SSL,因此不支持查询。",
|
12756
12756
|
"example": "cdb-test",
|
12757
12757
|
"member": "string",
|
12758
12758
|
"name": "InstanceId",
|
@@ -12761,7 +12761,7 @@
|
|
12761
12761
|
},
|
12762
12762
|
{
|
12763
12763
|
"disabled": false,
|
12764
|
-
"document": "只读组 ID
|
12764
|
+
"document": "只读组 ID。可通过 [DescribeRoGroups](https://cloud.tencent.com/document/api/236/40939) 接口获取。\n说明:实例 ID 和只读组 ID 两个参数选其一填写即可。若要查询只读实例或只读组 SSL 开通情况,请填写 RoGroupId 参数,并注意填写的都是只读组 ID。单节点(云盘)、云盘版实例不支持开启 SSL,因此不支持查询。",
|
12765
12765
|
"example": "cdbrg-test",
|
12766
12766
|
"member": "string",
|
12767
12767
|
"name": "RoGroupId",
|
@@ -857,9 +857,9 @@
|
|
857
857
|
"DescribeSSLStatus": [
|
858
858
|
{
|
859
859
|
"document": "",
|
860
|
-
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSSLStatus\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-
|
861
|
-
"output": "{\n \"Response\": {\n \"Status\": \"ON\",\n \"Url\": \"http
|
862
|
-
"title": "获取SSL开通情况以及证书下载链接"
|
860
|
+
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSSLStatus\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-je5dfmdl\"\n}",
|
861
|
+
"output": "{\n \"Response\": {\n \"Status\": \"ON\",\n \"Url\": \"http://***download.url\",\n \"RequestId\": \"6EF60BEC-0242-43AF-BB20-270359FB54A7\"\n }\n}",
|
862
|
+
"title": "获取 SSL 开通情况以及证书下载链接"
|
863
863
|
}
|
864
864
|
],
|
865
865
|
"DescribeSlowLogData": [
|
@@ -7664,6 +7664,16 @@
|
|
7664
7664
|
"output_required": true,
|
7665
7665
|
"type": "string",
|
7666
7666
|
"value_allowed_null": true
|
7667
|
+
},
|
7668
|
+
{
|
7669
|
+
"disabled": false,
|
7670
|
+
"document": "实例绑定的公网IPv6地址。",
|
7671
|
+
"example": "[\"240d:c000:f000:ac00:5460:6340:16aa:6\"]",
|
7672
|
+
"member": "string",
|
7673
|
+
"name": "PublicIPv6Addresses",
|
7674
|
+
"output_required": false,
|
7675
|
+
"type": "list",
|
7676
|
+
"value_allowed_null": false
|
7667
7677
|
}
|
7668
7678
|
],
|
7669
7679
|
"usage": "out"
|
@@ -8242,6 +8252,50 @@
|
|
8242
8252
|
"required": false,
|
8243
8253
|
"type": "string",
|
8244
8254
|
"value_allowed_null": false
|
8255
|
+
},
|
8256
|
+
{
|
8257
|
+
"disabled": false,
|
8258
|
+
"document": "线路类型。各种线路类型详情可参考:[EIP 的 IP 地址类型](https://cloud.tencent.com/document/product/1199/41646)。默认值:BGP。\n\n- BGP:常规 BGP 线路\n\n已开通静态单线IP白名单的用户,可选值:\n\n - CMCC:中国移动\n - CTCC:中国电信\n - CUCC:中国联通\n\n注意:仅部分地域支持静态单线IP。\n示例值:BGP",
|
8259
|
+
"example": "CMCC",
|
8260
|
+
"member": "string",
|
8261
|
+
"name": "InternetServiceProvider",
|
8262
|
+
"output_required": false,
|
8263
|
+
"required": false,
|
8264
|
+
"type": "string",
|
8265
|
+
"value_allowed_null": false
|
8266
|
+
},
|
8267
|
+
{
|
8268
|
+
"disabled": false,
|
8269
|
+
"document": "公网 IP 类型。\n\n- WanIP:普通公网IP。\n- HighQualityEIP:精品 IP。仅新加坡和中国香港支持精品IP。\n- AntiDDoSEIP:高防 IP。仅部分地域支持高防IP,详情可见[弹性公网IP产品概述](https://cloud.tencent.com/document/product/1199/41646)。\n\n如需为资源分配公网IPv4地址,请指定公网IPv4地址类型。\n\n示例值:WanIP\n\n此功能仅部分地区灰度开发,如需使用[请提交工单咨询](https://console.cloud.tencent.com/workorder/category)",
|
8270
|
+
"example": "WanIP",
|
8271
|
+
"member": "string",
|
8272
|
+
"name": "IPv4AddressType",
|
8273
|
+
"output_required": false,
|
8274
|
+
"required": false,
|
8275
|
+
"type": "string",
|
8276
|
+
"value_allowed_null": false
|
8277
|
+
},
|
8278
|
+
{
|
8279
|
+
"disabled": false,
|
8280
|
+
"document": "弹性公网 IPv6 类型。\n- EIPv6:弹性公网 IPv6。\n- HighQualityEIPv6:精品 IPv6。仅中国香港支持精品IPv6。\n\n如需为资源分配IPv6地址,请指定弹性公网IPv6类型。\n示例值:EIPv6\n\n此功能仅部分地区灰度开发,如需使用[请提交工单咨询](https://console.cloud.tencent.com/workorder/category)",
|
8281
|
+
"example": "EIPv6",
|
8282
|
+
"member": "string",
|
8283
|
+
"name": "IPv6AddressType",
|
8284
|
+
"output_required": false,
|
8285
|
+
"required": false,
|
8286
|
+
"type": "string",
|
8287
|
+
"value_allowed_null": false
|
8288
|
+
},
|
8289
|
+
{
|
8290
|
+
"disabled": false,
|
8291
|
+
"document": "高防包唯一ID,申请高防IP时,该字段必传。\n示例值:bgp-12345678\n",
|
8292
|
+
"example": "bgp-12345678",
|
8293
|
+
"member": "string",
|
8294
|
+
"name": "AntiDDoSPackageId",
|
8295
|
+
"output_required": false,
|
8296
|
+
"required": false,
|
8297
|
+
"type": "string",
|
8298
|
+
"value_allowed_null": false
|
8245
8299
|
}
|
8246
8300
|
],
|
8247
8301
|
"usage": "both"
|
@@ -12531,6 +12585,15 @@
|
|
12531
12585
|
"required": true,
|
12532
12586
|
"type": "list"
|
12533
12587
|
},
|
12588
|
+
{
|
12589
|
+
"disabled": false,
|
12590
|
+
"document": "释放弹性IP。EIP2.0下,仅提供主网卡下首个EIP,EIP类型限定在HighQualityEIP、AntiDDoSEIP、EIPv6、HighQualityEIPv6这几种类型。默认行为不释放。\n\n示例值:true\n默认值:false",
|
12591
|
+
"example": "true",
|
12592
|
+
"member": "bool",
|
12593
|
+
"name": "ReleaseAddress",
|
12594
|
+
"required": false,
|
12595
|
+
"type": "bool"
|
12596
|
+
},
|
12534
12597
|
{
|
12535
12598
|
"disabled": false,
|
12536
12599
|
"document": "释放实例挂载的包年包月数据盘。true表示销毁实例同时释放包年包月数据盘,false表示只销毁实例。\n默认值:false",
|
@@ -12033,6 +12033,16 @@
|
|
12033
12033
|
"output_required": true,
|
12034
12034
|
"type": "int",
|
12035
12035
|
"value_allowed_null": false
|
12036
|
+
},
|
12037
|
+
{
|
12038
|
+
"disabled": false,
|
12039
|
+
"document": "执行命令(解码后)",
|
12040
|
+
"example": "rm",
|
12041
|
+
"member": "string",
|
12042
|
+
"name": "BashCmdDecoded",
|
12043
|
+
"output_required": false,
|
12044
|
+
"type": "string",
|
12045
|
+
"value_allowed_null": false
|
12036
12046
|
}
|
12037
12047
|
],
|
12038
12048
|
"usage": "out"
|
@@ -28484,6 +28494,36 @@
|
|
28484
28494
|
"type": "int",
|
28485
28495
|
"value_allowed_null": false
|
28486
28496
|
},
|
28497
|
+
{
|
28498
|
+
"disabled": false,
|
28499
|
+
"document": "执行清理开关 0未开启 1开启",
|
28500
|
+
"example": "0",
|
28501
|
+
"member": "uint64",
|
28502
|
+
"name": "DoClean",
|
28503
|
+
"output_required": false,
|
28504
|
+
"type": "int",
|
28505
|
+
"value_allowed_null": false
|
28506
|
+
},
|
28507
|
+
{
|
28508
|
+
"disabled": false,
|
28509
|
+
"document": "自选的隔离主机集合",
|
28510
|
+
"example": "[\"972290ce-2e07-4689-8f92-f617239bbf82\"]",
|
28511
|
+
"member": "string",
|
28512
|
+
"name": "QuaraUuids",
|
28513
|
+
"output_required": false,
|
28514
|
+
"type": "list",
|
28515
|
+
"value_allowed_null": false
|
28516
|
+
},
|
28517
|
+
{
|
28518
|
+
"disabled": false,
|
28519
|
+
"document": "用户选择的隔离范围,0:默认全隔离 1:用户自选",
|
28520
|
+
"example": "0",
|
28521
|
+
"member": "uint64",
|
28522
|
+
"name": "QuaraScope",
|
28523
|
+
"output_required": false,
|
28524
|
+
"type": "int",
|
28525
|
+
"value_allowed_null": false
|
28526
|
+
},
|
28487
28527
|
{
|
28488
28528
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
28489
28529
|
"member": "string",
|
@@ -45427,6 +45467,26 @@
|
|
45427
45467
|
"output_required": false,
|
45428
45468
|
"type": "object",
|
45429
45469
|
"value_allowed_null": false
|
45470
|
+
},
|
45471
|
+
{
|
45472
|
+
"disabled": false,
|
45473
|
+
"document": "是否可以清理",
|
45474
|
+
"example": "true",
|
45475
|
+
"member": "bool",
|
45476
|
+
"name": "DoClean",
|
45477
|
+
"output_required": false,
|
45478
|
+
"type": "bool",
|
45479
|
+
"value_allowed_null": false
|
45480
|
+
},
|
45481
|
+
{
|
45482
|
+
"disabled": false,
|
45483
|
+
"document": "首次检出方式 0扫描;1实时监控",
|
45484
|
+
"example": "1",
|
45485
|
+
"member": "uint64",
|
45486
|
+
"name": "FirstDetectionMethod",
|
45487
|
+
"output_required": false,
|
45488
|
+
"type": "int",
|
45489
|
+
"value_allowed_null": false
|
45430
45490
|
}
|
45431
45491
|
],
|
45432
45492
|
"usage": "out"
|
@@ -45819,6 +45879,16 @@
|
|
45819
45879
|
"output_required": false,
|
45820
45880
|
"type": "bool",
|
45821
45881
|
"value_allowed_null": false
|
45882
|
+
},
|
45883
|
+
{
|
45884
|
+
"disabled": false,
|
45885
|
+
"document": "首次检出方式0扫描;1实时监控",
|
45886
|
+
"example": "0",
|
45887
|
+
"member": "uint64",
|
45888
|
+
"name": "FirstDetectionMethod",
|
45889
|
+
"output_required": false,
|
45890
|
+
"type": "int",
|
45891
|
+
"value_allowed_null": false
|
45822
45892
|
}
|
45823
45893
|
],
|
45824
45894
|
"usage": "out"
|
@@ -47958,6 +48028,24 @@
|
|
47958
48028
|
"name": "ProtectFileScope",
|
47959
48029
|
"required": false,
|
47960
48030
|
"type": "int"
|
48031
|
+
},
|
48032
|
+
{
|
48033
|
+
"disabled": false,
|
48034
|
+
"document": "自选的隔离主机集合",
|
48035
|
+
"example": "[\"quuidA\"]",
|
48036
|
+
"member": "string",
|
48037
|
+
"name": "QuaraUuids",
|
48038
|
+
"required": false,
|
48039
|
+
"type": "list"
|
48040
|
+
},
|
48041
|
+
{
|
48042
|
+
"disabled": false,
|
48043
|
+
"document": "用户选择的隔离范围,0:默认全隔离 1:用户自选",
|
48044
|
+
"example": "1",
|
48045
|
+
"member": "uint64",
|
48046
|
+
"name": "QuaraScope",
|
48047
|
+
"required": false,
|
48048
|
+
"type": "int"
|
47961
48049
|
}
|
47962
48050
|
],
|
47963
48051
|
"type": "object"
|
@@ -54700,7 +54788,7 @@
|
|
54700
54788
|
{
|
54701
54789
|
"disabled": false,
|
54702
54790
|
"document": "建议方案",
|
54703
|
-
"example": "1
|
54791
|
+
"example": "1.检查恶意进程及非法端口",
|
54704
54792
|
"member": "string",
|
54705
54793
|
"name": "SuggestSolution",
|
54706
54794
|
"output_required": true,
|
@@ -54756,6 +54844,16 @@
|
|
54756
54844
|
"output_required": true,
|
54757
54845
|
"type": "string",
|
54758
54846
|
"value_allowed_null": false
|
54847
|
+
},
|
54848
|
+
{
|
54849
|
+
"disabled": false,
|
54850
|
+
"document": "首次检出方式 0扫描;1实时监控",
|
54851
|
+
"example": "1",
|
54852
|
+
"member": "uint64",
|
54853
|
+
"name": "FirstDetectionMethod",
|
54854
|
+
"output_required": false,
|
54855
|
+
"type": "int",
|
54856
|
+
"value_allowed_null": false
|
54759
54857
|
}
|
54760
54858
|
],
|
54761
54859
|
"usage": "out"
|
@@ -55272,6 +55370,26 @@
|
|
55272
55370
|
"type": "int",
|
55273
55371
|
"value_allowed_null": false
|
55274
55372
|
},
|
55373
|
+
{
|
55374
|
+
"disabled": false,
|
55375
|
+
"document": "自选主机里面包含基础版个数",
|
55376
|
+
"example": "0",
|
55377
|
+
"member": "uint64",
|
55378
|
+
"name": "BasicVersionCount",
|
55379
|
+
"output_required": false,
|
55380
|
+
"type": "int",
|
55381
|
+
"value_allowed_null": false
|
55382
|
+
},
|
55383
|
+
{
|
55384
|
+
"disabled": false,
|
55385
|
+
"document": "创建扫描任务机器个数",
|
55386
|
+
"example": "20",
|
55387
|
+
"member": "uint64",
|
55388
|
+
"name": "SuccessCount",
|
55389
|
+
"output_required": false,
|
55390
|
+
"type": "int",
|
55391
|
+
"value_allowed_null": false
|
55392
|
+
},
|
55275
55393
|
{
|
55276
55394
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
55277
55395
|
"member": "string",
|
@@ -60756,7 +60874,7 @@
|
|
60756
60874
|
"members": [
|
60757
60875
|
{
|
60758
60876
|
"disabled": false,
|
60759
|
-
"document": "事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6
|
60877
|
+
"document": "事件告警类型;1:离线,2:木马,3:异常登录,4:爆破,5:漏洞(已拆分为9-12四种类型)6:高危命令,7:反弹sell,8:本地提权,9:系统组件漏洞,10:web应用漏洞,11:应急漏洞,12:安全基线,14:恶意请求,15: 网络攻击,16:Windows系统漏洞,17:Linux软件漏洞",
|
60760
60878
|
"example": "2",
|
60761
60879
|
"member": "uint64",
|
60762
60880
|
"name": "Type",
|
@@ -60807,6 +60925,15 @@
|
|
60807
60925
|
"name": "HostRange",
|
60808
60926
|
"required": false,
|
60809
60927
|
"type": "int"
|
60928
|
+
},
|
60929
|
+
{
|
60930
|
+
"disabled": false,
|
60931
|
+
"document": "单位",
|
60932
|
+
"example": "minute",
|
60933
|
+
"member": "string",
|
60934
|
+
"name": "Unit",
|
60935
|
+
"required": false,
|
60936
|
+
"type": "string"
|
60810
60937
|
}
|
60811
60938
|
],
|
60812
60939
|
"usage": "in"
|
@@ -1920,7 +1920,7 @@
|
|
1920
1920
|
{
|
1921
1921
|
"document": "",
|
1922
1922
|
"input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMalwareTimingScanSetting\n<公共请求参数>\n\n{}",
|
1923
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"1e96ed81-a2f2-4029-893b-b63ed1328694\",\n \"CheckPattern\": 1,\n \"StartTime\": \"2020-05-20 00:00:00\",\n \"EndTime\": \"2020-05-20 00:00:00\",\n \"IsGlobal\": 1,\n \"QuuidList\": [\n \"972290ce-2e07-4689-8f92-f617239bbf82\"\n ],\n \"RealTimeMonitoring\": 1,\n \"MonitoringPattern\": 0,\n \"Cycle\": 1,\n \"EnableScan\": 1,\n \"Id\": 0,\n \"AutoIsolation\": 1,\n \"KillProcess\": 1,\n \"ClickTimeout\": 0,\n \"EngineType\": 1,\n \"EnableInspiredEngine\": 1,\n \"EnableMemShellScan\": 1,\n \"ProtectMode\": 0,\n \"ProtectFileScope\": 0\n }\n}",
|
1923
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1e96ed81-a2f2-4029-893b-b63ed1328694\",\n \"CheckPattern\": 1,\n \"StartTime\": \"2020-05-20 00:00:00\",\n \"EndTime\": \"2020-05-20 00:00:00\",\n \"IsGlobal\": 1,\n \"QuuidList\": [\n \"972290ce-2e07-4689-8f92-f617239bbf82\"\n ],\n \"RealTimeMonitoring\": 1,\n \"MonitoringPattern\": 0,\n \"Cycle\": 1,\n \"EnableScan\": 1,\n \"Id\": 0,\n \"AutoIsolation\": 1,\n \"KillProcess\": 1,\n \"ClickTimeout\": 0,\n \"EngineType\": 1,\n \"EnableInspiredEngine\": 1,\n \"EnableMemShellScan\": 1,\n \"ProtectMode\": 0,\n \"ProtectFileScope\": 0,\n \"DoClean\": 1\n }\n}",
|
1924
1924
|
"title": "查询定时扫描配置"
|
1925
1925
|
}
|
1926
1926
|
],
|
tccli/services/dlc/dlc_client.py
CHANGED
@@ -2565,7 +2565,7 @@ def doReportHeartbeatMetaData(args, parsed_globals):
|
|
2565
2565
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2566
2566
|
|
2567
2567
|
|
2568
|
-
def
|
2568
|
+
def doAssignMangedTableProperties(args, parsed_globals):
|
2569
2569
|
g_param = parse_global_arg(parsed_globals)
|
2570
2570
|
|
2571
2571
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -2594,11 +2594,11 @@ def doDescribeSparkSessionBatchSQLCost(args, parsed_globals):
|
|
2594
2594
|
client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
|
2595
2595
|
client._sdkVersion += ("_CLI_" + __version__)
|
2596
2596
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2597
|
-
model = models.
|
2597
|
+
model = models.AssignMangedTablePropertiesRequest()
|
2598
2598
|
model.from_json_string(json.dumps(args))
|
2599
2599
|
start_time = time.time()
|
2600
2600
|
while True:
|
2601
|
-
rsp = client.
|
2601
|
+
rsp = client.AssignMangedTableProperties(model)
|
2602
2602
|
result = rsp.to_json_string()
|
2603
2603
|
try:
|
2604
2604
|
json_obj = json.loads(result)
|
@@ -5581,7 +5581,7 @@ def doCreateDMSTable(args, parsed_globals):
|
|
5581
5581
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5582
5582
|
|
5583
5583
|
|
5584
|
-
def
|
5584
|
+
def doDescribeSparkSessionBatchSQLCost(args, parsed_globals):
|
5585
5585
|
g_param = parse_global_arg(parsed_globals)
|
5586
5586
|
|
5587
5587
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -5610,11 +5610,11 @@ def doAssignMangedTableProperties(args, parsed_globals):
|
|
5610
5610
|
client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
|
5611
5611
|
client._sdkVersion += ("_CLI_" + __version__)
|
5612
5612
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5613
|
-
model = models.
|
5613
|
+
model = models.DescribeSparkSessionBatchSQLCostRequest()
|
5614
5614
|
model.from_json_string(json.dumps(args))
|
5615
5615
|
start_time = time.time()
|
5616
5616
|
while True:
|
5617
|
-
rsp = client.
|
5617
|
+
rsp = client.DescribeSparkSessionBatchSQLCost(model)
|
5618
5618
|
result = rsp.to_json_string()
|
5619
5619
|
try:
|
5620
5620
|
json_obj = json.loads(result)
|
@@ -6049,6 +6049,58 @@ def doCreateImportTask(args, parsed_globals):
|
|
6049
6049
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6050
6050
|
|
6051
6051
|
|
6052
|
+
def doCancelTasks(args, parsed_globals):
|
6053
|
+
g_param = parse_global_arg(parsed_globals)
|
6054
|
+
|
6055
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
6056
|
+
cred = credential.CVMRoleCredential()
|
6057
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
6058
|
+
cred = credential.STSAssumeRoleCredential(
|
6059
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
6060
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
6061
|
+
)
|
6062
|
+
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):
|
6063
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
6064
|
+
else:
|
6065
|
+
cred = credential.Credential(
|
6066
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
6067
|
+
)
|
6068
|
+
http_profile = HttpProfile(
|
6069
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
6070
|
+
reqMethod="POST",
|
6071
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
6072
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
6073
|
+
)
|
6074
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
6075
|
+
if g_param[OptionsDefine.Language]:
|
6076
|
+
profile.language = g_param[OptionsDefine.Language]
|
6077
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
6078
|
+
client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
|
6079
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
6080
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6081
|
+
model = models.CancelTasksRequest()
|
6082
|
+
model.from_json_string(json.dumps(args))
|
6083
|
+
start_time = time.time()
|
6084
|
+
while True:
|
6085
|
+
rsp = client.CancelTasks(model)
|
6086
|
+
result = rsp.to_json_string()
|
6087
|
+
try:
|
6088
|
+
json_obj = json.loads(result)
|
6089
|
+
except TypeError as e:
|
6090
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
6091
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
6092
|
+
break
|
6093
|
+
cur_time = time.time()
|
6094
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
6095
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
6096
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
6097
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
6098
|
+
else:
|
6099
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
6100
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
6101
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6102
|
+
|
6103
|
+
|
6052
6104
|
def doCreateTable(args, parsed_globals):
|
6053
6105
|
g_param = parse_global_arg(parsed_globals)
|
6054
6106
|
|
@@ -7773,7 +7825,7 @@ ACTION_MAP = {
|
|
7773
7825
|
"DescribeTablesName": doDescribeTablesName,
|
7774
7826
|
"DeleteCHDFSBindingProduct": doDeleteCHDFSBindingProduct,
|
7775
7827
|
"ReportHeartbeatMetaData": doReportHeartbeatMetaData,
|
7776
|
-
"
|
7828
|
+
"AssignMangedTableProperties": doAssignMangedTableProperties,
|
7777
7829
|
"DescribeUpdatableDataEngines": doDescribeUpdatableDataEngines,
|
7778
7830
|
"CreateInternalTable": doCreateInternalTable,
|
7779
7831
|
"GenerateCreateMangedTableSql": doGenerateCreateMangedTableSql,
|
@@ -7831,7 +7883,7 @@ ACTION_MAP = {
|
|
7831
7883
|
"CreateTasksInOrder": doCreateTasksInOrder,
|
7832
7884
|
"UpdateRowFilter": doUpdateRowFilter,
|
7833
7885
|
"CreateDMSTable": doCreateDMSTable,
|
7834
|
-
"
|
7886
|
+
"DescribeSparkSessionBatchSQLCost": doDescribeSparkSessionBatchSQLCost,
|
7835
7887
|
"UpgradeDataEngineImage": doUpgradeDataEngineImage,
|
7836
7888
|
"DetachUserPolicy": doDetachUserPolicy,
|
7837
7889
|
"DescribeDataEngineEvents": doDescribeDataEngineEvents,
|
@@ -7840,6 +7892,7 @@ ACTION_MAP = {
|
|
7840
7892
|
"QueryResult": doQueryResult,
|
7841
7893
|
"CheckLockMetaData": doCheckLockMetaData,
|
7842
7894
|
"CreateImportTask": doCreateImportTask,
|
7895
|
+
"CancelTasks": doCancelTasks,
|
7843
7896
|
"CreateTable": doCreateTable,
|
7844
7897
|
"DescribeTaskResult": doDescribeTaskResult,
|
7845
7898
|
"CreateExportTask": doCreateExportTask,
|