tccli 3.0.1108.1__py2.py3-none-any.whl → 3.0.1109.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/cam/v20190116/CreateRole.md +1 -1
- tccli/examples/emr/v20190103/DescribeEmrOverviewMetrics.md +40 -0
- tccli/examples/emr/v20190103/DescribeHBaseTableOverview.md +94 -0
- tccli/examples/ims/v20200713/ImageModeration.md +2 -2
- tccli/examples/ims/v20201229/ImageModeration.md +2 -2
- tccli/examples/vcg/v20240404/DescribeVideoStylizationJob.md +24 -0
- tccli/examples/vcg/v20240404/SubmitVideoStylizationJob.md +22 -0
- tccli/examples/vtc/v20240223/ConfirmVideoTranslateJob.md +33 -0
- tccli/examples/vtc/v20240223/DescribeVideoTranslateJob.md +70 -0
- tccli/examples/vtc/v20240223/SubmitVideoTranslateJob.md +49 -0
- tccli/services/__init__.py +6 -0
- tccli/services/autoscaling/v20180419/api.json +9 -8
- tccli/services/bi/v20220105/api.json +22 -3
- tccli/services/bi/v20220105/examples.json +2 -2
- tccli/services/cam/v20190116/api.json +71 -70
- tccli/services/cam/v20190116/examples.json +1 -1
- tccli/services/cfw/v20190904/api.json +1 -1
- tccli/services/ckafka/v20190819/api.json +20 -0
- tccli/services/cls/v20201016/api.json +10 -10
- tccli/services/cvm/v20170312/api.json +33 -0
- tccli/services/dbbrain/v20210527/api.json +5 -5
- tccli/services/emr/emr_client.py +114 -8
- tccli/services/emr/v20190103/api.json +493 -0
- tccli/services/emr/v20190103/examples.json +16 -0
- tccli/services/ims/v20200713/api.json +1 -1
- tccli/services/ims/v20200713/examples.json +1 -1
- tccli/services/ims/v20201229/api.json +1 -1
- tccli/services/ims/v20201229/examples.json +1 -1
- tccli/services/rce/rce_client.py +0 -53
- tccli/services/rce/v20201103/api.json +0 -24
- tccli/services/rce/v20201103/examples.json +0 -8
- tccli/services/tcss/v20201101/api.json +5 -5
- tccli/services/tdmq/v20200217/api.json +7 -7
- tccli/services/trtc/v20190722/api.json +20 -11
- tccli/services/vcg/__init__.py +4 -0
- tccli/services/vcg/v20240404/api.json +140 -0
- tccli/services/vcg/v20240404/examples.json +21 -0
- tccli/services/vcg/vcg_client.py +248 -0
- tccli/services/vod/v20180717/api.json +9 -0
- tccli/services/vtc/__init__.py +4 -0
- tccli/services/vtc/v20240223/api.json +425 -0
- tccli/services/vtc/v20240223/examples.json +41 -0
- tccli/services/vtc/vtc_client.py +301 -0
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1109.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1109.1.dist-info}/RECORD +50 -35
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1109.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1109.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1109.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1109.1'
|
@@ -12,7 +12,8 @@ tccli bi CreateEmbedToken --cli-unfold-argument \
|
|
12
12
|
--ProjectId 1 \
|
13
13
|
--UserCorpId \
|
14
14
|
--UserId \
|
15
|
-
--TicketNum 0
|
15
|
+
--TicketNum 0 \
|
16
|
+
--GlobalParam [{"ParamKey": "province", "JoinType": "and", "WhereList": [ { "Operator": "-is", "Value": [ "重庆市", "湖北省", "湖南省", "四川省" ] } ] } ]
|
16
17
|
```
|
17
18
|
|
18
19
|
Output:
|
@@ -36,7 +37,8 @@ Output:
|
|
36
37
|
"BIToken": "300cf2a4-cfb8-47b8-9bc0-4a1f1f74bc1d",
|
37
38
|
"UserCorpId": "",
|
38
39
|
"UserId": "",
|
39
|
-
"TicketNum": 0
|
40
|
+
"TicketNum": 0,
|
41
|
+
"GlobalParam": "[{\"ParamKey\": \"province\", \"JoinType\": \"and\", \"WhereList\": [ { \"Operator\": \"-is\", \"Value\": [ \"重庆市\", \"湖北省\", \"湖南省\", \"四川省\" ] } ] } ]"
|
40
42
|
}
|
41
43
|
}
|
42
44
|
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
**Example 1: 查询监控概览页指标数据**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli emr DescribeEmrOverviewMetrics --cli-unfold-argument \
|
9
|
+
--Start 1572447652 \
|
10
|
+
--End 1572448652 \
|
11
|
+
--Downsample 1m-max \
|
12
|
+
--Metric HDFS.NN.FILES.TOTAL \
|
13
|
+
--InstanceId emr-bemcdx96 \
|
14
|
+
--Tags "{\"type\":\"FilesTotal\"}"
|
15
|
+
```
|
16
|
+
|
17
|
+
Output:
|
18
|
+
```
|
19
|
+
{
|
20
|
+
"Response": {
|
21
|
+
"Result": [
|
22
|
+
{
|
23
|
+
"Metric": "abc",
|
24
|
+
"First": 0,
|
25
|
+
"Last": 0,
|
26
|
+
"Interval": 0,
|
27
|
+
"DataPoints": [
|
28
|
+
"abc"
|
29
|
+
],
|
30
|
+
"Tags": {
|
31
|
+
"Unit": "abc",
|
32
|
+
"Type": "abc"
|
33
|
+
}
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"RequestId": "abc"
|
37
|
+
}
|
38
|
+
}
|
39
|
+
```
|
40
|
+
|
@@ -0,0 +1,94 @@
|
|
1
|
+
**Example 1: 查询Hbase表监控概览信息**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli emr DescribeHBaseTableOverview --cli-unfold-argument \
|
9
|
+
--InstanceId emr-111df6u6 \
|
10
|
+
--Table test \
|
11
|
+
--Offset 0 \
|
12
|
+
--Limit 10 \
|
13
|
+
--OrderField \
|
14
|
+
--OrderType
|
15
|
+
```
|
16
|
+
|
17
|
+
Output:
|
18
|
+
```
|
19
|
+
{
|
20
|
+
"Response": {
|
21
|
+
"RequestId": "63cb3d88-2f61-4ae6-a989-ec4153f2bfd2",
|
22
|
+
"SchemaList": [
|
23
|
+
{
|
24
|
+
"Name": "Table",
|
25
|
+
"Sortable": false,
|
26
|
+
"WithFilter": false,
|
27
|
+
"Candidates": null,
|
28
|
+
"Clickable": true,
|
29
|
+
"Title": "表名"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"Name": "ReadRequestCount",
|
33
|
+
"Sortable": true,
|
34
|
+
"WithFilter": false,
|
35
|
+
"Candidates": null,
|
36
|
+
"Clickable": false,
|
37
|
+
"Title": "读请求量(个/s)"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"Name": "WriteRequestCount",
|
41
|
+
"Sortable": true,
|
42
|
+
"WithFilter": false,
|
43
|
+
"Candidates": null,
|
44
|
+
"Clickable": false,
|
45
|
+
"Title": "写请求量(个/s)"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"Name": "MemstoreSize",
|
49
|
+
"Sortable": true,
|
50
|
+
"WithFilter": false,
|
51
|
+
"Candidates": null,
|
52
|
+
"Clickable": false,
|
53
|
+
"Title": "Memstore大小(byte)"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"Name": "StoreFileSize",
|
57
|
+
"Sortable": true,
|
58
|
+
"WithFilter": false,
|
59
|
+
"Candidates": null,
|
60
|
+
"Clickable": false,
|
61
|
+
"Title": "Storefile大小(byte)"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"Name": "Operation",
|
65
|
+
"Sortable": false,
|
66
|
+
"WithFilter": false,
|
67
|
+
"Candidates": null,
|
68
|
+
"Clickable": true,
|
69
|
+
"Title": "操作"
|
70
|
+
}
|
71
|
+
],
|
72
|
+
"TableMonitorList": [
|
73
|
+
{
|
74
|
+
"Table": "default_TEST",
|
75
|
+
"ReadRequestCount": 0,
|
76
|
+
"WriteRequestCount": 0,
|
77
|
+
"MemstoreSize": 0,
|
78
|
+
"StoreFileSize": 0,
|
79
|
+
"Operation": "regions"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"Table": "default_test",
|
83
|
+
"ReadRequestCount": 0,
|
84
|
+
"WriteRequestCount": 0,
|
85
|
+
"MemstoreSize": 0,
|
86
|
+
"StoreFileSize": 4950,
|
87
|
+
"Operation": "regions"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"TotalCount": 2
|
91
|
+
}
|
92
|
+
}
|
93
|
+
```
|
94
|
+
|
@@ -20,7 +20,7 @@ Output:
|
|
20
20
|
"BizType": "test_1001",
|
21
21
|
"Suggestion": "Block",
|
22
22
|
"Label": "Porn",
|
23
|
-
"SubLabel": "
|
23
|
+
"SubLabel": "SexyBehavior",
|
24
24
|
"Score": 90,
|
25
25
|
"HitFlag": 1,
|
26
26
|
"LabelResults": [
|
@@ -28,7 +28,7 @@ Output:
|
|
28
28
|
"Scene": "Porn",
|
29
29
|
"Suggestion": "Block",
|
30
30
|
"Label": "Porn",
|
31
|
-
"SubLabel": "
|
31
|
+
"SubLabel": "SexyBehavior",
|
32
32
|
"Score": 90,
|
33
33
|
"Details": [
|
34
34
|
{
|
@@ -21,14 +21,14 @@ Output:
|
|
21
21
|
"Suggestion": "Block",
|
22
22
|
"FileMD5": "",
|
23
23
|
"Label": "Porn",
|
24
|
-
"SubLabel": "
|
24
|
+
"SubLabel": "SexyBehavior",
|
25
25
|
"Score": 90,
|
26
26
|
"LabelResults": [
|
27
27
|
{
|
28
28
|
"Scene": "Porn",
|
29
29
|
"Suggestion": "Block",
|
30
30
|
"Label": "Porn",
|
31
|
-
"SubLabel": "
|
31
|
+
"SubLabel": "SexyBehavior",
|
32
32
|
"Score": 90,
|
33
33
|
"Details": []
|
34
34
|
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 成功请求**
|
2
|
+
|
3
|
+
成功请求
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli vcg DescribeVideoStylizationJob --cli-unfold-argument \
|
9
|
+
--JobId
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"JobId": "",
|
17
|
+
"RequestId": "",
|
18
|
+
"ResultVideoUrl": "",
|
19
|
+
"StatusCode": "JobSuccess",
|
20
|
+
"StatusMsg": "处理完成"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 提交成功**
|
2
|
+
|
3
|
+
提交成功
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli vcg SubmitVideoStylizationJob --cli-unfold-argument \
|
9
|
+
--StyleId 2d_anime \
|
10
|
+
--VideoUrl
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"JobId": "",
|
18
|
+
"RequestId": ""
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
**Example 1: 确认视频翻译结果**
|
2
|
+
|
3
|
+
确认视频翻译结果正例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli vtc ConfirmVideoTranslateJob --cli-unfold-argument \
|
9
|
+
--JobId bEOhlL4G87lFvVmN6PnG3LAH1Kdu5tgs \
|
10
|
+
--TranslateResults.0.SourceText 当工作或学习结果不理想, \
|
11
|
+
--TranslateResults.0.TargetText When the result of work or study is not ideal \
|
12
|
+
--TranslateResults.1.SourceText 甚至面临被全盘否定的情况时, \
|
13
|
+
--TranslateResults.1.TargetText Even when faced with the situation of being completely denied \
|
14
|
+
--TranslateResults.2.SourceText 你会如何应对? \
|
15
|
+
--TranslateResults.2.TargetText How would you deal with it? \
|
16
|
+
--TranslateResults.3.SourceText 可以举例说明当时你是如何处理负面情绪, \
|
17
|
+
--TranslateResults.3.TargetText You can give an example of how you dealt with negative emotions at that time. \
|
18
|
+
--TranslateResults.4.SourceText 并找到解决办法的。 \
|
19
|
+
--TranslateResults.4.TargetText And find a solution.
|
20
|
+
```
|
21
|
+
|
22
|
+
Output:
|
23
|
+
```
|
24
|
+
{
|
25
|
+
"Response": {
|
26
|
+
"JobId": "bEOhlL4G87lFvVmN6PnG3LAH1Kdu5tgs",
|
27
|
+
"RequestId": "8357c7a1-d348-4306-b744-ce6625c39fa4",
|
28
|
+
"SessionId": "0bfda02b562d4432be1176904bbcbe68",
|
29
|
+
"TaskId": "ecaa9680e41441399b4f29759174383f"
|
30
|
+
}
|
31
|
+
}
|
32
|
+
```
|
33
|
+
|
@@ -0,0 +1,70 @@
|
|
1
|
+
**Example 1: 调用失败示例**
|
2
|
+
|
3
|
+
调用失败示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli vtc DescribeVideoTranslateJob --cli-unfold-argument \
|
9
|
+
--JobId 111
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"Error": {
|
17
|
+
"Code": "FailedOperation.JobNotExist",
|
18
|
+
"Message": "任务不存在。"
|
19
|
+
},
|
20
|
+
"RequestId": "78254ad1-c184-4e9e-b5a0-9d3fc435576b"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
25
|
+
**Example 2: 调用成功示例**
|
26
|
+
|
27
|
+
调用成功示例
|
28
|
+
|
29
|
+
Input:
|
30
|
+
|
31
|
+
```
|
32
|
+
tccli vtc DescribeVideoTranslateJob --cli-unfold-argument \
|
33
|
+
--JobId vlSYvQkMM0KwPuoakawm0tPrREwc2p7c
|
34
|
+
```
|
35
|
+
|
36
|
+
Output:
|
37
|
+
```
|
38
|
+
{
|
39
|
+
"Response": {
|
40
|
+
"JobErrorCode": "",
|
41
|
+
"JobErrorMsg": "",
|
42
|
+
"JobStatus": 7,
|
43
|
+
"RequestId": "a974b772-3c1d-4868-8909-b1386016b9f0",
|
44
|
+
"ResultVideoUrl": "http://xxx.com/url/xxx.mp4",
|
45
|
+
"TranslateResults": [
|
46
|
+
{
|
47
|
+
"SourceText": "当工作或学习结果不理想,",
|
48
|
+
"TargetText": "When the result of work or study is not ideal"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"SourceText": "甚至面临被全盘否定的情况时,",
|
52
|
+
"TargetText": "Even when faced with the situation of being completely denied"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"SourceText": "你会如何应对?",
|
56
|
+
"TargetText": "How would you respond?"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"SourceText": "可以举例说明当时你是如何处理负面情绪,",
|
60
|
+
"TargetText": "You can give an example of how you dealt with negative emotions at that time."
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"SourceText": "并找到解决办法的。",
|
64
|
+
"TargetText": "And find a solution."
|
65
|
+
}
|
66
|
+
]
|
67
|
+
}
|
68
|
+
}
|
69
|
+
```
|
70
|
+
|
@@ -0,0 +1,49 @@
|
|
1
|
+
**Example 1: 调用失败示例**
|
2
|
+
|
3
|
+
调用失败示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli vtc SubmitVideoTranslateJob --cli-unfold-argument \
|
9
|
+
--VideoUrl https://xxx.com/url/xxx.mp4 \
|
10
|
+
--SrcLang zh \
|
11
|
+
--DstLang zh
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"Error": {
|
19
|
+
"Code": "InvalidParameterValue.ParameterValueError",
|
20
|
+
"Message": "参数字段或者值有误。"
|
21
|
+
},
|
22
|
+
"RequestId": "3787745f-b446-4b39-9471-9032a4c306ee"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
```
|
26
|
+
|
27
|
+
**Example 2: 调用成功示例**
|
28
|
+
|
29
|
+
测试提交视频翻译任务
|
30
|
+
|
31
|
+
Input:
|
32
|
+
|
33
|
+
```
|
34
|
+
tccli vtc SubmitVideoTranslateJob --cli-unfold-argument \
|
35
|
+
--VideoUrl https://xxx.com/url/xxx.mp4 \
|
36
|
+
--SrcLang zh \
|
37
|
+
--DstLang en
|
38
|
+
```
|
39
|
+
|
40
|
+
Output:
|
41
|
+
```
|
42
|
+
{
|
43
|
+
"Response": {
|
44
|
+
"JobId": "GLo7lni4PubX9xUwzesuKUOLJokVZ0ll",
|
45
|
+
"RequestId": "950a5a45-7bf5-4db3-aef1-dfedda487575"
|
46
|
+
}
|
47
|
+
}
|
48
|
+
```
|
49
|
+
|
tccli/services/__init__.py
CHANGED
@@ -743,6 +743,9 @@ SERVICE_VERSIONS = {
|
|
743
743
|
"ump": [
|
744
744
|
"2020-09-18"
|
745
745
|
],
|
746
|
+
"vcg": [
|
747
|
+
"2024-04-04"
|
748
|
+
],
|
746
749
|
"vm": [
|
747
750
|
"2021-09-22",
|
748
751
|
"2020-12-29",
|
@@ -760,6 +763,9 @@ SERVICE_VERSIONS = {
|
|
760
763
|
"vrs": [
|
761
764
|
"2020-08-24"
|
762
765
|
],
|
766
|
+
"vtc": [
|
767
|
+
"2024-02-23"
|
768
|
+
],
|
763
769
|
"waf": [
|
764
770
|
"2018-01-25"
|
765
771
|
],
|
@@ -3735,6 +3735,7 @@
|
|
3735
3735
|
"example": "asa-o4v87ae9",
|
3736
3736
|
"member": "string",
|
3737
3737
|
"name": "ActivityId",
|
3738
|
+
"output_required": true,
|
3738
3739
|
"type": "string",
|
3739
3740
|
"value_allowed_null": false
|
3740
3741
|
},
|
@@ -5132,7 +5133,7 @@
|
|
5132
5133
|
},
|
5133
5134
|
{
|
5134
5135
|
"disabled": false,
|
5135
|
-
"document": "销毁策略,目前长度上限为1。取值包括 OLDEST_INSTANCE 和 NEWEST_INSTANCE。\n<
|
5136
|
+
"document": "销毁策略,目前长度上限为1。取值包括 OLDEST_INSTANCE 和 NEWEST_INSTANCE。\n<li> OLDEST_INSTANCE 优先销毁伸缩组中最旧的实例。</li>\n<li> NEWEST_INSTANCE,优先销毁伸缩组中最新的实例。</li>",
|
5136
5137
|
"example": "[\"OLDEST_INSTANCE\"]",
|
5137
5138
|
"member": "string",
|
5138
5139
|
"name": "TerminationPolicies",
|
@@ -5159,7 +5160,7 @@
|
|
5159
5160
|
},
|
5160
5161
|
{
|
5161
5162
|
"disabled": false,
|
5162
|
-
"document": "重试策略,取值包括 IMMEDIATE_RETRY、 INCREMENTAL_INTERVALS、NO_RETRY,默认取值为 IMMEDIATE_RETRY。部分成功的伸缩活动判定为一次失败活动。\n<
|
5163
|
+
"document": "重试策略,取值包括 IMMEDIATE_RETRY、 INCREMENTAL_INTERVALS、NO_RETRY,默认取值为 IMMEDIATE_RETRY。部分成功的伸缩活动判定为一次失败活动。\n<li>IMMEDIATE_RETRY,立即重试,在较短时间内快速重试,连续失败超过一定次数(5次)后不再重试。</li>\n<li>INCREMENTAL_INTERVALS,间隔递增重试,随着连续失败次数的增加,重试间隔逐渐增大,重试间隔从秒级到1天不等。</li>\n<li> NO_RETRY,不进行重试,直到再次收到用户调用或者告警信息后才会重试。</li>",
|
5163
5164
|
"example": "IMMEDIATE_RETRY",
|
5164
5165
|
"member": "string",
|
5165
5166
|
"name": "RetryPolicy",
|
@@ -5168,7 +5169,7 @@
|
|
5168
5169
|
},
|
5169
5170
|
{
|
5170
5171
|
"disabled": false,
|
5171
|
-
"document": "可用区校验策略,取值包括 ALL 和 ANY,默认取值为ANY。在伸缩组实际变更资源相关字段时(启动配置、可用区、子网)发挥作用。\n<
|
5172
|
+
"document": "可用区校验策略,取值包括 ALL 和 ANY,默认取值为ANY。在伸缩组实际变更资源相关字段时(启动配置、可用区、子网)发挥作用。\n<li> ALL,所有可用区(Zone)或子网(SubnetId)都可用则通过校验,否则校验报错。</li>\n<li> ANY,存在任何一个可用区(Zone)或子网(SubnetId)可用则通过校验,否则校验报错。</li>\n\n可用区或子网不可用的常见原因包括该可用区CVM实例类型售罄、该可用区CBS云盘售罄、该可用区配额不足、该子网IP不足等。\n如果 Zones/SubnetIds 中可用区或者子网不存在,则无论 ZonesCheckPolicy 采用何种取值,都会校验报错。",
|
5172
5173
|
"example": "ALL",
|
5173
5174
|
"member": "string",
|
5174
5175
|
"name": "ZonesCheckPolicy",
|
@@ -5195,8 +5196,8 @@
|
|
5195
5196
|
},
|
5196
5197
|
{
|
5197
5198
|
"disabled": false,
|
5198
|
-
"document": "多可用区/子网策略,取值包括 PRIORITY 和 EQUALITY,默认为 PRIORITY。\n<
|
5199
|
-
"example": "
|
5199
|
+
"document": "多可用区/子网策略,取值包括 PRIORITY 和 EQUALITY,默认为 PRIORITY。\n<li> PRIORITY,按照可用区/子网列表的顺序,作为优先级来尝试创建实例,如果优先级最高的可用区/子网可以创建成功,则总在该可用区/子网创建。</li> \n<li> EQUALITY:扩容出的实例会打散到多个可用区/子网,保证扩容后的各个可用区/子网实例数相对均衡。</li> \n\n与本策略相关的注意点:\n<li> 当伸缩组为基础网络时,本策略适用于多可用区;当伸缩组为VPC网络时,本策略适用于多子网,此时不再考虑可用区因素,例如四个子网ABCD,其中ABC处于可用区1,D处于可用区2,此时考虑子网ABCD进行排序,而不考虑可用区1、2。</li> \n<li> 本策略适用于多可用区/子网,不适用于启动配置的多机型。多机型按照优先级策略进行选择。</li> \n<li> 按照 PRIORITY 策略创建实例时,先保证多机型的策略,后保证多可用区/子网的策略。例如多机型A、B,多子网1、2、3,会按照A1、A2、A3、B1、B2、B3 进行尝试,如果A1售罄,会尝试A2(而非B1)。</li> ",
|
5200
|
+
"example": "PRIORITY",
|
5200
5201
|
"member": "string",
|
5201
5202
|
"name": "MultiZoneSubnetPolicy",
|
5202
5203
|
"required": false,
|
@@ -5204,7 +5205,7 @@
|
|
5204
5205
|
},
|
5205
5206
|
{
|
5206
5207
|
"disabled": false,
|
5207
|
-
"document": "
|
5208
|
+
"document": "伸缩组实例健康检查类型,取值如下:\n<li>CVM:根据实例网络状态判断实例是否处于不健康状态,不健康的网络状态即发生实例 PING 不可达事件,详细判断标准可参考[实例健康检查](https://cloud.tencent.com/document/product/377/8553)</li>\n<li>CLB:根据 CLB 的健康检查状态判断实例是否处于不健康状态,CLB健康检查原理可参考[健康检查](https://cloud.tencent.com/document/product/214/6097)</li>",
|
5208
5209
|
"example": "CLB",
|
5209
5210
|
"member": "string",
|
5210
5211
|
"name": "HealthCheckType",
|
@@ -5222,7 +5223,7 @@
|
|
5222
5223
|
},
|
5223
5224
|
{
|
5224
5225
|
"disabled": false,
|
5225
|
-
"document": "实例分配策略,取值包括 LAUNCH_CONFIGURATION 和 SPOT_MIXED。\n<
|
5226
|
+
"document": "实例分配策略,取值包括 LAUNCH_CONFIGURATION 和 SPOT_MIXED。\n<li> LAUNCH_CONFIGURATION,代表传统的按照启动配置模式。</li>\n<li> SPOT_MIXED,代表竞价混合模式。目前仅支持启动配置为按量计费模式时使用混合模式,混合模式下,伸缩组将根据设定扩容按量或竞价机型。使用混合模式时,关联的启动配置的计费类型不可被修改。</li>",
|
5226
5227
|
"example": "LAUNCH_CONFIGURATION",
|
5227
5228
|
"member": "string",
|
5228
5229
|
"name": "InstanceAllocationPolicy",
|
@@ -5240,7 +5241,7 @@
|
|
5240
5241
|
},
|
5241
5242
|
{
|
5242
5243
|
"disabled": false,
|
5243
|
-
"document": "容量重平衡功能,仅对伸缩组内的竞价实例有效。取值范围:\n<
|
5244
|
+
"document": "容量重平衡功能,仅对伸缩组内的竞价实例有效。取值范围:\n<li> TRUE,开启该功能,当伸缩组内的竞价实例即将被竞价实例服务自动回收前,AS 主动发起竞价实例销毁流程,如果有配置过缩容 hook,则销毁前 hook 会生效。销毁流程启动后,AS 会异步开启一个扩容活动,用于补齐期望实例数。</li> \n<li> FALSE,不开启该功能,则 AS 等待竞价实例被销毁后才会去扩容补齐伸缩组期望实例数。</li> ",
|
5244
5245
|
"example": "false",
|
5245
5246
|
"member": "bool",
|
5246
5247
|
"name": "CapacityRebalance",
|
@@ -983,6 +983,15 @@
|
|
983
983
|
"name": "TicketNum",
|
984
984
|
"required": false,
|
985
985
|
"type": "int"
|
986
|
+
},
|
987
|
+
{
|
988
|
+
"disabled": false,
|
989
|
+
"document": "全局筛选参数 报表过滤条件的全局参数。 格式为JSON格式的字符串\n**目前仅支持字符类型页面参数绑定到全局参数\n**\n[\n {\n \"ParamKey\": \"name\", //页面参数名称\n \"JoinType\": \"AND\", // 连接方式,目前仅支持AND\n \"WhereList\": [\n {\n \"Operator\": \"-neq\", // 操作符,参考以下说明\n \"Value\": [ //操作值,单值数组只传一个值\n \"zZWJMD\",\n \"ZzVGHX\",\n \"湖南省\",\n \"河北省\"\n ]\n }\n ]\n },\n {\n \"ParamKey\": \"genderParam\",\n \"JoinType\": \"AND\",\n \"WhereList\": [\n {\n \"Operator\": \"-neq\",\n \"Value\": [\n \"男\"\n ]\n }\n ]\n }\n]\n\n\n\nOperator 目前支持\n-neq 不等于!=操作符\n-eq 等于=操作符\n-is in操作符\n",
|
990
|
+
"example": "无",
|
991
|
+
"member": "string",
|
992
|
+
"name": "GlobalParam",
|
993
|
+
"required": false,
|
994
|
+
"type": "string"
|
986
995
|
}
|
987
996
|
],
|
988
997
|
"type": "object"
|
@@ -1006,7 +1015,7 @@
|
|
1006
1015
|
"example": "\"\"",
|
1007
1016
|
"member": "string",
|
1008
1017
|
"name": "Extra",
|
1009
|
-
"output_required":
|
1018
|
+
"output_required": false,
|
1010
1019
|
"type": "string",
|
1011
1020
|
"value_allowed_null": true
|
1012
1021
|
},
|
@@ -1016,7 +1025,7 @@
|
|
1016
1025
|
"example": "无",
|
1017
1026
|
"member": "EmbedTokenInfo",
|
1018
1027
|
"name": "Data",
|
1019
|
-
"output_required":
|
1028
|
+
"output_required": false,
|
1020
1029
|
"type": "object",
|
1021
1030
|
"value_allowed_null": true
|
1022
1031
|
},
|
@@ -1026,7 +1035,7 @@
|
|
1026
1035
|
"example": "success",
|
1027
1036
|
"member": "string",
|
1028
1037
|
"name": "Msg",
|
1029
|
-
"output_required":
|
1038
|
+
"output_required": false,
|
1030
1039
|
"type": "string",
|
1031
1040
|
"value_allowed_null": true
|
1032
1041
|
},
|
@@ -2818,6 +2827,16 @@
|
|
2818
2827
|
"output_required": false,
|
2819
2828
|
"type": "int",
|
2820
2829
|
"value_allowed_null": true
|
2830
|
+
},
|
2831
|
+
{
|
2832
|
+
"disabled": false,
|
2833
|
+
"document": "全局参数\n注意:此字段可能返回 null,表示取不到有效值。",
|
2834
|
+
"example": "无",
|
2835
|
+
"member": "string",
|
2836
|
+
"name": "GlobalParam",
|
2837
|
+
"output_required": false,
|
2838
|
+
"type": "string",
|
2839
|
+
"value_allowed_null": true
|
2821
2840
|
}
|
2822
2841
|
],
|
2823
2842
|
"usage": "out"
|
@@ -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 \"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}",
|
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 \"GlobalParam\": \"[{\\\"ParamKey\\\": \\\"province\\\", \\\"JoinType\\\": \\\"and\\\", \\\"WhereList\\\": [ { \\\"Operator\\\": \\\"-is\\\", \\\"Value\\\": [ \\\"重庆市\\\", \\\"湖北省\\\", \\\"湖南省\\\", \\\"四川省\\\" ] } ] } ]\"\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 \"GlobalParam\": \"[{\\\"ParamKey\\\": \\\"province\\\", \\\"JoinType\\\": \\\"and\\\", \\\"WhereList\\\": [ { \\\"Operator\\\": \\\"-is\\\", \\\"Value\\\": [ \\\"重庆市\\\", \\\"湖北省\\\", \\\"湖南省\\\", \\\"四川省\\\" ] } ] } ]\"\n }\n }\n}",
|
32
32
|
"title": "报表嵌出创建Token接口示例-强鉴权"
|
33
33
|
}
|
34
34
|
],
|