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.
Files changed (45) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cls/v20201016/DeleteKafkaRecharge.md +3 -3
  3. tccli/examples/cls/v20201016/ModifyKafkaRecharge.md +23 -13
  4. tccli/examples/cls/v20201016/PreviewKafkaRecharge.md +47 -15
  5. tccli/examples/cynosdb/v20190107/AddClusterSlaveZone.md +2 -1
  6. tccli/examples/cynosdb/v20190107/DescribeClusterDetail.md +9 -2
  7. tccli/examples/cynosdb/v20190107/DescribeTasks.md +12 -0
  8. tccli/examples/cynosdb/v20190107/ModifyClusterSlaveZone.md +2 -1
  9. tccli/examples/mps/v20190612/CreateAdaptiveDynamicStreamingTemplate.md +1 -1
  10. tccli/examples/mps/v20190612/ModifyAdaptiveDynamicStreamingTemplate.md +1 -1
  11. tccli/examples/organization/v20210331/DescribeEffectivePolicy.md +25 -0
  12. tccli/examples/organization/v20210331/ListNonCompliantResource.md +43 -0
  13. tccli/examples/ssl/v20191205/DescribeDeleteCertificatesTaskResult.md +72 -0
  14. tccli/examples/trocket/v20230308/DescribeMQTTClient.md +57 -49
  15. tccli/examples/trocket/v20230308/DescribeMQTTInsPublicEndpoints.md +38 -6
  16. tccli/examples/trocket/v20230308/DescribeMQTTInsVPCEndpoints.md +14 -12
  17. tccli/examples/trocket/v20230308/DescribeMQTTInstanceList.md +1 -121
  18. tccli/examples/trocket/v20230308/DescribeMQTTProductSKUList.md +0 -47
  19. tccli/examples/trocket/v20230308/DescribeMQTTUserList.md +1 -1
  20. tccli/services/aiart/v20221229/api.json +1 -1
  21. tccli/services/cls/v20201016/api.json +49 -49
  22. tccli/services/cls/v20201016/examples.json +13 -7
  23. tccli/services/cynosdb/v20190107/api.json +74 -0
  24. tccli/services/cynosdb/v20190107/examples.json +4 -4
  25. tccli/services/essbasic/v20210526/api.json +9 -0
  26. tccli/services/faceid/v20180301/api.json +22 -3
  27. tccli/services/live/v20180801/api.json +9 -0
  28. tccli/services/mps/v20190612/api.json +172 -92
  29. tccli/services/mps/v20190612/examples.json +2 -2
  30. tccli/services/omics/v20221128/api.json +20 -2
  31. tccli/services/organization/organization_client.py +106 -0
  32. tccli/services/organization/v20210331/api.json +258 -0
  33. tccli/services/organization/v20210331/examples.json +16 -0
  34. tccli/services/ssl/ssl_client.py +53 -0
  35. tccli/services/ssl/v20191205/api.json +110 -0
  36. tccli/services/ssl/v20191205/examples.json +8 -0
  37. tccli/services/ssm/v20190923/api.json +1 -1
  38. tccli/services/tdmq/v20200217/api.json +1 -1
  39. tccli/services/trocket/v20230308/api.json +226 -108
  40. tccli/services/trocket/v20230308/examples.json +13 -25
  41. {tccli-3.0.1095.1.dist-info → tccli-3.0.1096.1.dist-info}/METADATA +2 -2
  42. {tccli-3.0.1095.1.dist-info → tccli-3.0.1096.1.dist-info}/RECORD +45 -42
  43. {tccli-3.0.1095.1.dist-info → tccli-3.0.1096.1.dist-info}/WHEEL +0 -0
  44. {tccli-3.0.1095.1.dist-info → tccli-3.0.1096.1.dist-info}/entry_points.txt +0 -0
  45. {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.1095.1'
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 abc \
10
- --TopicId abc
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": "abc"
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 xxx-xxx-xx \
10
- --TopicId abc \
11
- --Name abc \
12
- --ServerAddr abc \
13
- --IsEncryptionAddr True \
14
- --UserKafkaTopics abc \
15
- --ConsumerGroupName abc \
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.TimeKey abc \
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.UnMatchLogKey abc \
23
- --LogRechargeRule.EncodingFormat 0
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": "abc"
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
- Kafka导入数据预览
3
+ 源数据预览
4
4
 
5
5
  Input:
6
6
 
7
7
  ```
8
8
  tccli cls PreviewKafkaRecharge --cli-unfold-argument \
9
9
  --PreviewType 1 \
10
- --KafkaType 1 \
11
- --ServerAddr test.cls.tencentyun.com:9095 \
12
- --IsEncryptionAddr False \
13
- --UserKafkaTopics topic1,topic2 \
14
- --Offset -1 \
15
- --LogRechargeRule.RechargeType json_log \
16
- --LogRechargeRule.TimeKey abc \
17
- --LogRechargeRule.TimeFormat abc \
18
- --LogRechargeRule.LogRegex abc \
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 abc \
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
- "RequestId": "6ef60xxx-0xxx-4xxx-bxxx-270359fb5xxx",
30
- "LogData": "xxxxxxx",
31
- "LogSample": "abc"
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
  ```
@@ -7,7 +7,8 @@ Input:
7
7
  ```
8
8
  tccli cynosdb AddClusterSlaveZone --cli-unfold-argument \
9
9
  --ClusterId cynosdbmysql-asd \
10
- --SlaveZone ap-guangzhou-4
10
+ --SlaveZone ap-guangzhou-4 \
11
+ --BinlogSyncWay async
11
12
  ```
12
13
 
13
14
  Output:
@@ -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,8 @@ Input:
8
8
  tccli cynosdb ModifyClusterSlaveZone --cli-unfold-argument \
9
9
  --ClusterId cynosdbmysql-asd \
10
10
  --OldSlaveZone ap-guangzhou-2 \
11
- --NewSlaveZone ap-guangzhou-3
11
+ --NewSlaveZone ap-guangzhou-3 \
12
+ --BinlogSyncWay async
12
13
  ```
13
14
 
14
15
  Output:
@@ -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 libx264 \
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 libx264 \
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-47ka4rdr \
10
- --ClientId subscribe_client
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
- "ClientAddress": "11.176.16.153:37360",
20
- "ClientId": "subscribe_client",
21
- "ConnectTime": 1705632841108,
19
+ "CleanSession": true,
20
+ "ClientAddress": "11.176.16.153:23354",
21
+ "ClientId": "sub_client2",
22
+ "ConnectTime": 1711444795304,
22
23
  "ConnectionStatus": "CONNECTED",
23
- "CreateTime": 1705632841106,
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": "mqtt-25m2jz9j%111/r1/"
50
+ "TopicFilter": "home/sun/+/"
67
51
  },
68
52
  {
69
53
  "Qos": 1,
70
- "TopicFilter": "mqtt-25m2jz9j%111/r/+/"
54
+ "TopicFilter": "home/temp/+/"
55
+ },
56
+ {
57
+ "Qos": 0,
58
+ "TopicFilter": "home/humidity/+/"
71
59
  },
72
60
  {
73
61
  "Qos": 2,
74
- "TopicFilter": "mqtt-25m2jz9j%111/r2/"
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": "b0f34768-130d-4a15-89d3-d3ca1976b4b7"
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-47ka4rdr
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": 0,
19
- "Endpoints": [],
20
- "InstanceId": "mqtt-47ka4rdr",
21
- "RequestId": "2cbe9dbc-57a3-4624-9ab8-30d25b54c70b",
22
- "Rules": []
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-47ka4rdr
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-47ka4rdr-cd-qcloud.mqtt.tencenttdmq.com",
20
+ "Host": "mqtt-25zqb75a-qy.mqtt.qcloud.tencenttdmq.com",
21
+ "Ip": "10.0.0.25",
21
22
  "Port": 1883,
22
- "SubnetId": null,
23
+ "SubnetId": "subnet-fr9ez60m",
23
24
  "Type": "mqtt-tcp",
24
- "Url": "mqtt-47ka4rdr-cd-qcloud.mqtt.tencenttdmq.com:1883",
25
- "VpcId": null
25
+ "Url": "mqtt-25zqb75a-qy.mqtt.qcloud.tencenttdmq.com:1883",
26
+ "VpcId": "vpc-35wk4c6h"
26
27
  },
27
28
  {
28
- "Host": "mqtt-47ka4rdr-cd-qcloud.mqtt.tencenttdmq.com",
29
+ "Host": "mqtt-25zqb75a-qy.mqtt.qcloud.tencenttdmq.com",
30
+ "Ip": "10.0.0.25",
29
31
  "Port": 8888,
30
- "SubnetId": null,
32
+ "SubnetId": "subnet-fr9ez60m",
31
33
  "Type": "mqtt-ws",
32
- "Url": "mqtt-47ka4rdr-cd-qcloud.mqtt.tencenttdmq.com:8888",
33
- "VpcId": null
34
+ "Url": "mqtt-25zqb75a-qy.mqtt.qcloud.tencenttdmq.com:8888",
35
+ "VpcId": "vpc-35wk4c6h"
34
36
  }
35
37
  ],
36
- "RequestId": "31911506-4e35-45b6-8261-a51bf3d85bd5"
38
+ "RequestId": "4313484d-47c1-4fc8-b402-f997d2ba7256"
37
39
  }
38
40
  }
39
41
  ```