tccli 3.0.1016.1__py2.py3-none-any.whl → 3.0.1018.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/examples/bi/v20220105/CreateEmbedToken.md +4 -2
- tccli/examples/cls/v20201016/CreateDeliverCloudFunction.md +6 -7
- tccli/examples/cls/v20201016/DescribeConfigExtras.md +69 -41
- tccli/examples/cls/v20201016/DescribeConfigMachineGroups.md +13 -6
- tccli/examples/cls/v20201016/DescribeDashboards.md +18 -23
- tccli/examples/cls/v20201016/DescribeMachineGroupConfigs.md +33 -27
- tccli/examples/cls/v20201016/GetAlarmLog.md +2 -0
- tccli/examples/es/v20180416/InquirePriceRenewInstance.md +24 -0
- tccli/examples/faceid/v20180301/ImageRecognitionV2.md +25 -0
- tccli/examples/monitor/v20180724/UpdateGrafanaNotificationChannel.md +2 -2
- tccli/examples/ms/v20180408/DestroyResourceInstances.md +50 -0
- tccli/examples/ocr/v20181119/BizLicenseOCR.md +1 -0
- tccli/services/bi/v20220105/api.json +37 -0
- tccli/services/bi/v20220105/examples.json +2 -2
- tccli/services/car/v20220110/api.json +1 -1
- tccli/services/cdb/v20170320/api.json +4 -2
- tccli/services/cdc/v20201214/api.json +12 -12
- tccli/services/clb/v20180317/api.json +4 -4
- tccli/services/cls/v20201016/api.json +17 -7
- tccli/services/cls/v20201016/examples.json +13 -13
- tccli/services/cme/v20191029/api.json +6 -9
- tccli/services/cynosdb/v20190107/api.json +10 -0
- tccli/services/dts/v20211206/api.json +39 -8
- tccli/services/es/es_client.py +53 -0
- tccli/services/es/v20180416/api.json +77 -3
- tccli/services/es/v20180416/examples.json +8 -0
- tccli/services/ess/v20201111/api.json +2 -2
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/faceid/faceid_client.py +53 -0
- tccli/services/faceid/v20180301/api.json +100 -0
- tccli/services/faceid/v20180301/examples.json +8 -0
- tccli/services/gme/v20180711/api.json +4 -4
- tccli/services/lighthouse/v20200324/api.json +85 -83
- tccli/services/monitor/v20180724/api.json +125 -45
- tccli/services/monitor/v20180724/examples.json +2 -2
- tccli/services/ms/ms_client.py +53 -0
- tccli/services/ms/v20180408/api.json +83 -0
- tccli/services/ms/v20180408/examples.json +14 -0
- tccli/services/ocr/v20181119/api.json +10 -0
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/teo/v20220901/api.json +75 -8
- tccli/services/weilingwith/v20230427/api.json +83 -83
- {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/RECORD +48 -45
- {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1016.1.dist-info → tccli-3.0.1018.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1018.1'
|
@@ -11,7 +11,8 @@ tccli bi CreateEmbedToken --cli-unfold-argument \
|
|
11
11
|
--ExtraParam \
|
12
12
|
--ProjectId 1 \
|
13
13
|
--UserCorpId \
|
14
|
-
--UserId
|
14
|
+
--UserId \
|
15
|
+
--TicketNum 0
|
15
16
|
```
|
16
17
|
|
17
18
|
Output:
|
@@ -34,7 +35,8 @@ Output:
|
|
34
35
|
"UpdatedAt": "2022-04-28 14:26:01",
|
35
36
|
"BIToken": "300cf2a4-cfb8-47b8-9bc0-4a1f1f74bc1d",
|
36
37
|
"UserCorpId": "",
|
37
|
-
"UserId": ""
|
38
|
+
"UserId": "",
|
39
|
+
"TicketNum": 0
|
38
40
|
}
|
39
41
|
}
|
40
42
|
}
|
@@ -6,19 +6,18 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli cls CreateDeliverCloudFunction --cli-unfold-argument \
|
9
|
-
--TopicId
|
10
|
-
--FunctionName
|
11
|
-
--
|
12
|
-
--
|
13
|
-
--
|
14
|
-
--Qualifier xx
|
9
|
+
--TopicId 7953cd3d-993f-4813-822d-1dc65f5ba111 \
|
10
|
+
--FunctionName test-client-log-handler \
|
11
|
+
--Namespace default \
|
12
|
+
--Timeout 60 \
|
13
|
+
--Qualifier $LATEST
|
15
14
|
```
|
16
15
|
|
17
16
|
Output:
|
18
17
|
```
|
19
18
|
{
|
20
19
|
"Response": {
|
21
|
-
"RequestId": "
|
20
|
+
"RequestId": "01fd5bcc-d7d4-4edb-9ff5-7ecfc305b831"
|
22
21
|
}
|
23
22
|
}
|
24
23
|
```
|
@@ -1,6 +1,6 @@
|
|
1
1
|
**Example 1: 获取特殊采集配置**
|
2
2
|
|
3
|
-
|
3
|
+
获取特殊采集配置
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
@@ -18,53 +18,81 @@ Output:
|
|
18
18
|
"Response": {
|
19
19
|
"Configs": [
|
20
20
|
{
|
21
|
-
"
|
22
|
-
"
|
23
|
-
"
|
24
|
-
"
|
25
|
-
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
|
30
|
-
|
31
|
-
|
21
|
+
"AdvancedConfig": "{\"ClsAgentFileTimeout\":3600}",
|
22
|
+
"ConfigExtraId": "26ea1681-dfef-4429-a84f-3450d5d46796",
|
23
|
+
"ConfigFlag": "label_k8s",
|
24
|
+
"ContainerFile": {
|
25
|
+
"Container": "",
|
26
|
+
"CustomLabels": null,
|
27
|
+
"ExcludeLabels": null,
|
28
|
+
"ExcludeNamespace": "",
|
29
|
+
"FilePaths": [],
|
30
|
+
"FilePattern": "",
|
31
|
+
"IncludeLabels": null,
|
32
|
+
"LogPath": "",
|
33
|
+
"Namespace": "",
|
34
|
+
"WorkLoad": {
|
35
|
+
"Container": "",
|
36
|
+
"Kind": "",
|
37
|
+
"Name": "",
|
38
|
+
"Namespace": ""
|
39
|
+
}
|
32
40
|
},
|
33
|
-
"
|
41
|
+
"ContainerStdout": {
|
42
|
+
"AllContainers": true,
|
43
|
+
"Container": "",
|
44
|
+
"CustomLabels": null,
|
45
|
+
"ExcludeLabels": null,
|
46
|
+
"ExcludeNamespace": "",
|
47
|
+
"IncludeLabels": null,
|
48
|
+
"Namespace": "*",
|
49
|
+
"WorkLoads": null
|
50
|
+
},
|
51
|
+
"CreateTime": "2023-12-04 14:32:35",
|
52
|
+
"ExcludePaths": null,
|
34
53
|
"ExtractRule": {
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"
|
39
|
-
"
|
54
|
+
"Address": "",
|
55
|
+
"Backtracking": 0,
|
56
|
+
"BeginRegex": "",
|
57
|
+
"Delimiter": "",
|
58
|
+
"EventLogRules": [],
|
59
|
+
"FilterKeyRegex": [],
|
60
|
+
"IsGBK": 0,
|
61
|
+
"JsonStandard": 0,
|
40
62
|
"Keys": [
|
41
|
-
"
|
42
|
-
"",
|
43
|
-
"content"
|
63
|
+
"__CONTENT__"
|
44
64
|
],
|
45
|
-
"
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
"
|
52
|
-
"
|
53
|
-
"
|
65
|
+
"LogRegex": "",
|
66
|
+
"MetaTags": [],
|
67
|
+
"MetadataType": 0,
|
68
|
+
"ParseProtocol": "",
|
69
|
+
"PathRegex": "",
|
70
|
+
"Protocol": "",
|
71
|
+
"TimeFormat": "",
|
72
|
+
"TimeKey": "",
|
73
|
+
"UnMatchLogKey": null,
|
74
|
+
"UnMatchUpLoadSwitch": false
|
54
75
|
},
|
55
|
-
"
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
"
|
62
|
-
"
|
63
|
-
"
|
76
|
+
"GroupId": "886bf7a8-7340-4314-8d64-b360da0ffd78",
|
77
|
+
"HostFile": {
|
78
|
+
"CustomLabels": null,
|
79
|
+
"FilePattern": "",
|
80
|
+
"LogPath": ""
|
81
|
+
},
|
82
|
+
"LogFormat": "",
|
83
|
+
"LogType": "minimalist_log",
|
84
|
+
"LogsetId": "40907915-faa6-46e0-985f-b2fa8c17a080",
|
85
|
+
"LogsetName": "logset-test",
|
86
|
+
"Name": "config-test-886bf7a8-7340-4314-8d64-b360da0ffd78",
|
87
|
+
"TopicId": "b2dcf2e5-9582-4c87-9286-cccccb53889d",
|
88
|
+
"TopicName": "topic-test",
|
89
|
+
"Type": "container_stdout",
|
90
|
+
"UpdateTime": "2023-12-04 14:32:34",
|
91
|
+
"UserDefineRule": ""
|
64
92
|
}
|
65
93
|
],
|
66
|
-
"
|
67
|
-
"
|
94
|
+
"RequestId": "4e48c681-ebf8-4df1-bf0a-51f689117ac6",
|
95
|
+
"TotalCount": 1
|
68
96
|
}
|
69
97
|
}
|
70
98
|
```
|
@@ -1,6 +1,6 @@
|
|
1
1
|
**Example 1: 获取采集规则配置所绑定的机器组**
|
2
2
|
|
3
|
-
|
3
|
+
获取采集规则配置所绑定的机器组
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
@@ -15,18 +15,25 @@ Output:
|
|
15
15
|
"Response": {
|
16
16
|
"MachineGroups": [
|
17
17
|
{
|
18
|
-
"
|
19
|
-
"
|
18
|
+
"AutoUpdate": "",
|
19
|
+
"CreateTime": "2023-11-24 10:22:58",
|
20
|
+
"GroupId": "59613f03-304e-492d-8bcc-af04716f4111",
|
21
|
+
"GroupName": "test-filter",
|
20
22
|
"MachineGroupType": {
|
21
23
|
"Type": "ip",
|
22
24
|
"Values": [
|
23
|
-
"
|
25
|
+
"9.1.9.1"
|
24
26
|
]
|
25
27
|
},
|
26
|
-
"
|
28
|
+
"MetaTags": [],
|
29
|
+
"OSType": 0,
|
30
|
+
"ServiceLogging": false,
|
31
|
+
"Tags": [],
|
32
|
+
"UpdateEndTime": "",
|
33
|
+
"UpdateStartTime": ""
|
27
34
|
}
|
28
35
|
],
|
29
|
-
"RequestId": "
|
36
|
+
"RequestId": "f32611a9-c1ff-48f3-97b3-32e28fe5b359"
|
30
37
|
}
|
31
38
|
}
|
32
39
|
```
|
@@ -1,14 +1,14 @@
|
|
1
1
|
**Example 1: 获取仪表盘**
|
2
2
|
|
3
|
-
|
3
|
+
获取仪表盘
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli cls DescribeDashboards --cli-unfold-argument \
|
9
|
-
--Limit
|
10
|
-
--Filters.0.Values
|
11
|
-
--Filters.0.Key
|
9
|
+
--Limit 1 \
|
10
|
+
--Filters.0.Values dashboard-7ff51cf1-bff9-49f7-9fbb-6a9743225f92 \
|
11
|
+
--Filters.0.Key dashboardId \
|
12
12
|
--Offset 0
|
13
13
|
```
|
14
14
|
|
@@ -16,33 +16,28 @@ Output:
|
|
16
16
|
```
|
17
17
|
{
|
18
18
|
"Response": {
|
19
|
-
"TotalCount": 0,
|
20
19
|
"DashboardInfos": [
|
21
20
|
{
|
22
|
-
"
|
21
|
+
"AssumerName": "",
|
22
|
+
"AssumerUin": 0,
|
23
|
+
"CreateTime": "2023-12-01 15:53:29",
|
24
|
+
"DashboardId": "dashboard-7ff51cf1-bff9-49f7-9fbb-6a9743225f92",
|
25
|
+
"DashboardName": "E32E23",
|
26
|
+
"DashboardRegion": "",
|
27
|
+
"DashboardTopicInfos": [],
|
28
|
+
"Data": "",
|
29
|
+
"RoleName": "",
|
23
30
|
"Tags": [
|
24
31
|
{
|
25
|
-
"
|
26
|
-
"
|
32
|
+
"Key": "team",
|
33
|
+
"Value": "test"
|
27
34
|
}
|
28
35
|
],
|
29
|
-
"
|
30
|
-
"DashboardRegion": "xx",
|
31
|
-
"AssumerName": "xx",
|
32
|
-
"DashboardId": "xx",
|
33
|
-
"RoleName": "xx",
|
34
|
-
"Data": "xx",
|
35
|
-
"CreateTime": "xx",
|
36
|
-
"AssumerUin": 1,
|
37
|
-
"DashboardTopicInfos": [
|
38
|
-
{
|
39
|
-
"TopicId": "xx",
|
40
|
-
"Region": "xx"
|
41
|
-
}
|
42
|
-
]
|
36
|
+
"UpdateTime": "2023-12-01 15:53:29"
|
43
37
|
}
|
44
38
|
],
|
45
|
-
"RequestId": "
|
39
|
+
"RequestId": "56c8e3f5-2b05-419d-acd0-8d2062df093f",
|
40
|
+
"TotalCount": 1
|
46
41
|
}
|
47
42
|
}
|
48
43
|
```
|
@@ -1,12 +1,12 @@
|
|
1
1
|
**Example 1: 获取机器组绑定的采集规则配置**
|
2
2
|
|
3
|
-
|
3
|
+
获取机器组绑定的采集规则配置
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli cls DescribeMachineGroupConfigs --cli-unfold-argument \
|
9
|
-
--GroupId
|
9
|
+
--GroupId 01fd5bcc-d7d4-4edb-9ff5-7ecfc305b831
|
10
10
|
```
|
11
11
|
|
12
12
|
Output:
|
@@ -15,35 +15,41 @@ Output:
|
|
15
15
|
"Response": {
|
16
16
|
"Configs": [
|
17
17
|
{
|
18
|
-
"
|
19
|
-
"
|
20
|
-
"
|
21
|
-
"
|
18
|
+
"AdvancedConfig": "",
|
19
|
+
"ConfigId": "16c904ed-db2a-4ba4-b6fd-0f5f94f71111",
|
20
|
+
"CreateTime": "2023-06-28 15:58:16",
|
21
|
+
"ExcludePaths": null,
|
22
22
|
"ExtractRule": {
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
"
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
"
|
40
|
-
"
|
23
|
+
"Address": "",
|
24
|
+
"Backtracking": -1,
|
25
|
+
"BeginRegex": "",
|
26
|
+
"Delimiter": "",
|
27
|
+
"EventLogRules": [],
|
28
|
+
"FilterKeyRegex": [],
|
29
|
+
"IsGBK": 0,
|
30
|
+
"JsonStandard": 0,
|
31
|
+
"Keys": null,
|
32
|
+
"LogRegex": "",
|
33
|
+
"MetaTags": [],
|
34
|
+
"MetadataType": 0,
|
35
|
+
"ParseProtocol": "",
|
36
|
+
"PathRegex": "",
|
37
|
+
"Protocol": "",
|
38
|
+
"TimeFormat": "",
|
39
|
+
"TimeKey": "",
|
40
|
+
"UnMatchLogKey": "LogParseFailure",
|
41
|
+
"UnMatchUpLoadSwitch": false
|
41
42
|
},
|
42
|
-
"
|
43
|
-
"
|
43
|
+
"LogFormat": "",
|
44
|
+
"LogType": "json_log",
|
45
|
+
"Name": "cls_hkff7p5e_test_c_eks",
|
46
|
+
"Output": "a004adec-c87a-4179-b0eb-8f7ee4ec1111",
|
47
|
+
"Path": "/var/log/eks-log-agent/test-c/*/*/**/*.log",
|
48
|
+
"UpdateTime": "2023-11-16 21:42:48",
|
49
|
+
"UserDefineRule": ""
|
44
50
|
}
|
45
51
|
],
|
46
|
-
"RequestId": "
|
52
|
+
"RequestId": "983cd59e-7a7a-48aa-a16f-b0f0275c2288"
|
47
53
|
}
|
48
54
|
}
|
49
55
|
```
|
@@ -31,6 +31,8 @@ Output:
|
|
31
31
|
"HostName": "",
|
32
32
|
"PkgId": "",
|
33
33
|
"PkgLogId": "",
|
34
|
+
"IndexStatus": "",
|
35
|
+
"RawLog": "",
|
34
36
|
"LogJson": "{\"reach_trigger\":\"true\",\"notify_time\":1676618994,\"reach_notify\":\"false\",\"process_error_msg\":\"AlertThreshold Unreached\",\"record_group_id\":\"\",\"trigger\":\"$1.Warning事件数 > 0\",\"trigger_failed_reason\":\"matched\",\"alert_threshold\":15,\"trigger_result\":\"success\",\"monitored_object\":\"993bba4d-9494-4023-xxxx-f06c1b8c2983\",\"happen_threshold\":1,\"notify_type\":1,\"record_id\":\"\",\"trigger_time\":1676618994,\"notify_template\":\"notice-a1d2a4a6-c731-4386-869a-5ba91b1bb26c\",\"alert_id\":\"alarm-3e6131b1-689a-xxxx-8e2d-62ba80e6d91e\",\"notify_result\":\"fail\",\"process_result\":\"fail\",\"notify_failed_reason\":\"AlertThreshold Unreached\",\"uin\":10000100xxxx,\"topic_id\":\"993bba4d-9494-4023-xxxx-f06c1b8c2983\",\"record_info\":\"\",\"alert_name\":\"TKE Demo事件日志告警策略_10000100xxxx\",\"process_error_type\":\"UnreachedThreshold\"}"
|
35
37
|
}
|
36
38
|
],
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: ES集群实例续费询价**
|
2
|
+
|
3
|
+
ES集群实例续费询价
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli es InquirePriceRenewInstance --cli-unfold-argument \
|
9
|
+
--InstanceId es_xdfds
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"Discount": 65,
|
17
|
+
"OriginalPrice": 1.15,
|
18
|
+
"DiscountPrice": 0.75,
|
19
|
+
"Currency": "CNY",
|
20
|
+
"RequestId": "027e29ad-f2b5-4929-b479-96bf541df7e7"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 照片人脸核身 [前往调试工具](https://console.cloud.tencent.com/api/explorer?Product=faceid&Version=2018-03-01&Action=ImageRecognitionV2)**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli faceid ImageRecognitionV2 --cli-unfold-argument \
|
9
|
+
--IdCard 11204416541220243X \
|
10
|
+
--Name 韦小宝 \
|
11
|
+
--ImageBase64 <ImageBase64>
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"Result": "Success",
|
19
|
+
"Description": "成功",
|
20
|
+
"Sim": 89.88,
|
21
|
+
"RequestId": "f904f4cf-75db-4f8f-a5ec-dc4f942c7f7a"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -9,14 +9,14 @@ tccli monitor UpdateGrafanaNotificationChannel --cli-unfold-argument \
|
|
9
9
|
--InstanceId grafana-12345678 \
|
10
10
|
--ChannelId nchannel-abcd1234 \
|
11
11
|
--ChannelName test \
|
12
|
-
--Receivers
|
12
|
+
--Receivers abc
|
13
13
|
```
|
14
14
|
|
15
15
|
Output:
|
16
16
|
```
|
17
17
|
{
|
18
18
|
"Response": {
|
19
|
-
"RequestId": "
|
19
|
+
"RequestId": "abc"
|
20
20
|
}
|
21
21
|
}
|
22
22
|
```
|
@@ -0,0 +1,50 @@
|
|
1
|
+
**Example 1: 销毁资源**
|
2
|
+
|
3
|
+
销毁资源
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ms DestroyResourceInstances --cli-unfold-argument \
|
9
|
+
--ResourceId 20231204_*****_0 \
|
10
|
+
--AppPkgName com.****
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"OrderType": 2,
|
18
|
+
"PlatformType": 1,
|
19
|
+
"RequestId": "50d9287c-0d10-****",
|
20
|
+
"ResourceId": "20231204_*****_0",
|
21
|
+
"Result": "ok"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
26
|
+
**Example 2: 销毁资源:请求找不到资源**
|
27
|
+
|
28
|
+
销毁资源:请求找不到资源
|
29
|
+
|
30
|
+
Input:
|
31
|
+
|
32
|
+
```
|
33
|
+
tccli ms DestroyResourceInstances --cli-unfold-argument \
|
34
|
+
--ResourceId 20231204_****_0 \
|
35
|
+
--AppPkgName com.**
|
36
|
+
```
|
37
|
+
|
38
|
+
Output:
|
39
|
+
```
|
40
|
+
{
|
41
|
+
"Response": {
|
42
|
+
"Error": {
|
43
|
+
"Code": "ResourceNotFound",
|
44
|
+
"Message": "资源不存在。"
|
45
|
+
},
|
46
|
+
"RequestId": "62978335-*****"
|
47
|
+
}
|
48
|
+
}
|
49
|
+
```
|
50
|
+
|
@@ -596,6 +596,15 @@
|
|
596
596
|
"name": "DataOriginDatasourceId",
|
597
597
|
"required": false,
|
598
598
|
"type": "string"
|
599
|
+
},
|
600
|
+
{
|
601
|
+
"disabled": false,
|
602
|
+
"document": "集群id",
|
603
|
+
"example": "无",
|
604
|
+
"member": "string",
|
605
|
+
"name": "ClusterId",
|
606
|
+
"required": false,
|
607
|
+
"type": "string"
|
599
608
|
}
|
600
609
|
],
|
601
610
|
"type": "object"
|
@@ -926,6 +935,15 @@
|
|
926
935
|
"name": "UserId",
|
927
936
|
"required": false,
|
928
937
|
"type": "string"
|
938
|
+
},
|
939
|
+
{
|
940
|
+
"disabled": false,
|
941
|
+
"document": "访问次数限制,限制范围1-99999,为空则不设置访问次数限制",
|
942
|
+
"example": "1",
|
943
|
+
"member": "int64",
|
944
|
+
"name": "TicketNum",
|
945
|
+
"required": false,
|
946
|
+
"type": "int"
|
929
947
|
}
|
930
948
|
],
|
931
949
|
"type": "object"
|
@@ -2574,6 +2592,16 @@
|
|
2574
2592
|
"output_required": false,
|
2575
2593
|
"type": "string",
|
2576
2594
|
"value_allowed_null": true
|
2595
|
+
},
|
2596
|
+
{
|
2597
|
+
"disabled": false,
|
2598
|
+
"document": "访问次数限制,限制范围1-99999,为空则不设置访问次数限制\n注意:此字段可能返回 null,表示取不到有效值。",
|
2599
|
+
"example": "1",
|
2600
|
+
"member": "int64",
|
2601
|
+
"name": "TicketNum",
|
2602
|
+
"output_required": false,
|
2603
|
+
"type": "int",
|
2604
|
+
"value_allowed_null": true
|
2577
2605
|
}
|
2578
2606
|
],
|
2579
2607
|
"usage": "out"
|
@@ -2821,6 +2849,15 @@
|
|
2821
2849
|
"name": "DataOriginDatasourceId",
|
2822
2850
|
"required": false,
|
2823
2851
|
"type": "string"
|
2852
|
+
},
|
2853
|
+
{
|
2854
|
+
"disabled": false,
|
2855
|
+
"document": "集群id",
|
2856
|
+
"example": "无",
|
2857
|
+
"member": "string",
|
2858
|
+
"name": "ClusterId",
|
2859
|
+
"required": false,
|
2860
|
+
"type": "string"
|
2824
2861
|
}
|
2825
2862
|
],
|
2826
2863
|
"type": "object"
|
@@ -27,8 +27,8 @@
|
|
27
27
|
"CreateEmbedToken": [
|
28
28
|
{
|
29
29
|
"document": "报表嵌出创建Token接口示例",
|
30
|
-
"input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEmbedToken\n<公共请求参数>\n\n{\n \"ExpireTime\": \"10\",\n \"Scope\": \"panel\",\n \"ExtraParam\": \"\",\n \"ProjectId\": \"1\",\n \"UserCorpId\": \"\",\n \"UserId\": \"\"\n}",
|
31
|
-
"output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"adfacf71-c59c-4569-897d-955a1e41ee89\",\n \"Extra\": \"\",\n \"Data\": {\n \"Id\": 11,\n \"ProjectId\": \"1\",\n \"PageId\": null,\n \"ExtraParam\": \"\",\n \"Scope\": \"panel\",\n \"ExpireTime\": 10,\n \"CreatedUser\": null,\n \"CreatedAt\": \"2022-04-28 14:26:01\",\n \"UpdatedUser\": null,\n \"UpdatedAt\": \"2022-04-28 14:26:01\",\n \"BIToken\": \"300cf2a4-cfb8-47b8-9bc0-4a1f1f74bc1d\",\n \"UserCorpId\": \"\",\n \"UserId\": \"\"\n }\n }\n}",
|
30
|
+
"input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateEmbedToken\n<公共请求参数>\n\n{\n \"ExpireTime\": \"10\",\n \"Scope\": \"panel\",\n \"ExtraParam\": \"\",\n \"ProjectId\": \"1\",\n \"UserCorpId\": \"\",\n \"UserId\": \"\",\n \"TicketNum\": 0\n}",
|
31
|
+
"output": "{\n \"Response\": {\n \"Msg\": \"success\",\n \"RequestId\": \"adfacf71-c59c-4569-897d-955a1e41ee89\",\n \"Extra\": \"\",\n \"Data\": {\n \"Id\": 11,\n \"ProjectId\": \"1\",\n \"PageId\": null,\n \"ExtraParam\": \"\",\n \"Scope\": \"panel\",\n \"ExpireTime\": 10,\n \"CreatedUser\": null,\n \"CreatedAt\": \"2022-04-28 14:26:01\",\n \"UpdatedUser\": null,\n \"UpdatedAt\": \"2022-04-28 14:26:01\",\n \"BIToken\": \"300cf2a4-cfb8-47b8-9bc0-4a1f1f74bc1d\",\n \"UserCorpId\": \"\",\n \"UserId\": \"\",\n \"TicketNum\": 0\n }\n }\n}",
|
32
32
|
"title": "报表嵌出创建Token接口示例-强鉴权"
|
33
33
|
}
|
34
34
|
],
|
@@ -5339,7 +5339,7 @@
|
|
5339
5339
|
},
|
5340
5340
|
{
|
5341
5341
|
"disabled": false,
|
5342
|
-
"document": "实例隔离类型。支持值包括: \"UNIVERSAL\" - 通用型实例, \"EXCLUSIVE\" - 独享型实例, \"
|
5342
|
+
"document": "实例隔离类型。支持值包括: \"UNIVERSAL\" - 通用型实例, \"EXCLUSIVE\" - 独享型实例, \"BASIC_V2\" - ONTKE单节点实例。 不指定则默认为通用型实例。",
|
5343
5343
|
"example": "UNIVERSAL",
|
5344
5344
|
"member": "string",
|
5345
5345
|
"name": "DeviceType",
|
@@ -5457,6 +5457,7 @@
|
|
5457
5457
|
"example": "['20171201110011']",
|
5458
5458
|
"member": "string",
|
5459
5459
|
"name": "DealIds",
|
5460
|
+
"output_required": true,
|
5460
5461
|
"type": "list",
|
5461
5462
|
"value_allowed_null": false
|
5462
5463
|
},
|
@@ -5466,6 +5467,7 @@
|
|
5466
5467
|
"example": "['cdb-pn6gd5jp']",
|
5467
5468
|
"member": "string",
|
5468
5469
|
"name": "InstanceIds",
|
5470
|
+
"output_required": true,
|
5469
5471
|
"type": "list",
|
5470
5472
|
"value_allowed_null": false
|
5471
5473
|
},
|
@@ -5717,7 +5719,7 @@
|
|
5717
5719
|
},
|
5718
5720
|
{
|
5719
5721
|
"disabled": false,
|
5720
|
-
"document": "实例隔离类型。支持值包括: \"UNIVERSAL\" - 通用型实例, \"EXCLUSIVE\" - 独享型实例, \"
|
5722
|
+
"document": "实例隔离类型。支持值包括: \"UNIVERSAL\" - 通用型实例, \"EXCLUSIVE\" - 独享型实例, \"BASIC_V2\" - ONTKE单节点实例。 不指定则默认为通用型实例。",
|
5721
5723
|
"example": "UNIVERSAL",
|
5722
5724
|
"member": "string",
|
5723
5725
|
"name": "DeviceType",
|