tccli 3.0.1094.1__py2.py3-none-any.whl → 3.0.1096.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/cls/v20201016/DeleteKafkaRecharge.md +3 -3
- tccli/examples/cls/v20201016/ModifyKafkaRecharge.md +23 -13
- tccli/examples/cls/v20201016/PreviewKafkaRecharge.md +47 -15
- tccli/examples/cynosdb/v20190107/AddClusterSlaveZone.md +2 -1
- tccli/examples/cynosdb/v20190107/DescribeClusterDetail.md +9 -2
- tccli/examples/cynosdb/v20190107/DescribeTasks.md +12 -0
- tccli/examples/cynosdb/v20190107/ModifyClusterSlaveZone.md +2 -1
- tccli/examples/dasb/v20191018/ModifyCmdTemplate.md +2 -2
- tccli/examples/es/v20180416/DescribeServerlessInstances.md +346 -0
- tccli/examples/mps/v20190612/CreateAdaptiveDynamicStreamingTemplate.md +1 -1
- tccli/examples/mps/v20190612/ModifyAdaptiveDynamicStreamingTemplate.md +1 -1
- tccli/examples/organization/v20210331/DescribeEffectivePolicy.md +25 -0
- tccli/examples/organization/v20210331/ListNonCompliantResource.md +43 -0
- tccli/examples/pts/v20210728/DescribeRegions.md +4 -2
- tccli/examples/ssl/v20191205/DescribeDeleteCertificatesTaskResult.md +72 -0
- tccli/examples/trocket/v20230308/DescribeMQTTClient.md +57 -49
- tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md +38 -6
- tccli/examples/trocket/v20230308/DescribeMQTTInsVPCEndpoints.md +14 -12
- tccli/examples/trocket/v20230308/DescribeMQTTInstanceList.md +1 -121
- tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +0 -47
- tccli/examples/trocket/v20230308/DescribeMQTTUserList.md +1 -1
- tccli/services/aiart/v20221229/api.json +2 -2
- tccli/services/antiddos/v20200309/api.json +19 -0
- tccli/services/cdb/v20170320/api.json +3 -3
- tccli/services/cfw/v20190904/api.json +177 -0
- tccli/services/cls/v20201016/api.json +49 -49
- tccli/services/cls/v20201016/examples.json +13 -7
- tccli/services/cynosdb/v20190107/api.json +74 -0
- tccli/services/cynosdb/v20190107/examples.json +4 -4
- tccli/services/dasb/v20191018/examples.json +2 -2
- tccli/services/dnspod/v20210323/api.json +1 -0
- tccli/services/dts/v20211206/api.json +2 -2
- tccli/services/es/es_client.py +53 -0
- tccli/services/es/v20180416/api.json +429 -0
- tccli/services/es/v20180416/examples.json +8 -0
- tccli/services/essbasic/v20210526/api.json +9 -0
- tccli/services/faceid/v20180301/api.json +22 -3
- tccli/services/live/v20180801/api.json +58 -0
- tccli/services/monitor/v20180724/api.json +20 -2
- tccli/services/mps/v20190612/api.json +172 -92
- tccli/services/mps/v20190612/examples.json +2 -2
- tccli/services/oceanus/v20190422/api.json +1 -1
- tccli/services/omics/v20221128/api.json +20 -2
- tccli/services/organization/organization_client.py +106 -0
- tccli/services/organization/v20210331/api.json +261 -3
- tccli/services/organization/v20210331/examples.json +16 -0
- tccli/services/pts/v20210728/api.json +16 -3
- tccli/services/pts/v20210728/examples.json +2 -2
- tccli/services/redis/v20180412/api.json +11 -0
- tccli/services/ssl/ssl_client.py +53 -0
- tccli/services/ssl/v20191205/api.json +110 -0
- tccli/services/ssl/v20191205/examples.json +8 -0
- tccli/services/ssm/v20190923/api.json +1 -1
- tccli/services/tdmq/v20200217/api.json +1 -1
- tccli/services/trocket/v20230308/api.json +226 -108
- tccli/services/trocket/v20230308/examples.json +13 -25
- tccli/services/vod/v20180717/api.json +1 -1
- tccli/services/wedata/v20210820/api.json +2 -817
- tccli/services/wedata/v20210820/examples.json +0 -24
- tccli/services/wedata/wedata_client.py +0 -159
- {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/RECORD +66 -62
- {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1094.1.dist-info → tccli-3.0.1096.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1096.1'
|
@@ -6,15 +6,15 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli cls DeleteKafkaRecharge --cli-unfold-argument \
|
9
|
-
--Id
|
10
|
-
--TopicId
|
9
|
+
--Id 06bdb6f6-ae6e-41f6-9e7b-fcab91cb0895 \
|
10
|
+
--TopicId 1014cc79-f006-48e4-8820-1dc727054111
|
11
11
|
```
|
12
12
|
|
13
13
|
Output:
|
14
14
|
```
|
15
15
|
{
|
16
16
|
"Response": {
|
17
|
-
"RequestId": "
|
17
|
+
"RequestId": "00a1e648-bea8-4f85-8a7c-71f84169f207"
|
18
18
|
}
|
19
19
|
}
|
20
20
|
```
|
@@ -6,28 +6,38 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli cls ModifyKafkaRecharge --cli-unfold-argument \
|
9
|
-
--Id
|
10
|
-
--TopicId
|
11
|
-
--
|
12
|
-
--
|
13
|
-
--
|
14
|
-
--
|
15
|
-
--
|
9
|
+
--Id 1014cc79-f006-48e4-8820-1dc7270540c0 \
|
10
|
+
--TopicId 06bdb6f6-ae6e-41f6-9e7b-fcab91cb0111 \
|
11
|
+
--KafkaType 0 \
|
12
|
+
--KafkaInstance ckafka-2vrgxbxa \
|
13
|
+
--ServerAddr \
|
14
|
+
--IsEncryptionAddr False \
|
15
|
+
--Protocol.Protocol \
|
16
|
+
--Protocol.Mechanism \
|
17
|
+
--Protocol.UserName \
|
18
|
+
--Protocol.Password \
|
19
|
+
--UserKafkaTopics topic-subs-0px4qkvu32-cdb-5zi7jf11 \
|
20
|
+
--ConsumerGroupName \
|
16
21
|
--LogRechargeRule.RechargeType json_log \
|
17
|
-
--LogRechargeRule.
|
18
|
-
--LogRechargeRule.TimeFormat abc \
|
19
|
-
--LogRechargeRule.LogRegex abc \
|
22
|
+
--LogRechargeRule.LogRegex \
|
20
23
|
--LogRechargeRule.UnMatchLogSwitch True \
|
24
|
+
--LogRechargeRule.UnMatchLogKey LogParseFailure \
|
25
|
+
--LogRechargeRule.UnMatchLogTimeSrc 0 \
|
26
|
+
--LogRechargeRule.EncodingFormat 0 \
|
21
27
|
--LogRechargeRule.DefaultTimeSwitch True \
|
22
|
-
--LogRechargeRule.
|
23
|
-
--LogRechargeRule.
|
28
|
+
--LogRechargeRule.DefaultTimeSrc 1 \
|
29
|
+
--LogRechargeRule.TimeKey \
|
30
|
+
--LogRechargeRule.TimeRegex \
|
31
|
+
--LogRechargeRule.TimeFormat \
|
32
|
+
--LogRechargeRule.TimeZone UTC+08:00 \
|
33
|
+
--LogRechargeRule.Metadata kafka_topic kafka_partition kafka_offset kafka_timestamp
|
24
34
|
```
|
25
35
|
|
26
36
|
Output:
|
27
37
|
```
|
28
38
|
{
|
29
39
|
"Response": {
|
30
|
-
"RequestId": "
|
40
|
+
"RequestId": "0813f2a8-666f-47d4-886b-bf63bdcbc8d3"
|
31
41
|
}
|
32
42
|
}
|
33
43
|
```
|
@@ -1,34 +1,66 @@
|
|
1
1
|
**Example 1: Kafka导入数据预览**
|
2
2
|
|
3
|
-
|
3
|
+
源数据预览
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli cls PreviewKafkaRecharge --cli-unfold-argument \
|
9
9
|
--PreviewType 1 \
|
10
|
-
--KafkaType
|
11
|
-
--
|
12
|
-
--
|
13
|
-
--
|
14
|
-
--Offset -1
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
10
|
+
--KafkaType 0 \
|
11
|
+
--KafkaInstance ckafka-k9m5vj75 \
|
12
|
+
--UserKafkaTopics topic_111b1f24-1ce6-45a3-a515-6e293429f111,topic_11161155-0ea3-4e53-9626-72b4837a4111,topic_111f125e-86f6-41c9-9dcc-360594290111 \
|
13
|
+
--ConsumerGroupName \
|
14
|
+
--Offset -1
|
15
|
+
```
|
16
|
+
|
17
|
+
Output:
|
18
|
+
```
|
19
|
+
{
|
20
|
+
"Response": {
|
21
|
+
"RequestId": "6ef60xxx-0xxx-4xxx-bxxx-270359fb5xxx",
|
22
|
+
"LogData": "rmap[AvailIndexTraffic:0 AvailStore:0 ClusterAvailableTrafficCapacity:0...",
|
23
|
+
"LogSample": ""
|
24
|
+
}
|
25
|
+
}
|
26
|
+
```
|
27
|
+
|
28
|
+
**Example 2: Kafaka导入数据预览**
|
29
|
+
|
30
|
+
导出结果预览
|
31
|
+
|
32
|
+
Input:
|
33
|
+
|
34
|
+
```
|
35
|
+
tccli cls PreviewKafkaRecharge --cli-unfold-argument \
|
36
|
+
--PreviewType 2 \
|
37
|
+
--KafkaType 0 \
|
38
|
+
--KafkaInstance ckafka-l4rped7z \
|
39
|
+
--UserKafkaTopics topic_111b1f24-1ce6-45a3-a515-6e293429f111,topic_11161155-0ea3-4e53-9626-72b4837a4111,topic_111f125e-86f6-41c9-9dcc-360594290111 \
|
40
|
+
--ConsumerGroupName \
|
41
|
+
--Offset -2 \
|
42
|
+
--LogRechargeRule.RechargeType minimalist_log \
|
43
|
+
--LogRechargeRule.LogRegex \
|
19
44
|
--LogRechargeRule.UnMatchLogSwitch True \
|
20
|
-
--LogRechargeRule.UnMatchLogKey
|
45
|
+
--LogRechargeRule.UnMatchLogKey LogParseFailure \
|
46
|
+
--LogRechargeRule.UnMatchLogTimeSrc 0 \
|
21
47
|
--LogRechargeRule.EncodingFormat 0 \
|
22
|
-
--LogRechargeRule.DefaultTimeSwitch True
|
48
|
+
--LogRechargeRule.DefaultTimeSwitch True \
|
49
|
+
--LogRechargeRule.DefaultTimeSrc 0 \
|
50
|
+
--LogRechargeRule.TimeKey \
|
51
|
+
--LogRechargeRule.TimeRegex \
|
52
|
+
--LogRechargeRule.TimeFormat \
|
53
|
+
--LogRechargeRule.TimeZone UTC+08:00 \
|
54
|
+
--LogRechargeRule.Metadata kafka_topic kafka_partition kafka_offset kafka_timestamp
|
23
55
|
```
|
24
56
|
|
25
57
|
Output:
|
26
58
|
```
|
27
59
|
{
|
28
60
|
"Response": {
|
29
|
-
"
|
30
|
-
"LogData": "
|
31
|
-
"
|
61
|
+
"LogSample": "{\"x-intranet-proxy-region\":\"sh\",\"x-intranet-proxy-socket-local-address\":\"::ffff:11.179.111.111\",\"x-intranet-proxy-socket-local-port\":\"8443\"",
|
62
|
+
"LogData": "{\"__CONTENT__\":\"{\\\"x-intranet-proxy-region\\\":\\\"sh\\\",\\\"x-intranet-proxy-socket-local-address\\\":\\\"::ffff:11.179.111.111\\\",\\\"x-intranet-proxy-socket-local-port\\\":\\\"8443\\\"",
|
63
|
+
"RequestId": "d3218ba6-4d98-480a-a97b-8db0ae87ef31"
|
32
64
|
}
|
33
65
|
}
|
34
66
|
```
|
@@ -50,7 +50,8 @@ Output:
|
|
50
50
|
"IsSupportSlaveZone": "abc",
|
51
51
|
"NonsupportSlaveZoneReason": "abc",
|
52
52
|
"IsSupportRo": "abc",
|
53
|
-
"NonsupportRoReason": "abc"
|
53
|
+
"NonsupportRoReason": "abc",
|
54
|
+
"IsSupportManualSnapshot": "yes"
|
54
55
|
},
|
55
56
|
"CynosVersion": "abc",
|
56
57
|
"BusinessType": "abc",
|
@@ -110,7 +111,13 @@ Output:
|
|
110
111
|
}
|
111
112
|
],
|
112
113
|
"RenewFlag": 0,
|
113
|
-
"NetworkType": "abc"
|
114
|
+
"NetworkType": "abc",
|
115
|
+
"SlaveZoneAttr": [
|
116
|
+
{
|
117
|
+
"Zone": "ap-guangzhou-5",
|
118
|
+
"BinlogSyncWay": "async"
|
119
|
+
}
|
120
|
+
]
|
114
121
|
},
|
115
122
|
"RequestId": "abc"
|
116
123
|
}
|
@@ -110,6 +110,18 @@ Output:
|
|
110
110
|
"NewMasterZone": "abc",
|
111
111
|
"NewSlaveZone": [
|
112
112
|
"abc"
|
113
|
+
],
|
114
|
+
"NewSlaveZoneAttr": [
|
115
|
+
{
|
116
|
+
"Zone": "ap-guangzhou-4",
|
117
|
+
"BinlogSyncWay": "sync"
|
118
|
+
}
|
119
|
+
],
|
120
|
+
"OldSlaveZoneAttr": [
|
121
|
+
{
|
122
|
+
"Zone": "ap-guangzhou-5",
|
123
|
+
"BinlogSyncWay": "async"
|
124
|
+
}
|
113
125
|
]
|
114
126
|
},
|
115
127
|
"SwitchClusterLogBin": {
|
@@ -0,0 +1,346 @@
|
|
1
|
+
**Example 1: Serverless获取索引列表**
|
2
|
+
|
3
|
+
Serverless获取索引列表
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli es DescribeServerlessInstances --cli-unfold-argument \
|
9
|
+
--IndexNames test \
|
10
|
+
--InstanceIds index-abcdefgh \
|
11
|
+
--Limit 0 \
|
12
|
+
--Offset 10
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"IndexMetaFields": [
|
20
|
+
{
|
21
|
+
"AppId": 1257780094,
|
22
|
+
"InstanceId": "index-2v3kt0yr",
|
23
|
+
"SpaceId": "space-mdo5a8bf",
|
24
|
+
"SpaceName": "tom-test",
|
25
|
+
"IndexName": "curl-datalink-mdo5a8bf",
|
26
|
+
"IndexStorage": 0,
|
27
|
+
"IndexCreateTime": "2023-11-23 14:34:55",
|
28
|
+
"IndexDocs": 0,
|
29
|
+
"Status": 1,
|
30
|
+
"IndexSettingsField": {
|
31
|
+
"NumberOfShards": "",
|
32
|
+
"RefreshInterval": "30s"
|
33
|
+
},
|
34
|
+
"IndexOptionsField": {
|
35
|
+
"ExpireMaxAge": "30d",
|
36
|
+
"TimestampField": "@timestamp"
|
37
|
+
},
|
38
|
+
"IndexNetworkField": {
|
39
|
+
"Region": "ap-guangzhou",
|
40
|
+
"Zone": "ap-guangzhou-7",
|
41
|
+
"VpcUid": "vpc-444yjczv",
|
42
|
+
"SubnetUid": "subnet-mrezecu2",
|
43
|
+
"Username": "",
|
44
|
+
"Password": ""
|
45
|
+
},
|
46
|
+
"KibanaUrl": "https://index-2v3kt0yr.kibana.myserverlessindex.com:5601",
|
47
|
+
"KibanaPrivateUrl": "",
|
48
|
+
"IndexAccessUrl": "index-2v3kt0yr.ap-guangzhou.myserverlessindex.com",
|
49
|
+
"StorageType": 0,
|
50
|
+
"TagList": []
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"AppId": 1257780094,
|
54
|
+
"InstanceId": "index-2s8pkoa7",
|
55
|
+
"SpaceId": "space-mdo5a8bf",
|
56
|
+
"SpaceName": "tom-test",
|
57
|
+
"IndexName": "beats-tke-datalink-mdo5a8bf",
|
58
|
+
"IndexStorage": 0,
|
59
|
+
"IndexCreateTime": "2023-11-23 14:34:20",
|
60
|
+
"IndexDocs": 0,
|
61
|
+
"Status": 1,
|
62
|
+
"IndexSettingsField": {
|
63
|
+
"NumberOfShards": "",
|
64
|
+
"RefreshInterval": "30s"
|
65
|
+
},
|
66
|
+
"IndexOptionsField": {
|
67
|
+
"ExpireMaxAge": "30d",
|
68
|
+
"TimestampField": "@timestamp"
|
69
|
+
},
|
70
|
+
"IndexNetworkField": {
|
71
|
+
"Region": "ap-guangzhou",
|
72
|
+
"Zone": "ap-guangzhou-7",
|
73
|
+
"VpcUid": "vpc-444yjczv",
|
74
|
+
"SubnetUid": "subnet-mrezecu2",
|
75
|
+
"Username": "",
|
76
|
+
"Password": ""
|
77
|
+
},
|
78
|
+
"KibanaUrl": "https://index-2s8pkoa7.kibana.myserverlessindex.com:5601",
|
79
|
+
"KibanaPrivateUrl": "",
|
80
|
+
"IndexAccessUrl": "index-2s8pkoa7.ap-guangzhou.myserverlessindex.com",
|
81
|
+
"StorageType": 0,
|
82
|
+
"TagList": []
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"AppId": 1257780094,
|
86
|
+
"InstanceId": "index-7th48x7l",
|
87
|
+
"SpaceId": "space-mdo5a8bf",
|
88
|
+
"SpaceName": "tom-test",
|
89
|
+
"IndexName": "beats-cvm-datalink-mdo5a8bf",
|
90
|
+
"IndexStorage": 0,
|
91
|
+
"IndexCreateTime": "2023-11-23 14:33:48",
|
92
|
+
"IndexDocs": 0,
|
93
|
+
"Status": 1,
|
94
|
+
"IndexSettingsField": {
|
95
|
+
"NumberOfShards": "",
|
96
|
+
"RefreshInterval": "30s"
|
97
|
+
},
|
98
|
+
"IndexOptionsField": {
|
99
|
+
"ExpireMaxAge": "30d",
|
100
|
+
"TimestampField": "@timestamp"
|
101
|
+
},
|
102
|
+
"IndexNetworkField": {
|
103
|
+
"Region": "ap-guangzhou",
|
104
|
+
"Zone": "ap-guangzhou-7",
|
105
|
+
"VpcUid": "vpc-444yjczv",
|
106
|
+
"SubnetUid": "subnet-mrezecu2",
|
107
|
+
"Username": "",
|
108
|
+
"Password": ""
|
109
|
+
},
|
110
|
+
"KibanaUrl": "https://index-7th48x7l.kibana.myserverlessindex.com:5601",
|
111
|
+
"KibanaPrivateUrl": "",
|
112
|
+
"IndexAccessUrl": "index-7th48x7l.ap-guangzhou.myserverlessindex.com",
|
113
|
+
"StorageType": 0,
|
114
|
+
"TagList": []
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"AppId": 1257780094,
|
118
|
+
"InstanceId": "index-brjddwvb",
|
119
|
+
"SpaceId": "space-mdo5a8bf",
|
120
|
+
"SpaceName": "tom-test",
|
121
|
+
"IndexName": "tke-data-link-mdo5a8bf",
|
122
|
+
"IndexStorage": 0,
|
123
|
+
"IndexCreateTime": "2023-11-23 14:30:26",
|
124
|
+
"IndexDocs": 0,
|
125
|
+
"Status": 1,
|
126
|
+
"IndexSettingsField": {
|
127
|
+
"NumberOfShards": "",
|
128
|
+
"RefreshInterval": "30s"
|
129
|
+
},
|
130
|
+
"IndexOptionsField": {
|
131
|
+
"ExpireMaxAge": "30d",
|
132
|
+
"TimestampField": "@timestamp"
|
133
|
+
},
|
134
|
+
"IndexNetworkField": {
|
135
|
+
"Region": "ap-guangzhou",
|
136
|
+
"Zone": "ap-guangzhou-7",
|
137
|
+
"VpcUid": "vpc-444yjczv",
|
138
|
+
"SubnetUid": "subnet-mrezecu2",
|
139
|
+
"Username": "",
|
140
|
+
"Password": ""
|
141
|
+
},
|
142
|
+
"KibanaUrl": "https://index-brjddwvb.kibana.myserverlessindex.com:5601",
|
143
|
+
"KibanaPrivateUrl": "",
|
144
|
+
"IndexAccessUrl": "index-brjddwvb.ap-guangzhou.myserverlessindex.com",
|
145
|
+
"StorageType": 0,
|
146
|
+
"TagList": []
|
147
|
+
},
|
148
|
+
{
|
149
|
+
"AppId": 1257780094,
|
150
|
+
"InstanceId": "index-k75a66tp",
|
151
|
+
"SpaceId": "space-0gyg87rx",
|
152
|
+
"SpaceName": "price-test",
|
153
|
+
"IndexName": "ychenjiang-test2-0gyg87rx",
|
154
|
+
"IndexStorage": 0,
|
155
|
+
"IndexCreateTime": "2023-11-23 14:29:47",
|
156
|
+
"IndexDocs": 0,
|
157
|
+
"Status": 1,
|
158
|
+
"IndexSettingsField": {
|
159
|
+
"NumberOfShards": "",
|
160
|
+
"RefreshInterval": "30s"
|
161
|
+
},
|
162
|
+
"IndexOptionsField": {
|
163
|
+
"ExpireMaxAge": "30d",
|
164
|
+
"TimestampField": "@timestamp"
|
165
|
+
},
|
166
|
+
"IndexNetworkField": {
|
167
|
+
"Region": "ap-guangzhou",
|
168
|
+
"Zone": "ap-guangzhou-7",
|
169
|
+
"VpcUid": "vpc-ld5dkwwx",
|
170
|
+
"SubnetUid": "subnet-267c2gvq",
|
171
|
+
"Username": "",
|
172
|
+
"Password": ""
|
173
|
+
},
|
174
|
+
"KibanaUrl": "https://index-k75a66tp.kibana.myserverlessindex.com:5601",
|
175
|
+
"KibanaPrivateUrl": "",
|
176
|
+
"IndexAccessUrl": "index-k75a66tp.ap-guangzhou.myserverlessindex.com",
|
177
|
+
"StorageType": 0,
|
178
|
+
"TagList": []
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"AppId": 1257780094,
|
182
|
+
"InstanceId": "index-o8otig09",
|
183
|
+
"SpaceId": "space-mdo5a8bf",
|
184
|
+
"SpaceName": "tom-test",
|
185
|
+
"IndexName": "cvm-datalink-mdo5a8bf",
|
186
|
+
"IndexStorage": 0,
|
187
|
+
"IndexCreateTime": "2023-11-23 14:23:02",
|
188
|
+
"IndexDocs": 0,
|
189
|
+
"Status": 1,
|
190
|
+
"IndexSettingsField": {
|
191
|
+
"NumberOfShards": "",
|
192
|
+
"RefreshInterval": "30s"
|
193
|
+
},
|
194
|
+
"IndexOptionsField": {
|
195
|
+
"ExpireMaxAge": "30d",
|
196
|
+
"TimestampField": "@timestamp"
|
197
|
+
},
|
198
|
+
"IndexNetworkField": {
|
199
|
+
"Region": "ap-guangzhou",
|
200
|
+
"Zone": "ap-guangzhou-7",
|
201
|
+
"VpcUid": "vpc-444yjczv",
|
202
|
+
"SubnetUid": "subnet-mrezecu2",
|
203
|
+
"Username": "",
|
204
|
+
"Password": ""
|
205
|
+
},
|
206
|
+
"KibanaUrl": "https://index-o8otig09.kibana.myserverlessindex.com:5601",
|
207
|
+
"KibanaPrivateUrl": "",
|
208
|
+
"IndexAccessUrl": "index-o8otig09.ap-guangzhou.myserverlessindex.com",
|
209
|
+
"StorageType": 0,
|
210
|
+
"TagList": []
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"AppId": 1257780094,
|
214
|
+
"InstanceId": "index-gh5rrdhr",
|
215
|
+
"SpaceId": "space-0gyg87rx",
|
216
|
+
"SpaceName": "price-test",
|
217
|
+
"IndexName": "faegagag-0gyg87rx",
|
218
|
+
"IndexStorage": 0,
|
219
|
+
"IndexCreateTime": "2023-11-23 12:04:48",
|
220
|
+
"IndexDocs": 0,
|
221
|
+
"Status": 1,
|
222
|
+
"IndexSettingsField": {
|
223
|
+
"NumberOfShards": "",
|
224
|
+
"RefreshInterval": "30s"
|
225
|
+
},
|
226
|
+
"IndexOptionsField": {
|
227
|
+
"ExpireMaxAge": "30d",
|
228
|
+
"TimestampField": "@timestamp"
|
229
|
+
},
|
230
|
+
"IndexNetworkField": {
|
231
|
+
"Region": "ap-guangzhou",
|
232
|
+
"Zone": "ap-guangzhou-7",
|
233
|
+
"VpcUid": "vpc-444yjczv",
|
234
|
+
"SubnetUid": "subnet-mrezecu2",
|
235
|
+
"Username": "",
|
236
|
+
"Password": ""
|
237
|
+
},
|
238
|
+
"KibanaUrl": "https://index-gh5rrdhr.kibana.myserverlessindex.com:5601",
|
239
|
+
"KibanaPrivateUrl": "",
|
240
|
+
"IndexAccessUrl": "index-gh5rrdhr.ap-guangzhou.myserverlessindex.com",
|
241
|
+
"StorageType": 0,
|
242
|
+
"TagList": []
|
243
|
+
},
|
244
|
+
{
|
245
|
+
"AppId": 1257780094,
|
246
|
+
"InstanceId": "index-65q7dsff",
|
247
|
+
"SpaceId": "space-0gyg87rx",
|
248
|
+
"SpaceName": "price-test",
|
249
|
+
"IndexName": "haoa-test3334-0gyg87rx",
|
250
|
+
"IndexStorage": 6422689,
|
251
|
+
"IndexCreateTime": "2023-11-23 11:53:04",
|
252
|
+
"IndexDocs": 0,
|
253
|
+
"Status": 1,
|
254
|
+
"IndexSettingsField": {
|
255
|
+
"NumberOfShards": "",
|
256
|
+
"RefreshInterval": "30s"
|
257
|
+
},
|
258
|
+
"IndexOptionsField": {
|
259
|
+
"ExpireMaxAge": "30d",
|
260
|
+
"TimestampField": "@timestamp"
|
261
|
+
},
|
262
|
+
"IndexNetworkField": {
|
263
|
+
"Region": "ap-guangzhou",
|
264
|
+
"Zone": "ap-guangzhou-7",
|
265
|
+
"VpcUid": "vpc-ld5dkwwx",
|
266
|
+
"SubnetUid": "subnet-267c2gvq",
|
267
|
+
"Username": "",
|
268
|
+
"Password": ""
|
269
|
+
},
|
270
|
+
"KibanaUrl": "https://index-65q7dsff.kibana.myserverlessindex.com:5601",
|
271
|
+
"KibanaPrivateUrl": "",
|
272
|
+
"IndexAccessUrl": "index-65q7dsff.ap-guangzhou.myserverlessindex.com",
|
273
|
+
"StorageType": 0,
|
274
|
+
"TagList": []
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"AppId": 1257780094,
|
278
|
+
"InstanceId": "index-irah4s23",
|
279
|
+
"SpaceId": "space-mdo5a8bf",
|
280
|
+
"SpaceName": "tom-test",
|
281
|
+
"IndexName": "cvm-source-mdo5a8bf",
|
282
|
+
"IndexStorage": 204964,
|
283
|
+
"IndexCreateTime": "2023-11-23 11:39:28",
|
284
|
+
"IndexDocs": 0,
|
285
|
+
"Status": 1,
|
286
|
+
"IndexSettingsField": {
|
287
|
+
"NumberOfShards": "",
|
288
|
+
"RefreshInterval": "30s"
|
289
|
+
},
|
290
|
+
"IndexOptionsField": {
|
291
|
+
"ExpireMaxAge": "30d",
|
292
|
+
"TimestampField": "@timestamp"
|
293
|
+
},
|
294
|
+
"IndexNetworkField": {
|
295
|
+
"Region": "ap-guangzhou",
|
296
|
+
"Zone": "ap-guangzhou-7",
|
297
|
+
"VpcUid": "vpc-444yjczv",
|
298
|
+
"SubnetUid": "subnet-mrezecu2",
|
299
|
+
"Username": "",
|
300
|
+
"Password": ""
|
301
|
+
},
|
302
|
+
"KibanaUrl": "https://index-irah4s23.kibana.myserverlessindex.com:5601",
|
303
|
+
"KibanaPrivateUrl": "",
|
304
|
+
"IndexAccessUrl": "index-irah4s23.ap-guangzhou.myserverlessindex.com",
|
305
|
+
"StorageType": 0,
|
306
|
+
"TagList": []
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"AppId": 1257780094,
|
310
|
+
"InstanceId": "index-8s7iinrd",
|
311
|
+
"SpaceId": "space-0gyg87rx",
|
312
|
+
"SpaceName": "price-test",
|
313
|
+
"IndexName": "haoa-test44-0gyg87rx",
|
314
|
+
"IndexStorage": 6072662,
|
315
|
+
"IndexCreateTime": "2023-11-23 11:15:47",
|
316
|
+
"IndexDocs": 0,
|
317
|
+
"Status": 1,
|
318
|
+
"IndexSettingsField": {
|
319
|
+
"NumberOfShards": "",
|
320
|
+
"RefreshInterval": "30s"
|
321
|
+
},
|
322
|
+
"IndexOptionsField": {
|
323
|
+
"ExpireMaxAge": "30d",
|
324
|
+
"TimestampField": "@timestamp"
|
325
|
+
},
|
326
|
+
"IndexNetworkField": {
|
327
|
+
"Region": "ap-guangzhou",
|
328
|
+
"Zone": "ap-guangzhou-7",
|
329
|
+
"VpcUid": "vpc-ld5dkwwx",
|
330
|
+
"SubnetUid": "subnet-267c2gvq",
|
331
|
+
"Username": "",
|
332
|
+
"Password": ""
|
333
|
+
},
|
334
|
+
"KibanaUrl": "https://index-8s7iinrd.kibana.myserverlessindex.com:5601",
|
335
|
+
"KibanaPrivateUrl": "",
|
336
|
+
"IndexAccessUrl": "index-8s7iinrd.ap-guangzhou.myserverlessindex.com",
|
337
|
+
"StorageType": 0,
|
338
|
+
"TagList": []
|
339
|
+
}
|
340
|
+
],
|
341
|
+
"TotalCount": 20,
|
342
|
+
"RequestId": "a75f987c-5f03-4fec-bbb8-be132b57666b"
|
343
|
+
}
|
344
|
+
}
|
345
|
+
```
|
346
|
+
|
@@ -8,7 +8,7 @@ Input:
|
|
8
8
|
tccli mps CreateAdaptiveDynamicStreamingTemplate --cli-unfold-argument \
|
9
9
|
--Name 转自适应码流模板1 \
|
10
10
|
--Format HLS \
|
11
|
-
--StreamInfos.0.Video.Codec
|
11
|
+
--StreamInfos.0.Video.Codec h264 \
|
12
12
|
--StreamInfos.0.Video.Bitrate 2000 \
|
13
13
|
--StreamInfos.0.Video.Fps 2000 \
|
14
14
|
--StreamInfos.0.Audio.Codec flac \
|
@@ -9,7 +9,7 @@ tccli mps ModifyAdaptiveDynamicStreamingTemplate --cli-unfold-argument \
|
|
9
9
|
--Definition 10038 \
|
10
10
|
--Name 转自适应码流模板2 \
|
11
11
|
--Format HLS \
|
12
|
-
--StreamInfos.0.Video.Codec
|
12
|
+
--StreamInfos.0.Video.Codec h264 \
|
13
13
|
--StreamInfos.0.Video.Bitrate 2000 \
|
14
14
|
--StreamInfos.0.Video.Fps 25 \
|
15
15
|
--StreamInfos.0.Audio.Codec flac \
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 查询目标关联的有效策略**
|
2
|
+
|
3
|
+
查询目标关联的有效策略
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli organization DescribeEffectivePolicy --cli-unfold-argument \
|
9
|
+
--TargetId 111111111111
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"EffectivePolicy": {
|
17
|
+
"TargetId": 111111111111,
|
18
|
+
"PolicyContent": "{\"tags\":{\"aaa\":{\"tag_key\":\"aaa\",\"tag_value\":[\"111\",\"222\"],\"resource_type_scope\":[\"cvm:instance\",\"cvm:volume\",\"cvm:keypair\",\"cvm:image\"]},\"bbb\":{\"tag_key\":\"bbb\",\"tag_value\":[\"333\"]}}}",
|
19
|
+
"LastUpdatedTimestamp": 1668394639
|
20
|
+
},
|
21
|
+
"RequestId": "b46d2afe-6893-4529-bc96-2c82d9214957"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|