tccli 3.0.1095.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/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/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 +1 -1
- 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/essbasic/v20210526/api.json +9 -0
- tccli/services/faceid/v20180301/api.json +22 -3
- tccli/services/live/v20180801/api.json +9 -0
- tccli/services/mps/v20190612/api.json +172 -92
- tccli/services/mps/v20190612/examples.json +2 -2
- tccli/services/omics/v20221128/api.json +20 -2
- tccli/services/organization/organization_client.py +106 -0
- tccli/services/organization/v20210331/api.json +258 -0
- tccli/services/organization/v20210331/examples.json +16 -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-3.0.1095.1.dist-info → tccli-3.0.1096.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1096.1.dist-info}/RECORD +45 -42
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1096.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1095.1.dist-info → tccli-3.0.1096.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1095.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": {
|
@@ -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
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
**Example 1: 获取成员标签检测不合规资源列表**
|
2
|
+
|
3
|
+
获取成员标签检测不合规资源列表
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli organization ListNonCompliantResource --cli-unfold-argument \
|
9
|
+
--MaxResults 10 \
|
10
|
+
--PaginationToken \
|
11
|
+
--MemberUin 1111111111
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"Items": [
|
19
|
+
{
|
20
|
+
"Resource": "qcs::vpc::uin/1111111111:subnet/subnet-test1",
|
21
|
+
"ComplianceDetails": {
|
22
|
+
"ComplianceStatus": true,
|
23
|
+
"KeysWithNonCompliantValues": [
|
24
|
+
"abc"
|
25
|
+
],
|
26
|
+
"NonCompliantKeys": [
|
27
|
+
"abc"
|
28
|
+
]
|
29
|
+
},
|
30
|
+
"Tags": [
|
31
|
+
{
|
32
|
+
"TagKey": "abc",
|
33
|
+
"TagValue": "abc"
|
34
|
+
}
|
35
|
+
]
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"PaginationToken": "fgh363",
|
39
|
+
"RequestId": "242effbd-5220-4776-9cc2-87afbdcb68db"
|
40
|
+
}
|
41
|
+
}
|
42
|
+
```
|
43
|
+
|
@@ -0,0 +1,72 @@
|
|
1
|
+
**Example 1: 正常查询**
|
2
|
+
|
3
|
+
正常查询
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ssl DescribeDeleteCertificatesTaskResult --cli-unfold-argument \
|
9
|
+
--TaskIds 11 12 13 15 14
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"DeleteTaskResult": [
|
17
|
+
{
|
18
|
+
"TaskId": "11",
|
19
|
+
"Status": 0,
|
20
|
+
"CertId": "1ODjBeH8",
|
21
|
+
"Domains": [
|
22
|
+
"GMCert ECC Root CA - 01"
|
23
|
+
],
|
24
|
+
"Error": null,
|
25
|
+
"CacheTime": "2023-09-27 19:01:47"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"TaskId": "12",
|
29
|
+
"Status": 0,
|
30
|
+
"CertId": "25EMBPYQ",
|
31
|
+
"Domains": [
|
32
|
+
"hank.com"
|
33
|
+
],
|
34
|
+
"Error": null,
|
35
|
+
"CacheTime": "2023-09-27 19:01:48"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"TaskId": "13",
|
39
|
+
"Status": 0,
|
40
|
+
"CertId": "txV0pewo",
|
41
|
+
"Domains": [
|
42
|
+
"test.hankzzz.com"
|
43
|
+
],
|
44
|
+
"Error": null,
|
45
|
+
"CacheTime": "2023-09-27 19:01:48"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"TaskId": "14",
|
49
|
+
"Status": 4,
|
50
|
+
"CertId": "rcGiGyTx",
|
51
|
+
"Domains": [
|
52
|
+
"*.hath.fun"
|
53
|
+
],
|
54
|
+
"Error": "有未解绑的云资源",
|
55
|
+
"CacheTime": "2023-09-27 19:01:48"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"TaskId": "15",
|
59
|
+
"Status": 2,
|
60
|
+
"CertId": "4FVmnb1u",
|
61
|
+
"Domains": [
|
62
|
+
"*.hank-dv.com"
|
63
|
+
],
|
64
|
+
"Error": "当前的证书状态不支持此操作",
|
65
|
+
"CacheTime": "2023-09-27 19:01:48"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"RequestId": "037cc05f-c384-4d71-ab4f-a42d896ebb2e"
|
69
|
+
}
|
70
|
+
}
|
71
|
+
```
|
72
|
+
|
@@ -1,13 +1,13 @@
|
|
1
|
-
**Example 1:
|
1
|
+
**Example 1: 样例**
|
2
2
|
|
3
|
-
|
3
|
+
样例
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli trocket DescribeMQTTClient --cli-unfold-argument \
|
9
|
-
--InstanceId mqtt-
|
10
|
-
--ClientId
|
9
|
+
--InstanceId mqtt-2vnk55xv \
|
10
|
+
--ClientId sub_client2
|
11
11
|
```
|
12
12
|
|
13
13
|
Output:
|
@@ -16,66 +16,74 @@ Output:
|
|
16
16
|
"Error": null,
|
17
17
|
"RequestId": null,
|
18
18
|
"Response": {
|
19
|
-
"
|
20
|
-
"
|
21
|
-
"
|
19
|
+
"CleanSession": true,
|
20
|
+
"ClientAddress": "11.176.16.153:23354",
|
21
|
+
"ClientId": "sub_client2",
|
22
|
+
"ConnectTime": 1711444795304,
|
22
23
|
"ConnectionStatus": "CONNECTED",
|
23
|
-
"CreateTime":
|
24
|
-
"DisconnectTime": 0,
|
25
|
-
"Keepalive": 60,
|
26
|
-
"MQTTClientSubscriptions": [
|
27
|
-
{
|
28
|
-
"Qos": 0,
|
29
|
-
"TopicFilter": "mqtt-47ka4rdr%topic24"
|
30
|
-
}
|
31
|
-
],
|
32
|
-
"ProtocolVersion": 4,
|
33
|
-
"RequestId": "4ec9c58c-e6ac-4149-9673-b8f0d526a6aa"
|
34
|
-
}
|
35
|
-
}
|
36
|
-
```
|
37
|
-
|
38
|
-
**Example 2: 标准请求**
|
39
|
-
|
40
|
-
标准请求
|
41
|
-
|
42
|
-
Input:
|
43
|
-
|
44
|
-
```
|
45
|
-
tccli trocket DescribeMQTTClient --cli-unfold-argument \
|
46
|
-
--InstanceId mqtt-25m2jz9j \
|
47
|
-
--ClientId recv01
|
48
|
-
```
|
49
|
-
|
50
|
-
Output:
|
51
|
-
```
|
52
|
-
{
|
53
|
-
"Error": null,
|
54
|
-
"RequestId": null,
|
55
|
-
"Response": {
|
56
|
-
"ClientAddress": "/11.176.16.157:43440",
|
57
|
-
"ClientId": "recv01",
|
58
|
-
"ConnectTime": 1703581008199,
|
59
|
-
"ConnectionStatus": "CONNECTED",
|
60
|
-
"CreateTime": 1703581008198,
|
24
|
+
"CreateTime": 1711443908331,
|
61
25
|
"DisconnectTime": 0,
|
26
|
+
"Inbound": {
|
27
|
+
"Bytes": 40,
|
28
|
+
"Items": [
|
29
|
+
{
|
30
|
+
"Count": 1,
|
31
|
+
"MessageType": "SUBACK",
|
32
|
+
"Qos": 0
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"Count": 1,
|
36
|
+
"MessageType": "CONNACK",
|
37
|
+
"Qos": 0
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"Count": 14,
|
41
|
+
"MessageType": "PINGRESP",
|
42
|
+
"Qos": 0
|
43
|
+
}
|
44
|
+
]
|
45
|
+
},
|
62
46
|
"Keepalive": 60,
|
63
47
|
"MQTTClientSubscriptions": [
|
64
48
|
{
|
65
49
|
"Qos": 1,
|
66
|
-
"TopicFilter": "
|
50
|
+
"TopicFilter": "home/sun/+/"
|
67
51
|
},
|
68
52
|
{
|
69
53
|
"Qos": 1,
|
70
|
-
"TopicFilter": "
|
54
|
+
"TopicFilter": "home/temp/+/"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"Qos": 0,
|
58
|
+
"TopicFilter": "home/humidity/+/"
|
71
59
|
},
|
72
60
|
{
|
73
61
|
"Qos": 2,
|
74
|
-
"TopicFilter": "
|
62
|
+
"TopicFilter": "home/person/+/"
|
75
63
|
}
|
76
64
|
],
|
65
|
+
"OutBound": {
|
66
|
+
"Bytes": 134,
|
67
|
+
"Items": [
|
68
|
+
{
|
69
|
+
"Count": 1,
|
70
|
+
"MessageType": "CONNECT",
|
71
|
+
"Qos": 0
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"Count": 1,
|
75
|
+
"MessageType": "SUBSCRIBE",
|
76
|
+
"Qos": 1
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"Count": 14,
|
80
|
+
"MessageType": "PINGREQ",
|
81
|
+
"Qos": 0
|
82
|
+
}
|
83
|
+
]
|
84
|
+
},
|
77
85
|
"ProtocolVersion": 4,
|
78
|
-
"RequestId": "
|
86
|
+
"RequestId": "b59aa63c-6cc6-418a-92c7-c205cb30d4cd"
|
79
87
|
}
|
80
88
|
}
|
81
89
|
```
|
@@ -6,7 +6,7 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli trocket DescribeMQTTInsPublicEndpoints --cli-unfold-argument \
|
9
|
-
--InstanceId mqtt-
|
9
|
+
--InstanceId mqtt-gn8qoq3z
|
10
10
|
```
|
11
11
|
|
12
12
|
Output:
|
@@ -15,11 +15,43 @@ Output:
|
|
15
15
|
"Error": null,
|
16
16
|
"RequestId": null,
|
17
17
|
"Response": {
|
18
|
-
"Bandwidth":
|
19
|
-
"Endpoints": [
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
"Bandwidth": 2,
|
19
|
+
"Endpoints": [
|
20
|
+
{
|
21
|
+
"Host": "mqtt-gn8qoq3z-cd.mqtt.public.tencenttdmq.com",
|
22
|
+
"Port": 22,
|
23
|
+
"SubnetId": null,
|
24
|
+
"Type": "mqtt-ws",
|
25
|
+
"Url": null,
|
26
|
+
"VpcId": null
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"Host": "mqtt-gn8qoq3z-cd.mqtt.public.tencenttdmq.com",
|
30
|
+
"Port": 11,
|
31
|
+
"SubnetId": null,
|
32
|
+
"Type": "mqtt-tcp",
|
33
|
+
"Url": null,
|
34
|
+
"VpcId": null
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"Host": "mqtt-gn8qoq3z-cd.mqtt.public.tencenttdmq.com",
|
38
|
+
"Port": 33,
|
39
|
+
"SubnetId": null,
|
40
|
+
"Type": "mqtt-tls",
|
41
|
+
"Url": null,
|
42
|
+
"VpcId": null
|
43
|
+
}
|
44
|
+
],
|
45
|
+
"InstanceId": "mqtt-gn8qoq3z",
|
46
|
+
"RequestId": "3891d712-94f7-4d03-9420-fae4fa3a61ea",
|
47
|
+
"Rules": [
|
48
|
+
{
|
49
|
+
"Allow": true,
|
50
|
+
"IpRule": "0.0.0.0/0",
|
51
|
+
"Remark": ""
|
52
|
+
}
|
53
|
+
],
|
54
|
+
"Status": "NORMAL"
|
23
55
|
}
|
24
56
|
}
|
25
57
|
```
|
@@ -1,12 +1,12 @@
|
|
1
|
-
**Example 1:
|
1
|
+
**Example 1: 样例**
|
2
2
|
|
3
|
-
|
3
|
+
样例
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli trocket DescribeMQTTInsVPCEndpoints --cli-unfold-argument \
|
9
|
-
--InstanceId mqtt-
|
9
|
+
--InstanceId mqtt-25zqb75a
|
10
10
|
```
|
11
11
|
|
12
12
|
Output:
|
@@ -17,23 +17,25 @@ Output:
|
|
17
17
|
"Response": {
|
18
18
|
"Endpoints": [
|
19
19
|
{
|
20
|
-
"Host": "mqtt-
|
20
|
+
"Host": "mqtt-25zqb75a-qy.mqtt.qcloud.tencenttdmq.com",
|
21
|
+
"Ip": "10.0.0.25",
|
21
22
|
"Port": 1883,
|
22
|
-
"SubnetId":
|
23
|
+
"SubnetId": "subnet-fr9ez60m",
|
23
24
|
"Type": "mqtt-tcp",
|
24
|
-
"Url": "mqtt-
|
25
|
-
"VpcId":
|
25
|
+
"Url": "mqtt-25zqb75a-qy.mqtt.qcloud.tencenttdmq.com:1883",
|
26
|
+
"VpcId": "vpc-35wk4c6h"
|
26
27
|
},
|
27
28
|
{
|
28
|
-
"Host": "mqtt-
|
29
|
+
"Host": "mqtt-25zqb75a-qy.mqtt.qcloud.tencenttdmq.com",
|
30
|
+
"Ip": "10.0.0.25",
|
29
31
|
"Port": 8888,
|
30
|
-
"SubnetId":
|
32
|
+
"SubnetId": "subnet-fr9ez60m",
|
31
33
|
"Type": "mqtt-ws",
|
32
|
-
"Url": "mqtt-
|
33
|
-
"VpcId":
|
34
|
+
"Url": "mqtt-25zqb75a-qy.mqtt.qcloud.tencenttdmq.com:8888",
|
35
|
+
"VpcId": "vpc-35wk4c6h"
|
34
36
|
}
|
35
37
|
],
|
36
|
-
"RequestId": "
|
38
|
+
"RequestId": "4313484d-47c1-4fc8-b402-f997d2ba7256"
|
37
39
|
}
|
38
40
|
}
|
39
41
|
```
|