tccli 3.0.1386.1__py2.py3-none-any.whl → 3.0.1388.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/apm/v20210622/api.json +20 -10
- tccli/services/apm/v20210622/examples.json +2 -2
- tccli/services/asr/v20190614/api.json +2 -2
- tccli/services/bh/v20230418/api.json +9 -0
- tccli/services/ccc/ccc_client.py +134 -28
- tccli/services/ccc/v20200210/api.json +514 -0
- tccli/services/ccc/v20200210/examples.json +16 -0
- tccli/services/cdwpg/v20201230/api.json +22 -4
- tccli/services/ckafka/v20190819/api.json +83 -85
- tccli/services/ckafka/v20190819/examples.json +6 -6
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/csip/v20221121/api.json +66 -16
- tccli/services/cynosdb/v20190107/api.json +36 -36
- tccli/services/dlc/v20210125/api.json +342 -1
- tccli/services/dlc/v20210125/examples.json +8 -2
- tccli/services/dnspod/v20210323/api.json +22 -12
- tccli/services/es/v20180416/api.json +7 -7
- tccli/services/faceid/v20180301/api.json +12 -2
- tccli/services/gs/gs_client.py +57 -4
- tccli/services/gs/v20191118/api.json +34 -0
- tccli/services/gs/v20191118/examples.json +8 -0
- tccli/services/ioa/ioa_client.py +267 -55
- tccli/services/ioa/v20220601/api.json +963 -98
- tccli/services/ioa/v20220601/examples.json +39 -1
- tccli/services/iotexplorer/v20190423/api.json +154 -2
- tccli/services/lke/v20231130/api.json +57 -19
- tccli/services/mongodb/mongodb_client.py +53 -0
- tccli/services/mongodb/v20190725/api.json +46 -2
- tccli/services/mongodb/v20190725/examples.json +8 -0
- tccli/services/ocr/v20181119/api.json +25 -25
- tccli/services/ocr/v20181119/examples.json +2 -2
- tccli/services/omics/v20221128/api.json +163 -13
- tccli/services/redis/v20180412/api.json +124 -42
- tccli/services/redis/v20180412/examples.json +6 -6
- tccli/services/tcaplusdb/v20190823/api.json +23 -3
- tccli/services/tione/v20211111/api.json +65 -15
- tccli/services/tione/v20211111/examples.json +1 -1
- tccli/services/trtc/v20190722/api.json +97 -14
- tccli/services/vdb/v20230616/api.json +2 -2
- tccli/services/vpc/v20170312/api.json +39 -10
- tccli/services/vpc/v20170312/examples.json +2 -2
- {tccli-3.0.1386.1.dist-info → tccli-3.0.1388.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1386.1.dist-info → tccli-3.0.1388.1.dist-info}/RECORD +47 -47
- {tccli-3.0.1386.1.dist-info → tccli-3.0.1388.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1386.1.dist-info → tccli-3.0.1388.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1386.1.dist-info → tccli-3.0.1388.1.dist-info}/license_files/LICENSE +0 -0
@@ -66,6 +66,22 @@
|
|
66
66
|
"title": "1"
|
67
67
|
}
|
68
68
|
],
|
69
|
+
"DescribeAggrSoftDetail": [
|
70
|
+
{
|
71
|
+
"document": "1",
|
72
|
+
"input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAggrSoftDetail\n<公共请求参数>\n\n{\n \"Name\": \"1\",\n \"OsType\": 0\n}",
|
73
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Name\": \"1\",\n \"OsType\": 0,\n \"PiracyRisk\": 0,\n \"Corp\": \"1\",\n \"SoftVersionDist\": [\n {\n \"Version\": \"1\",\n \"Num\": 0\n }\n ],\n \"PiracyVersionDist\": [\n {\n \"Version\": \"1\",\n \"Num\": 0\n }\n ],\n \"InstalledDeviceNum\": 0,\n \"PiracyInstalledDeviceNum\": 0,\n \"InstalledUserNum\": 0,\n \"PiracyInstalledUserNum\": 0,\n \"AuthNum\": 0,\n \"GenuineRate\": 0\n },\n \"RequestId\": \"1\"\n }\n}",
|
74
|
+
"title": "1"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"DescribeAggrSoftDeviceList": [
|
78
|
+
{
|
79
|
+
"document": "~",
|
80
|
+
"input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAggrSoftDeviceList\n<公共请求参数>\n\n{\n \"Name\": \"1\",\n \"OsType\": 0\n}",
|
81
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"Page\": {\n \"PageSize\": 1,\n \"PageNum\": 1,\n \"PageCount\": 1,\n \"Total\": 1\n },\n \"Total\": 0,\n \"AggrSoftDeviceList\": [\n {\n \"DeviceName\": \"1\",\n \"LastLoginAccount\": \"1\",\n \"DeviceUserName\": \"1\",\n \"Version\": \"1\",\n \"PiracyRisk\": 0,\n \"PiracyReason\": \"1\",\n \"InstallTime\": \"1\",\n \"UserPath\": \"1\",\n \"UserGroup\": \"1\",\n \"IP\": \"1\",\n \"MAC\": \"1\",\n \"UseTime\": 0,\n \"DeviceId\": 0,\n \"FullSoftName\": \"1\"\n }\n ]\n },\n \"RequestId\": \"1\"\n }\n}",
|
82
|
+
"title": "~"
|
83
|
+
}
|
84
|
+
],
|
69
85
|
"DescribeDLPFileDetectResult": [
|
70
86
|
{
|
71
87
|
"document": "查询检测结果,结果失败",
|
@@ -88,6 +104,14 @@
|
|
88
104
|
"title": "测试"
|
89
105
|
}
|
90
106
|
],
|
107
|
+
"DescribeDeviceDetailList": [
|
108
|
+
{
|
109
|
+
"document": "",
|
110
|
+
"input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDeviceDetailList\n<公共请求参数>\n\n{\n \"OsType\": 0,\n \"GroupId\": 1\n}",
|
111
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"cfe7fa02-dfd7-4ff2-9b3f-4f645ad03ced\",\n \"Data\": {\n \"Page\": {\n \"Total\": 0,\n \"PageCount\": 0,\n \"PageSize\": 1000,\n \"PageNum\": 1\n },\n \"Items\": []\n }\n }\n}",
|
112
|
+
"title": "基于软件查看终端详情列表"
|
113
|
+
}
|
114
|
+
],
|
91
115
|
"DescribeDeviceHardwareInfoList": [
|
92
116
|
{
|
93
117
|
"document": "查询终端硬件信息列表",
|
@@ -178,6 +202,20 @@
|
|
178
202
|
"title": "示例1"
|
179
203
|
}
|
180
204
|
],
|
205
|
+
"ExportSoftwareInformationList": [
|
206
|
+
{
|
207
|
+
"document": "",
|
208
|
+
"input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportSoftwareInformationList\n<公共请求参数>\n\n{\n \"Mid\": \"1\"\n}",
|
209
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0c1f66e2-90aa-4253-8e32-4abddb044170\",\n \"Data\": {\n \"DownloadURL\": \"https://ioa-dev-1-1258344699.cos-internal.ap-guangzhou.tencentcos.cn/software-open-api/software/ygM3Vgff7j-%E8%BD%AF%E4%BB%B6%E7%BB%9F%E8%AE%A1-%E6%8C%89%E7%BB%88%E7%AB%AF%E6%9F%A5%E7%9C%8B-%E8%BD%AF%E4%BB%B6%E5%88%97%E8%A1%A82022-11-10%2018%3A15%3A07.csv?q-sign-algorithm=sha1&q-ak=AKID******&q-sign-time=1668075307%3B1668078907&q-key-time=1668075307%3B1668078907&q-header-list=host&q-url-param-list=&q-signature=9b2cf4e463a138d9b29dcee9aceb1e21aa8ecffd\"\n }\n }\n}",
|
210
|
+
"title": "导出软件信息列表"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"document": "测试下载",
|
214
|
+
"input": "POST / HTTP/1.1\nHost: ioa.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ExportSoftwareInformationList\n<公共请求参数>\n\n{\n \"Mid\": \"1\"\n}",
|
215
|
+
"output": "{\n \"Response\": {\n \"Data\": {\n \"DownloadURL\": \"http://xxx\",\n \"TaskId\": 0\n },\n \"RequestId\": \"e36ff231-6bbc-475d-9e26-dd0d59260b55\"\n }\n}",
|
216
|
+
"title": "测试下载"
|
217
|
+
}
|
218
|
+
],
|
181
219
|
"ModifyVirtualDeviceGroups": [
|
182
220
|
{
|
183
221
|
"document": "将设备移动到普通的自定义分组",
|
@@ -188,4 +226,4 @@
|
|
188
226
|
]
|
189
227
|
},
|
190
228
|
"version": "1.0"
|
191
|
-
}
|
229
|
+
}
|
@@ -7780,6 +7780,15 @@
|
|
7780
7780
|
"name": "FirmwareVersion",
|
7781
7781
|
"required": true,
|
7782
7782
|
"type": "string"
|
7783
|
+
},
|
7784
|
+
{
|
7785
|
+
"disabled": false,
|
7786
|
+
"document": "固件模块",
|
7787
|
+
"example": "mcu",
|
7788
|
+
"member": "string",
|
7789
|
+
"name": "FwType",
|
7790
|
+
"required": false,
|
7791
|
+
"type": "string"
|
7783
7792
|
}
|
7784
7793
|
],
|
7785
7794
|
"type": "object"
|
@@ -7820,7 +7829,7 @@
|
|
7820
7829
|
{
|
7821
7830
|
"disabled": false,
|
7822
7831
|
"document": "固件描述",
|
7823
|
-
"example": "
|
7832
|
+
"example": "固件测试",
|
7824
7833
|
"member": "string",
|
7825
7834
|
"name": "Description",
|
7826
7835
|
"output_required": true,
|
@@ -8022,6 +8031,86 @@
|
|
8022
8031
|
"type": "string",
|
8023
8032
|
"value_allowed_null": false
|
8024
8033
|
},
|
8034
|
+
{
|
8035
|
+
"disabled": false,
|
8036
|
+
"document": "延迟时间",
|
8037
|
+
"example": "10",
|
8038
|
+
"member": "uint64",
|
8039
|
+
"name": "DelayTime",
|
8040
|
+
"output_required": false,
|
8041
|
+
"type": "int",
|
8042
|
+
"value_allowed_null": false
|
8043
|
+
},
|
8044
|
+
{
|
8045
|
+
"disabled": false,
|
8046
|
+
"document": "超时时间",
|
8047
|
+
"example": "10",
|
8048
|
+
"member": "uint64",
|
8049
|
+
"name": "TimeoutInterval",
|
8050
|
+
"output_required": false,
|
8051
|
+
"type": "int",
|
8052
|
+
"value_allowed_null": false
|
8053
|
+
},
|
8054
|
+
{
|
8055
|
+
"disabled": false,
|
8056
|
+
"document": "静默升级or用户确认升级",
|
8057
|
+
"example": "0",
|
8058
|
+
"member": "uint64",
|
8059
|
+
"name": "UpgradeMethod",
|
8060
|
+
"output_required": false,
|
8061
|
+
"type": "int",
|
8062
|
+
"value_allowed_null": false
|
8063
|
+
},
|
8064
|
+
{
|
8065
|
+
"disabled": false,
|
8066
|
+
"document": "最大重试次数",
|
8067
|
+
"example": "10",
|
8068
|
+
"member": "uint64",
|
8069
|
+
"name": "MaxRetryNum",
|
8070
|
+
"output_required": false,
|
8071
|
+
"type": "int",
|
8072
|
+
"value_allowed_null": false
|
8073
|
+
},
|
8074
|
+
{
|
8075
|
+
"disabled": false,
|
8076
|
+
"document": "固件类型",
|
8077
|
+
"example": "mcu",
|
8078
|
+
"member": "string",
|
8079
|
+
"name": "FwType",
|
8080
|
+
"output_required": false,
|
8081
|
+
"type": "string",
|
8082
|
+
"value_allowed_null": false
|
8083
|
+
},
|
8084
|
+
{
|
8085
|
+
"disabled": false,
|
8086
|
+
"document": "重试间隔时间单位min",
|
8087
|
+
"example": "1",
|
8088
|
+
"member": "uint64",
|
8089
|
+
"name": "RetryInterval",
|
8090
|
+
"output_required": false,
|
8091
|
+
"type": "int",
|
8092
|
+
"value_allowed_null": false
|
8093
|
+
},
|
8094
|
+
{
|
8095
|
+
"disabled": false,
|
8096
|
+
"document": "是否覆盖任务",
|
8097
|
+
"example": "1",
|
8098
|
+
"member": "uint64",
|
8099
|
+
"name": "OverrideMode",
|
8100
|
+
"output_required": false,
|
8101
|
+
"type": "int",
|
8102
|
+
"value_allowed_null": false
|
8103
|
+
},
|
8104
|
+
{
|
8105
|
+
"disabled": false,
|
8106
|
+
"document": "用户自定义消息",
|
8107
|
+
"example": "{\"data\": 1}",
|
8108
|
+
"member": "string",
|
8109
|
+
"name": "TaskUserDefine",
|
8110
|
+
"output_required": false,
|
8111
|
+
"type": "string",
|
8112
|
+
"value_allowed_null": false
|
8113
|
+
},
|
8025
8114
|
{
|
8026
8115
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
8027
8116
|
"member": "string",
|
@@ -10941,6 +11030,15 @@
|
|
10941
11030
|
"name": "FileSize",
|
10942
11031
|
"required": false,
|
10943
11032
|
"type": "int"
|
11033
|
+
},
|
11034
|
+
{
|
11035
|
+
"disabled": false,
|
11036
|
+
"document": "模块类型or固件类型",
|
11037
|
+
"example": "mcu",
|
11038
|
+
"member": "string",
|
11039
|
+
"name": "FwType",
|
11040
|
+
"required": false,
|
11041
|
+
"type": "string"
|
10944
11042
|
}
|
10945
11043
|
],
|
10946
11044
|
"type": "object"
|
@@ -11006,6 +11104,15 @@
|
|
11006
11104
|
"required": false,
|
11007
11105
|
"type": "string"
|
11008
11106
|
},
|
11107
|
+
{
|
11108
|
+
"disabled": false,
|
11109
|
+
"document": "固件类型",
|
11110
|
+
"example": "mcu",
|
11111
|
+
"member": "string",
|
11112
|
+
"name": "FwType",
|
11113
|
+
"required": false,
|
11114
|
+
"type": "string"
|
11115
|
+
},
|
11009
11116
|
{
|
11010
11117
|
"disabled": false,
|
11011
11118
|
"document": "需要过滤的设备名称",
|
@@ -11027,7 +11134,7 @@
|
|
11027
11134
|
{
|
11028
11135
|
"disabled": false,
|
11029
11136
|
"document": "每次请求的Filters的上限为10,Filter.Values的上限为1。",
|
11030
|
-
"example": "
|
11137
|
+
"example": "无",
|
11031
11138
|
"member": "Filter",
|
11032
11139
|
"name": "Filters",
|
11033
11140
|
"required": false,
|
@@ -12304,6 +12411,42 @@
|
|
12304
12411
|
"name": "TimeZone",
|
12305
12412
|
"required": false,
|
12306
12413
|
"type": "string"
|
12414
|
+
},
|
12415
|
+
{
|
12416
|
+
"disabled": false,
|
12417
|
+
"document": "取值为1表示高级搜索,取值为2表示简单搜索,默认为1",
|
12418
|
+
"example": "1",
|
12419
|
+
"member": "int64",
|
12420
|
+
"name": "SearchMode",
|
12421
|
+
"required": false,
|
12422
|
+
"type": "int"
|
12423
|
+
},
|
12424
|
+
{
|
12425
|
+
"disabled": false,
|
12426
|
+
"document": "最终输出的条数;仅当SearchMode为2时支持自定义设置,默认为50",
|
12427
|
+
"example": "50",
|
12428
|
+
"member": "int64",
|
12429
|
+
"name": "Limit",
|
12430
|
+
"required": false,
|
12431
|
+
"type": "int"
|
12432
|
+
},
|
12433
|
+
{
|
12434
|
+
"disabled": false,
|
12435
|
+
"document": "向量搜索的相似度搜索半径,取值范围[-1, 1];仅当SearchMode为2时支持自定义设置,默认为0.5",
|
12436
|
+
"example": "0.5",
|
12437
|
+
"member": "float",
|
12438
|
+
"name": "VectorSearchRadius",
|
12439
|
+
"required": false,
|
12440
|
+
"type": "float"
|
12441
|
+
},
|
12442
|
+
{
|
12443
|
+
"disabled": false,
|
12444
|
+
"document": "指定向量搜索最相似的 Top K;仅当SearchMode为2时支持自定义设置,默认为100",
|
12445
|
+
"example": "100",
|
12446
|
+
"member": "int64",
|
12447
|
+
"name": "VectorSearchTopK",
|
12448
|
+
"required": false,
|
12449
|
+
"type": "int"
|
12307
12450
|
}
|
12308
12451
|
],
|
12309
12452
|
"type": "object"
|
@@ -15901,6 +16044,15 @@
|
|
15901
16044
|
"name": "DeviceName",
|
15902
16045
|
"required": false,
|
15903
16046
|
"type": "string"
|
16047
|
+
},
|
16048
|
+
{
|
16049
|
+
"disabled": false,
|
16050
|
+
"document": "固件类型",
|
16051
|
+
"example": "mcu",
|
16052
|
+
"member": "string",
|
16053
|
+
"name": "FwType",
|
16054
|
+
"required": false,
|
16055
|
+
"type": "string"
|
15904
16056
|
}
|
15905
16057
|
],
|
15906
16058
|
"type": "object"
|
@@ -1648,14 +1648,14 @@
|
|
1648
1648
|
},
|
1649
1649
|
{
|
1650
1650
|
"disabled": false,
|
1651
|
-
"document": "
|
1651
|
+
"document": "是否使用一键授权\n注意:此字段可能返回 null,表示取不到有效值。",
|
1652
1652
|
"example": "false",
|
1653
1653
|
"member": "bool",
|
1654
1654
|
"name": "EnableRoleAuth",
|
1655
1655
|
"output_required": false,
|
1656
1656
|
"required": false,
|
1657
1657
|
"type": "bool",
|
1658
|
-
"value_allowed_null":
|
1658
|
+
"value_allowed_null": true
|
1659
1659
|
},
|
1660
1660
|
{
|
1661
1661
|
"disabled": false,
|
@@ -6462,6 +6462,15 @@
|
|
6462
6462
|
"DescribeNodeRunRequest": {
|
6463
6463
|
"document": "DescribeNodeRun请求参数结构体",
|
6464
6464
|
"members": [
|
6465
|
+
{
|
6466
|
+
"disabled": false,
|
6467
|
+
"document": "应用ID",
|
6468
|
+
"example": "1963140753734418240",
|
6469
|
+
"member": "string",
|
6470
|
+
"name": "AppBizId",
|
6471
|
+
"required": false,
|
6472
|
+
"type": "string"
|
6473
|
+
},
|
6465
6474
|
{
|
6466
6475
|
"disabled": false,
|
6467
6476
|
"document": "节点运行实例ID",
|
@@ -7836,6 +7845,15 @@
|
|
7836
7845
|
"DescribeWorkflowRunRequest": {
|
7837
7846
|
"document": "DescribeWorkflowRun请求参数结构体",
|
7838
7847
|
"members": [
|
7848
|
+
{
|
7849
|
+
"disabled": false,
|
7850
|
+
"document": "应用ID",
|
7851
|
+
"example": "1963140753734418240",
|
7852
|
+
"member": "string",
|
7853
|
+
"name": "AppBizId",
|
7854
|
+
"required": false,
|
7855
|
+
"type": "string"
|
7856
|
+
},
|
7839
7857
|
{
|
7840
7858
|
"disabled": false,
|
7841
7859
|
"document": "工作流运行实例ID",
|
@@ -9004,7 +9022,7 @@
|
|
9004
9022
|
{
|
9005
9023
|
"disabled": false,
|
9006
9024
|
"document": "类型",
|
9007
|
-
"example": "5
|
9025
|
+
"example": "5",
|
9008
9026
|
"member": "uint64",
|
9009
9027
|
"name": "Type",
|
9010
9028
|
"required": true,
|
@@ -9022,7 +9040,7 @@
|
|
9022
9040
|
{
|
9023
9041
|
"disabled": false,
|
9024
9042
|
"document": "会话sessionid",
|
9025
|
-
"example": "
|
9043
|
+
"example": "27-ec29-441f-96c9-ec4fe463058c",
|
9026
9044
|
"member": "string",
|
9027
9045
|
"name": "SessionId",
|
9028
9046
|
"required": true,
|
@@ -9031,7 +9049,7 @@
|
|
9031
9049
|
{
|
9032
9050
|
"disabled": false,
|
9033
9051
|
"document": "应用AppKey, 当Type=5[API访客]时, 该字段必填 :</br> 获取方式:</br> 1、应用发布后在应用页面[发布管理]-[调用信息]-[API管理]处获取</br> 2、参考 https://cloud.tencent.com/document/product/1759/109469 第二项",
|
9034
|
-
"example": "
|
9052
|
+
"example": "BTNhWsYypGqzBiZqBPW",
|
9035
9053
|
"member": "string",
|
9036
9054
|
"name": "BotAppKey",
|
9037
9055
|
"required": false,
|
@@ -9040,7 +9058,7 @@
|
|
9040
9058
|
{
|
9041
9059
|
"disabled": false,
|
9042
9060
|
"document": "场景, 体验: 1; 正式: 2",
|
9043
|
-
"example": "
|
9061
|
+
"example": "1",
|
9044
9062
|
"member": "uint64",
|
9045
9063
|
"name": "Scene",
|
9046
9064
|
"required": false,
|
@@ -9049,7 +9067,7 @@
|
|
9049
9067
|
{
|
9050
9068
|
"disabled": false,
|
9051
9069
|
"document": "最后一条记录ID, 消息从后往前获取\n\nMidRecordId与LastRecordId只能选择一个\n",
|
9052
|
-
"example": "
|
9070
|
+
"example": "GqT_20250908_17005",
|
9053
9071
|
"member": "string",
|
9054
9072
|
"name": "LastRecordId",
|
9055
9073
|
"required": false,
|
@@ -9058,7 +9076,7 @@
|
|
9058
9076
|
{
|
9059
9077
|
"disabled": false,
|
9060
9078
|
"document": "传该值,代表拉取该记录id的前后总共count条消息记录\n\nMidRecordId与LastRecordId只能选择一个\n",
|
9061
|
-
"example": "
|
9079
|
+
"example": "MdM_202",
|
9062
9080
|
"member": "string",
|
9063
9081
|
"name": "MidRecordId",
|
9064
9082
|
"required": false,
|
@@ -9083,7 +9101,7 @@
|
|
9083
9101
|
{
|
9084
9102
|
"disabled": false,
|
9085
9103
|
"document": "session 清除关联上下文时间, 单位 ms\n注意:此字段可能返回 null,表示取不到有效值。",
|
9086
|
-
"example": "
|
9104
|
+
"example": "\"1\"",
|
9087
9105
|
"member": "string",
|
9088
9106
|
"name": "SessionDisassociatedTimestamp",
|
9089
9107
|
"output_required": false,
|
@@ -9951,6 +9969,17 @@
|
|
9951
9969
|
"required": false,
|
9952
9970
|
"type": "list",
|
9953
9971
|
"value_allowed_null": true
|
9972
|
+
},
|
9973
|
+
{
|
9974
|
+
"disabled": false,
|
9975
|
+
"document": "知识库拥有者的名字",
|
9976
|
+
"example": "小明",
|
9977
|
+
"member": "string",
|
9978
|
+
"name": "OwnerStaffName",
|
9979
|
+
"output_required": false,
|
9980
|
+
"required": false,
|
9981
|
+
"type": "string",
|
9982
|
+
"value_allowed_null": false
|
9954
9983
|
}
|
9955
9984
|
],
|
9956
9985
|
"usage": "both"
|
@@ -12889,7 +12918,7 @@
|
|
12889
12918
|
},
|
12890
12919
|
{
|
12891
12920
|
"disabled": false,
|
12892
|
-
"document": "
|
12921
|
+
"document": "发布状态,1:待发布,2:发布中,3:发布成功,5:发布失败",
|
12893
12922
|
"example": "无",
|
12894
12923
|
"member": "int64",
|
12895
12924
|
"name": "Status",
|
@@ -13064,7 +13093,7 @@
|
|
13064
13093
|
"members": [
|
13065
13094
|
{
|
13066
13095
|
"disabled": false,
|
13067
|
-
"document": "
|
13096
|
+
"document": "应用ID",
|
13068
13097
|
"example": "无",
|
13069
13098
|
"member": "string",
|
13070
13099
|
"name": "BotBizId",
|
@@ -17780,6 +17809,15 @@
|
|
17780
17809
|
"StopWorkflowRunRequest": {
|
17781
17810
|
"document": "StopWorkflowRun请求参数结构体",
|
17782
17811
|
"members": [
|
17812
|
+
{
|
17813
|
+
"disabled": false,
|
17814
|
+
"document": "应用ID",
|
17815
|
+
"example": "1963140753734418240",
|
17816
|
+
"member": "string",
|
17817
|
+
"name": "AppBizId",
|
17818
|
+
"required": false,
|
17819
|
+
"type": "string"
|
17820
|
+
},
|
17783
17821
|
{
|
17784
17822
|
"disabled": false,
|
17785
17823
|
"document": "工作流运行实例ID",
|
@@ -19351,7 +19389,7 @@
|
|
19351
19389
|
{
|
19352
19390
|
"disabled": false,
|
19353
19391
|
"document": "节点ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
19354
|
-
"example": "\"\"",
|
19392
|
+
"example": "\"1\"",
|
19355
19393
|
"member": "string",
|
19356
19394
|
"name": "NodeId",
|
19357
19395
|
"output_required": false,
|
@@ -19373,7 +19411,7 @@
|
|
19373
19411
|
{
|
19374
19412
|
"disabled": false,
|
19375
19413
|
"document": "节点名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
19376
|
-
"example": "\"\"",
|
19414
|
+
"example": "\"name\"",
|
19377
19415
|
"member": "string",
|
19378
19416
|
"name": "NodeName",
|
19379
19417
|
"output_required": false,
|
@@ -19384,7 +19422,7 @@
|
|
19384
19422
|
{
|
19385
19423
|
"disabled": false,
|
19386
19424
|
"document": "状态\n注意:此字段可能返回 null,表示取不到有效值。",
|
19387
|
-
"example": "
|
19425
|
+
"example": "0",
|
19388
19426
|
"member": "uint64",
|
19389
19427
|
"name": "Status",
|
19390
19428
|
"output_required": false,
|
@@ -19395,7 +19433,7 @@
|
|
19395
19433
|
{
|
19396
19434
|
"disabled": false,
|
19397
19435
|
"document": "输入\n注意:此字段可能返回 null,表示取不到有效值。",
|
19398
|
-
"example": "\"\"",
|
19436
|
+
"example": "\"input\"",
|
19399
19437
|
"member": "string",
|
19400
19438
|
"name": "Input",
|
19401
19439
|
"output_required": false,
|
@@ -19406,7 +19444,7 @@
|
|
19406
19444
|
{
|
19407
19445
|
"disabled": false,
|
19408
19446
|
"document": "输出\n注意:此字段可能返回 null,表示取不到有效值。",
|
19409
|
-
"example": "\"\"",
|
19447
|
+
"example": "\"output\"",
|
19410
19448
|
"member": "string",
|
19411
19449
|
"name": "Output",
|
19412
19450
|
"output_required": false,
|
@@ -19417,7 +19455,7 @@
|
|
19417
19455
|
{
|
19418
19456
|
"disabled": false,
|
19419
19457
|
"document": "任务输出\n注意:此字段可能返回 null,表示取不到有效值。",
|
19420
|
-
"example": "\"\"",
|
19458
|
+
"example": "\"taskOutput\"",
|
19421
19459
|
"member": "string",
|
19422
19460
|
"name": "TaskOutput",
|
19423
19461
|
"output_required": false,
|
@@ -19428,7 +19466,7 @@
|
|
19428
19466
|
{
|
19429
19467
|
"disabled": false,
|
19430
19468
|
"document": "错误信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
19431
|
-
"example": "\"\"",
|
19469
|
+
"example": "\"msg\"",
|
19432
19470
|
"member": "string",
|
19433
19471
|
"name": "FailMessage",
|
19434
19472
|
"output_required": false,
|
@@ -19450,7 +19488,7 @@
|
|
19450
19488
|
{
|
19451
19489
|
"disabled": false,
|
19452
19490
|
"document": "大模型输出信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
19453
|
-
"example": "
|
19491
|
+
"example": "无",
|
19454
19492
|
"member": "StatisticInfo",
|
19455
19493
|
"name": "StatisticInfos",
|
19456
19494
|
"output_required": false,
|
@@ -2307,6 +2307,58 @@ def doInquirePriceCreateDBInstances(args, parsed_globals):
|
|
2307
2307
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2308
2308
|
|
2309
2309
|
|
2310
|
+
def doSetDBInstanceDeletionProtection(args, parsed_globals):
|
2311
|
+
g_param = parse_global_arg(parsed_globals)
|
2312
|
+
|
2313
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2314
|
+
cred = credential.CVMRoleCredential()
|
2315
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2316
|
+
cred = credential.STSAssumeRoleCredential(
|
2317
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2318
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2319
|
+
)
|
2320
|
+
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):
|
2321
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2322
|
+
else:
|
2323
|
+
cred = credential.Credential(
|
2324
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2325
|
+
)
|
2326
|
+
http_profile = HttpProfile(
|
2327
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2328
|
+
reqMethod="POST",
|
2329
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2330
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2331
|
+
)
|
2332
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2333
|
+
if g_param[OptionsDefine.Language]:
|
2334
|
+
profile.language = g_param[OptionsDefine.Language]
|
2335
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2336
|
+
client = mod.MongodbClient(cred, g_param[OptionsDefine.Region], profile)
|
2337
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2338
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2339
|
+
model = models.SetDBInstanceDeletionProtectionRequest()
|
2340
|
+
model.from_json_string(json.dumps(args))
|
2341
|
+
start_time = time.time()
|
2342
|
+
while True:
|
2343
|
+
rsp = client.SetDBInstanceDeletionProtection(model)
|
2344
|
+
result = rsp.to_json_string()
|
2345
|
+
try:
|
2346
|
+
json_obj = json.loads(result)
|
2347
|
+
except TypeError as e:
|
2348
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2349
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2350
|
+
break
|
2351
|
+
cur_time = time.time()
|
2352
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2353
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2354
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2355
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2356
|
+
else:
|
2357
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2358
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2359
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2360
|
+
|
2361
|
+
|
2310
2362
|
def doAssignProject(args, parsed_globals):
|
2311
2363
|
g_param = parse_global_arg(parsed_globals)
|
2312
2364
|
|
@@ -3092,6 +3144,7 @@ ACTION_MAP = {
|
|
3092
3144
|
"DescribeSpecInfo": doDescribeSpecInfo,
|
3093
3145
|
"DescribeBackupDownloadTask": doDescribeBackupDownloadTask,
|
3094
3146
|
"InquirePriceCreateDBInstances": doInquirePriceCreateDBInstances,
|
3147
|
+
"SetDBInstanceDeletionProtection": doSetDBInstanceDeletionProtection,
|
3095
3148
|
"AssignProject": doAssignProject,
|
3096
3149
|
"DescribeTransparentDataEncryptionStatus": doDescribeTransparentDataEncryptionStatus,
|
3097
3150
|
"DescribeAccountUsers": doDescribeAccountUsers,
|
@@ -350,6 +350,13 @@
|
|
350
350
|
"output": "SetBackupRulesResponse",
|
351
351
|
"status": "online"
|
352
352
|
},
|
353
|
+
"SetDBInstanceDeletionProtection": {
|
354
|
+
"document": "本接口(SetDBInstanceDeletionProtection)用于设置实例销毁保护",
|
355
|
+
"input": "SetDBInstanceDeletionProtectionRequest",
|
356
|
+
"name": "设置实例销毁保护",
|
357
|
+
"output": "SetDBInstanceDeletionProtectionResponse",
|
358
|
+
"status": "online"
|
359
|
+
},
|
353
360
|
"SetInstanceMaintenance": {
|
354
361
|
"document": "本接口(SetInstanceMaintenance ) 用于设置实例维护时间窗。",
|
355
362
|
"input": "SetInstanceMaintenanceRequest",
|
@@ -908,6 +915,7 @@
|
|
908
915
|
"example": "4773",
|
909
916
|
"member": "string",
|
910
917
|
"name": "AsyncRequestId",
|
918
|
+
"output_required": true,
|
911
919
|
"type": "string",
|
912
920
|
"value_allowed_null": false
|
913
921
|
},
|
@@ -962,7 +970,7 @@
|
|
962
970
|
"example": "无",
|
963
971
|
"member": "BackupDownloadTaskStatus",
|
964
972
|
"name": "Tasks",
|
965
|
-
"
|
973
|
+
"output_required": true,
|
966
974
|
"type": "list",
|
967
975
|
"value_allowed_null": false
|
968
976
|
},
|
@@ -5033,7 +5041,7 @@
|
|
5033
5041
|
"example": "28920",
|
5034
5042
|
"member": "string",
|
5035
5043
|
"name": "AsyncRequestId",
|
5036
|
-
"
|
5044
|
+
"output_required": true,
|
5037
5045
|
"type": "string",
|
5038
5046
|
"value_allowed_null": false
|
5039
5047
|
},
|
@@ -6392,6 +6400,42 @@
|
|
6392
6400
|
],
|
6393
6401
|
"type": "object"
|
6394
6402
|
},
|
6403
|
+
"SetDBInstanceDeletionProtectionRequest": {
|
6404
|
+
"document": "SetDBInstanceDeletionProtection请求参数结构体",
|
6405
|
+
"members": [
|
6406
|
+
{
|
6407
|
+
"disabled": false,
|
6408
|
+
"document": "实例ID列表,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同",
|
6409
|
+
"example": "[\"cmgo-8oij****\"]",
|
6410
|
+
"member": "string",
|
6411
|
+
"name": "InstanceIds",
|
6412
|
+
"required": true,
|
6413
|
+
"type": "list"
|
6414
|
+
},
|
6415
|
+
{
|
6416
|
+
"disabled": false,
|
6417
|
+
"document": "实例销毁保护选项,取值范围:0-关闭销毁保护,1-开启销毁保护",
|
6418
|
+
"example": "1",
|
6419
|
+
"member": "uint64",
|
6420
|
+
"name": "EnableDeletionProtection",
|
6421
|
+
"required": true,
|
6422
|
+
"type": "int"
|
6423
|
+
}
|
6424
|
+
],
|
6425
|
+
"type": "object"
|
6426
|
+
},
|
6427
|
+
"SetDBInstanceDeletionProtectionResponse": {
|
6428
|
+
"document": "SetDBInstanceDeletionProtection返回参数结构体",
|
6429
|
+
"members": [
|
6430
|
+
{
|
6431
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6432
|
+
"member": "string",
|
6433
|
+
"name": "RequestId",
|
6434
|
+
"type": "string"
|
6435
|
+
}
|
6436
|
+
],
|
6437
|
+
"type": "object"
|
6438
|
+
},
|
6395
6439
|
"SetInstanceMaintenanceRequest": {
|
6396
6440
|
"document": "SetInstanceMaintenance请求参数结构体",
|
6397
6441
|
"members": [
|
@@ -418,6 +418,14 @@
|
|
418
418
|
"title": "设置实例的自动备份规则"
|
419
419
|
}
|
420
420
|
],
|
421
|
+
"SetDBInstanceDeletionProtection": [
|
422
|
+
{
|
423
|
+
"document": "",
|
424
|
+
"input": "https://mongodb.tencentcloudapi.com/?Action=SetDBInstanceDeletionProtection\n&InstanceIds.0=cmgo-8l3r6yyt\n&EnableDeletionProtection=1\n&<公共请求参数>",
|
425
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"1d0d55f9-15ee-4f00-b460-7b645a62cc3a\"\n }\n}",
|
426
|
+
"title": "设置实例销毁保护"
|
427
|
+
}
|
428
|
+
],
|
421
429
|
"SetInstanceMaintenance": [
|
422
430
|
{
|
423
431
|
"document": "修改实例维护时间窗口",
|