tccli 3.0.1038.1__py2.py3-none-any.whl → 3.0.1040.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 (50) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/billing/v20180709/DescribeDosageDetailList.md +63 -0
  3. tccli/examples/cdb/v20170320/DeleteAuditRuleTemplates.md +1 -1
  4. tccli/examples/cfw/v20190904/DescribeIdsWhiteRule.md +10 -0
  5. tccli/examples/essbasic/v20210526/CreateChannelOrganizationInfoChangeUrl.md +22 -20
  6. tccli/examples/essbasic/v20210526/CreateConsoleLoginUrl.md +45 -9
  7. tccli/examples/tdmq/v20200217/ModifyEnvironmentRole.md +4 -4
  8. tccli/examples/teo/v20220901/CreatePlanForZone.md +1 -1
  9. tccli/examples/tione/v20211111/DescribeLatestTrainingMetrics.md +8 -2
  10. tccli/examples/tione/v20211111/DescribeNotebooks.md +15 -2
  11. tccli/examples/trtc/v20190722/StartStreamIngest.md +4 -4
  12. tccli/examples/vod/v20180717/ComposeMedia.md +6 -6
  13. tccli/examples/vod/v20180717/CreateCLSLogset.md +21 -0
  14. tccli/examples/vod/v20180717/CreateCLSTopic.md +23 -0
  15. tccli/examples/vod/v20180717/DeleteCLSTopic.md +20 -0
  16. tccli/examples/vod/v20180717/DescribeCLSLogsets.md +26 -0
  17. tccli/examples/vod/v20180717/DescribeCLSPushTargets.md +38 -0
  18. tccli/examples/vod/v20180717/DescribeCLSTopics.md +31 -0
  19. tccli/examples/vod/v20180717/SetCLSPushTarget.md +25 -0
  20. tccli/services/billing/billing_client.py +61 -8
  21. tccli/services/billing/v20180709/api.json +323 -0
  22. tccli/services/billing/v20180709/examples.json +8 -0
  23. tccli/services/cdb/v20170320/examples.json +1 -1
  24. tccli/services/cdn/v20180606/api.json +1 -1
  25. tccli/services/cfs/v20190719/api.json +9 -0
  26. tccli/services/cfw/v20190904/api.json +76 -0
  27. tccli/services/cfw/v20190904/examples.json +1 -1
  28. tccli/services/clb/v20180317/api.json +1 -1
  29. tccli/services/ess/v20201111/api.json +1 -1
  30. tccli/services/essbasic/v20210526/api.json +39 -30
  31. tccli/services/essbasic/v20210526/examples.json +25 -19
  32. tccli/services/hunyuan/v20230901/api.json +1 -1
  33. tccli/services/mps/v20190612/api.json +40 -2
  34. tccli/services/mrs/v20200910/api.json +24 -24
  35. tccli/services/tat/v20201028/api.json +1 -1
  36. tccli/services/tdmq/v20200217/examples.json +2 -2
  37. tccli/services/teo/v20220901/api.json +36 -19
  38. tccli/services/teo/v20220901/examples.json +1 -1
  39. tccli/services/tione/v20211111/api.json +205 -75
  40. tccli/services/tione/v20211111/examples.json +2 -2
  41. tccli/services/trtc/v20190722/api.json +25 -7
  42. tccli/services/trtc/v20190722/examples.json +2 -2
  43. tccli/services/vod/v20180717/api.json +555 -0
  44. tccli/services/vod/v20180717/examples.json +57 -1
  45. tccli/services/vod/vod_client.py +375 -4
  46. {tccli-3.0.1038.1.dist-info → tccli-3.0.1040.1.dist-info}/METADATA +2 -2
  47. {tccli-3.0.1038.1.dist-info → tccli-3.0.1040.1.dist-info}/RECORD +50 -42
  48. {tccli-3.0.1038.1.dist-info → tccli-3.0.1040.1.dist-info}/WHEEL +0 -0
  49. {tccli-3.0.1038.1.dist-info → tccli-3.0.1040.1.dist-info}/entry_points.txt +0 -0
  50. {tccli-3.0.1038.1.dist-info → tccli-3.0.1040.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1038.1'
1
+ __version__ = '3.0.1040.1'
@@ -0,0 +1,63 @@
1
+ **Example 1: 获取用量明细数据**
2
+
3
+ 获取用量明细数据
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli billing DescribeDosageDetailList --cli-unfold-argument \
9
+ --Offset 43150 \
10
+ --Limit 3 \
11
+ --StartTime 2023-09-01 \
12
+ --EndTime 2023-09-30 \
13
+ --ProductCode p_dsa
14
+ ```
15
+
16
+ Output:
17
+ ```
18
+ {
19
+ "Response": {
20
+ "Record": [
21
+ {
22
+ "AttrStr": [
23
+ {
24
+ "Key": "zoneId",
25
+ "Value": "470004"
26
+ },
27
+ {
28
+ "Key": "dayPeek",
29
+ "Value": "4872430721"
30
+ },
31
+ {
32
+ "Key": "regionId",
33
+ "Value": "47"
34
+ }
35
+ ],
36
+ "BillingItemCode": "v_dsa_gipa_bandwidth_game",
37
+ "BillingItemCodeName": "全球IP应用加速-游戏加速带宽",
38
+ "Date": "2023-09-01",
39
+ "DeductValue": 0,
40
+ "DosageBeginTime": "2023-09-01 00:02:00",
41
+ "DosageEndTime": "2023-09-01 00:02:59",
42
+ "DosageType": "minute",
43
+ "DosageUnit": "Mbps",
44
+ "DosageValue": 2206972795,
45
+ "ProductCode": "p_dsa",
46
+ "ProductCodeName": "全站加速网络ECDN",
47
+ "RemainValue": 2206972795,
48
+ "SdkAppId": "",
49
+ "SheetName": [
50
+ "全球IP应用加速_1分钟"
51
+ ],
52
+ "SubBillingItemCode": "sv_dsa_gipa_bandwidth_game_yd_month",
53
+ "SubBillingItemCodeName": "GIPA-游戏加速带宽-移动网络-按月结算",
54
+ "SubProductCode": "sp_dsa_gipa",
55
+ "SubProductCodeName": "全球IP应用加速",
56
+ "Uin": "909619400"
57
+ }
58
+ ],
59
+ "RequestId": "184cd45e-d2e1-4043-a47b-183617836e25"
60
+ }
61
+ }
62
+ ```
63
+
@@ -1,4 +1,4 @@
1
- **Example 1: 删除审计规则模版**
1
+ **Example 1: 删除审计规则模板**
2
2
 
3
3
 
4
4
 
@@ -14,6 +14,16 @@ Output:
14
14
  ```
15
15
  {
16
16
  "Response": {
17
+ "Data": [
18
+ {
19
+ "DstIp": "10.23.33.2",
20
+ "FwType": 4,
21
+ "Id": 63,
22
+ "RuleId": "20006",
23
+ "SrcIp": "10.23.33.1",
24
+ "WhiteRuleType": "srcdst"
25
+ }
26
+ ],
17
27
  "RequestId": "88db276f-42d5-4b60-afc1-2c5799250a99",
18
28
  "ReturnCode": 0,
19
29
  "ReturnMsg": "success",
@@ -1,6 +1,6 @@
1
- **Example 1: 创建企业信息变更链接**
1
+ **Example 1: 错误示例-变更类型不合法**
2
2
 
3
- 设置changeType为2,创建企业信息变更链接。
3
+ 设置changeType为3,接口将返回错误信息。
4
4
 
5
5
  Input:
6
6
 
@@ -9,23 +9,25 @@ tccli essbasic CreateChannelOrganizationInfoChangeUrl --cli-unfold-argument \
9
9
  --Agent.AppId yDwFoUUckpsomwx1UyhWGhIR2RkhOj2 \
10
10
  --Agent.ProxyOrganizationOpenId ess_open_organization_1 \
11
11
  --Agent.ProxyOperator.OpenId openid1 \
12
- --ChangeType 2
12
+ --ChangeType 3
13
13
  ```
14
14
 
15
15
  Output:
16
16
  ```
17
17
  {
18
18
  "Response": {
19
- "ExpiredTime": 1695798606,
20
- "RequestId": "38be082e-08c4-4f37-a0b7-cd47cf9982b5",
21
- "Url": "https://test.essurl.cn/CvEXWU6RkKW"
19
+ "Error": {
20
+ "Code": "InvalidParameter.ParamError",
21
+ "Message": "不支持的变更类型:3,请确认后重新"
22
+ },
23
+ "RequestId": "30cc3f4a-8f8c-4ec7-a6fb-66a82590c546"
22
24
  }
23
25
  }
24
26
  ```
25
27
 
26
- **Example 2: 创建超管变更链接**
28
+ **Example 2: 创建企业信息变更链接(短链)**
27
29
 
28
- 设置changeType为1,创建企业超管变更链接
30
+ 设置changeType为2,创建企业信息变更链接。
29
31
 
30
32
  Input:
31
33
 
@@ -34,23 +36,24 @@ tccli essbasic CreateChannelOrganizationInfoChangeUrl --cli-unfold-argument \
34
36
  --Agent.AppId yDwFoUUckpsomwx1UyhWGhIR2RkhOj2 \
35
37
  --Agent.ProxyOrganizationOpenId ess_open_organization_1 \
36
38
  --Agent.ProxyOperator.OpenId openid1 \
37
- --ChangeType 1
39
+ --ChangeType 2 \
40
+ --Endpoint WEIXINAPP
38
41
  ```
39
42
 
40
43
  Output:
41
44
  ```
42
45
  {
43
46
  "Response": {
44
- "ExpiredTime": 1695798287,
45
- "RequestId": "3bff7e92-76f8-4e09-85df-e7cb982cb454",
46
- "Url": "https://test.essurl.cn/zG0sxU6zl"
47
+ "ExpiredTime": 1695798606,
48
+ "RequestId": "38be082e-08c4-4f37-a0b7-cd47cf9982b5",
49
+ "Url": "https://test.essurl.cn/CvEXWU6RkKW"
47
50
  }
48
51
  }
49
52
  ```
50
53
 
51
- **Example 3: 错误示例-变更类型不合法**
54
+ **Example 3: 创建超管变更链接(小程序链接)**
52
55
 
53
- 设置changeType为3,接口将返回错误信息。
56
+ 设置changeType为1,创建企业超管变更小程序链接链接
54
57
 
55
58
  Input:
56
59
 
@@ -59,18 +62,17 @@ tccli essbasic CreateChannelOrganizationInfoChangeUrl --cli-unfold-argument \
59
62
  --Agent.AppId yDwFoUUckpsomwx1UyhWGhIR2RkhOj2 \
60
63
  --Agent.ProxyOrganizationOpenId ess_open_organization_1 \
61
64
  --Agent.ProxyOperator.OpenId openid1 \
62
- --ChangeType 3
65
+ --ChangeType 1 \
66
+ --Endpoint APP
63
67
  ```
64
68
 
65
69
  Output:
66
70
  ```
67
71
  {
68
72
  "Response": {
69
- "Error": {
70
- "Code": "InvalidParameter.ParamError",
71
- "Message": "不支持的变更类型:3,请确认后重新"
72
- },
73
- "RequestId": "30cc3f4a-8f8c-4ec7-a6fb-66a82590c546"
73
+ "ExpiredTime": 1695798287,
74
+ "RequestId": "3bff7e92-76f8-4e09-85df-e7cb982cb454",
75
+ "Url": "/pages/guide/index?to=CHANGE_SUPER_ADMIN&organizationId=yDxbWUyKQDxgXVUuO4zjEB8mxCcDjAyF&channelType=test&adminName=张*&legalName=李*&expireTime=1695798287"
74
76
  }
75
77
  }
76
78
  ```
@@ -1,12 +1,46 @@
1
- **Example 1: 生成默认的控制台链接**
1
+ **Example 1: 生成到模板详情的控制台链接**
2
+
3
+ 生成到模板详情的控制台链接
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli essbasic CreateConsoleLoginUrl --cli-unfold-argument \
9
+ --ProxyOrganizationName 典子谦示例企业 \
10
+ --Agent.ProxyOperator.OpenId n9527 \
11
+ --Agent.ProxyOrganizationOpenId org_dianziqian \
12
+ --Agent.AppId yDRSRUUgygj6qnwfUuO4zjEwc193c2hH \
13
+ --Module TEMPLATE \
14
+ --ModuleId yDwFdUUckpsvet4jUEn0aFRxtu5TdalM \
15
+ --MenuStatus ENABLE
16
+ ```
17
+
18
+ Output:
19
+ ```
20
+ {
21
+ "Response": {
22
+ "ConsoleUrl": "https://es*.ap*.tencent.com/template-preview?channel=PROXYCHANNEL&expiredTime=1631712951&code=123456asdfghjk&templateId=yDxlzxxxoTxQfVnyxs&menuStatus=ENABLE",
23
+ "IsActivated": false,
24
+ "ProxyOperatorIsVerified": false,
25
+ "RequestId": "s16221***14775648"
26
+ }
27
+ }
28
+ ```
29
+
30
+ **Example 2: 生成默认的控制台登录链接**
31
+
32
+ 如果<b>典子谦示例企业的员工张三已经完成了认证和加入企业</b>, 此时给典子谦示例企业的员工张三生成登录的PC控制台的链接
33
+
34
+ 典子谦示例企业的定义标识为:org_dianziqian
35
+ 员工张三定义员工标识为:n9527
2
36
 
3
- 生成默认的控制台链接
4
37
 
5
38
  Input:
6
39
 
7
40
  ```
8
41
  tccli essbasic CreateConsoleLoginUrl --cli-unfold-argument \
9
42
  --ProxyOrganizationName 典子谦示例企业 \
43
+ --ProxyOperatorName 张三 \
10
44
  --Agent.ProxyOperator.OpenId n9527 \
11
45
  --Agent.ProxyOrganizationOpenId org_dianziqian \
12
46
  --Agent.AppId yDRSRUUgygj6qnwfUuO4zjEwc193c2hH
@@ -24,28 +58,30 @@ Output:
24
58
  }
25
59
  ```
26
60
 
27
- **Example 2: 生成到模板详情的控制台链接**
61
+ **Example 3: 生成默认的控制台认证链接**
62
+
63
+ 如果<b>典子谦示例企业的员工张三还没有认证</b>, 此时给典子谦示例企业的员工张三生成企业认证和个人认证的PC链接
64
+
65
+ 典子谦示例企业的定义标识为:org_dianziqian
66
+ 员工张三定义员工标识为:n9527
28
67
 
29
- 生成到模板详情的控制台链接
30
68
 
31
69
  Input:
32
70
 
33
71
  ```
34
72
  tccli essbasic CreateConsoleLoginUrl --cli-unfold-argument \
35
73
  --ProxyOrganizationName 典子谦示例企业 \
74
+ --ProxyOperatorName 张三 \
36
75
  --Agent.ProxyOperator.OpenId n9527 \
37
76
  --Agent.ProxyOrganizationOpenId org_dianziqian \
38
- --Agent.AppId yDRSRUUgygj6qnwfUuO4zjEwc193c2hH \
39
- --Module TEMPLATE \
40
- --ModuleId yDwFdUUckpsvet4jUEn0aFRxtu5TdalM \
41
- --MenuStatus ENABLE
77
+ --Agent.AppId yDRSRUUgygj6qnwfUuO4zjEwc193c2hH
42
78
  ```
43
79
 
44
80
  Output:
45
81
  ```
46
82
  {
47
83
  "Response": {
48
- "ConsoleUrl": "https://es*.ap*.tencent.com/template-preview?channel=PROXYCHANNEL&expiredTime=1631712951&code=123456asdfghjk&templateId=yDxlzxxxoTxQfVnyxs&menuStatus=ENABLE",
84
+ "ConsoleUrl": "https://xxx.xxxx.tencent.com/?channel=PROXYCHANNEL&expiredTime=1631712951&code=123456asdfghjk&menuStatus=ENABLE",
49
85
  "IsActivated": false,
50
86
  "ProxyOperatorIsVerified": false,
51
87
  "RequestId": "s16221***14775648"
@@ -6,17 +6,17 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli tdmq ModifyEnvironmentRole --cli-unfold-argument \
9
- --EnvironmentId abc \
10
- --RoleName abc \
9
+ --EnvironmentId default \
10
+ --RoleName test_role \
11
11
  --Permissions abc \
12
- --ClusterId abc
12
+ --ClusterId pulsar-xxxx
13
13
  ```
14
14
 
15
15
  Output:
16
16
  ```
17
17
  {
18
18
  "Response": {
19
- "RequestId": "gggxxxx"
19
+ "RequestId": "20846f8d-6438-4cd9-a2a4-09d5f4e8f0db"
20
20
  }
21
21
  }
22
22
  ```
@@ -1,6 +1,6 @@
1
1
  **Example 1: CreatePlanForZone**
2
2
 
3
-
3
+ 为站点创建套餐
4
4
 
5
5
  Input:
6
6
 
@@ -19,8 +19,14 @@ Output:
19
19
  {
20
20
  "MetricName": "loss",
21
21
  "Values": [
22
- {},
23
- {}
22
+ {
23
+ "Timestamp": 1641002400,
24
+ "Value": 182.06
25
+ },
26
+ {
27
+ "Timestamp": 1641002410,
28
+ "Value": 176.06
29
+ }
24
30
  ]
25
31
  }
26
32
  ]
@@ -61,12 +61,25 @@ Output:
61
61
  "VolumeSourceType": "abc",
62
62
  "VolumeSourceCFS": {
63
63
  "Id": "abc",
64
- "Path": "abc"
64
+ "Path": "abc",
65
+ "MountType": "abc",
66
+ "Protocol": "abc"
65
67
  },
66
68
  "Message": "abc",
67
69
  "UserTypes": [
68
70
  "abc"
69
- ]
71
+ ],
72
+ "SSHConfig": {
73
+ "Enable": true,
74
+ "PublicKey": "abc",
75
+ "Port": 0,
76
+ "LoginCommand": "abc"
77
+ },
78
+ "VolumeSourceGooseFS": {
79
+ "Id": "abc",
80
+ "Type": "abc",
81
+ "Path": "abc"
82
+ }
70
83
  }
71
84
  ],
72
85
  "TotalCount": 1,
@@ -1,6 +1,6 @@
1
1
  **Example 1: 启动拉流转推**
2
2
 
3
- 启动一个拉流转推任务,任务内容为两个在线媒体流"https://a.b/test.mp4","https://b.c/test.mp4",音视频编码采用默认编码值,设置回调地址为 "https://b.c/callback",转推成功后返回TaskId
3
+ 启动一个拉流转推任务,将在线媒体流"https://a.b/test.mp4"输入TRTC房间,音视频编码采用默认编码值,转推成功后返回TaskId
4
4
 
5
5
  Input:
6
6
 
@@ -9,10 +9,10 @@ tccli trtc StartStreamIngest --cli-unfold-argument \
9
9
  --SdkAppId 1234567890 \
10
10
  --RoomId room123 \
11
11
  --UserId robot123 \
12
- --UserSig xxxxxxxxxxxxxxxxxxxxxxxxxxxx \
13
- --PrivateMapKey abcdefg \
12
+ --UserSig xxxxxxxxxxxxxxx \
13
+ --PrivateMapKey xxxxxxxxxxxxxxx \
14
14
  --RoomIdType 1 \
15
- --SourceUrl https://a.b/test.mp4 https://b.c/test.mp4
15
+ --StreamUrl https://a.b/test.mp4
16
16
  ```
17
17
 
18
18
  Output:
@@ -90,14 +90,14 @@ tccli vod ComposeMedia --cli-unfold-argument \
90
90
  --Output.Container mp4 \
91
91
  --Output.FileName test \
92
92
  --Tracks.0.TrackItems.0.Type Video \
93
- --Tracks.0.TrackItems.0.VideoItem.CoordinateOrigin Center \
94
- --Tracks.0.TrackItems.0.VideoItem.Width 30% \
95
- --Tracks.0.TrackItems.0.VideoItem.SourceMedia 5285485487985271488 \
96
- --Tracks.0.TrackItems.0.VideoItem.XPos 25% \
97
- --Tracks.0.TrackItems.0.VideoItem.YPos 25% \
93
+ --Tracks.0.TrackItems.0.VideoItem.SourceMedia 5285485487985271487 \
98
94
  --Tracks.0.Type Video \
99
95
  --Tracks.1.TrackItems.0.Type Video \
100
- --Tracks.1.TrackItems.0.VideoItem.SourceMedia 5285485487985271487 \
96
+ --Tracks.1.TrackItems.0.VideoItem.CoordinateOrigin Center \
97
+ --Tracks.1.TrackItems.0.VideoItem.Width 30% \
98
+ --Tracks.1.TrackItems.0.VideoItem.SourceMedia 5285485487985271488 \
99
+ --Tracks.1.TrackItems.0.VideoItem.XPos 25% \
100
+ --Tracks.1.TrackItems.0.VideoItem.YPos 25% \
101
101
  --Tracks.1.Type Video
102
102
  ```
103
103
 
@@ -0,0 +1,21 @@
1
+ **Example 1: 创建一个新的日志集**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli vod CreateCLSLogset --cli-unfold-argument \
9
+ --CLSRegion ap-guangzhou
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "LogsetId": "54079098-61ea-48f9-8270-3b041a5d0150",
17
+ "RequestId": "xxx"
18
+ }
19
+ }
20
+ ```
21
+
@@ -0,0 +1,23 @@
1
+ **Example 1: 创建一个新的日志主题**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli vod CreateCLSTopic --cli-unfold-argument \
9
+ --CLSRegion ap-guangzhou \
10
+ --TopicName mytopic \
11
+ --LogsetId 54079098-61ea-48f9-8270-3b041a5d0150
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "TopicId": "780ba384-5bc1-4cb1-a0e9-0cf8fafd3ee0",
19
+ "RequestId": "xxx"
20
+ }
21
+ }
22
+ ```
23
+
@@ -0,0 +1,20 @@
1
+ **Example 1: 删除CLS日志主题**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli vod DeleteCLSTopic --cli-unfold-argument \
9
+ --TopicId 780ba384-5bc1-4cb1-a0e9-0cf8fafd3ee0
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "RequestId": "xxx"
17
+ }
18
+ }
19
+ ```
20
+
@@ -0,0 +1,26 @@
1
+ **Example 1: 查询点播创建的广州地区日志集**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli vod DescribeCLSLogsets --cli-unfold-argument \
9
+ --CLSRegion ap-guangzhou
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "Logsets": [
17
+ {
18
+ "LogsetId": "54079098-61ea-48f9-8270-3b041a5d0150",
19
+ "LogsetName": "vod_cdn_logset_cn"
20
+ }
21
+ ],
22
+ "RequestId": "xxx"
23
+ }
24
+ }
25
+ ```
26
+
@@ -0,0 +1,38 @@
1
+ **Example 1: 查询日志投递目标**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli vod DescribeCLSPushTargets --cli-unfold-argument \
9
+ --Domains xxx.vod-qcloud.com
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "TotalCount": 1,
17
+ "DomainCLSTargets": [
18
+ {
19
+ "Domain": "xxx.vod-qcloud.com",
20
+ "ChineseMainlandCLSTargetInfo": {
21
+ "Switch": "OFF",
22
+ "CLSRegion": "ap-guangzhou",
23
+ "TopicId": "",
24
+ "LogsetId": ""
25
+ },
26
+ "OutsideChineseMainlandCLSTargetInfo": {
27
+ "Switch": "OFF",
28
+ "CLSRegion": "ap-singapore",
29
+ "TopicId": "",
30
+ "LogsetId": ""
31
+ }
32
+ }
33
+ ],
34
+ "RequestId": "xxx"
35
+ }
36
+ }
37
+ ```
38
+
@@ -0,0 +1,31 @@
1
+ **Example 1: 查询指定日志主题**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli vod DescribeCLSTopics --cli-unfold-argument \
9
+ --CLSRegion ap-guangzhou \
10
+ --LogsetId 54079098-61ea-48f9-8270-3b041a5d0150 \
11
+ --Offset 0 \
12
+ --Limit 0
13
+ ```
14
+
15
+ Output:
16
+ ```
17
+ {
18
+ "Response": {
19
+ "TotalCount": 1,
20
+ "Topics": [
21
+ {
22
+ "TopicId": "780ba384-5bc1-4cb1-a0e9-0cf8fafd3ee0",
23
+ "TopicName": "mytopic",
24
+ "LogsetId": "54079098-61ea-48f9-8270-3b041a5d0150"
25
+ }
26
+ ],
27
+ "RequestId": "xxx"
28
+ }
29
+ }
30
+ ```
31
+
@@ -0,0 +1,25 @@
1
+ **Example 1: 设置中国大陆地区的日志投递目标**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli vod SetCLSPushTarget --cli-unfold-argument \
9
+ --SubAppId 0 \
10
+ --Domain abc.com \
11
+ --ChineseMainlandCLSTargetInfo.Switch ON \
12
+ --ChineseMainlandCLSTargetInfo.CLSRegion ap-guangzhou \
13
+ --ChineseMainlandCLSTargetInfo.TopicId abc \
14
+ --ChineseMainlandCLSTargetInfo.LogsetId abc
15
+ ```
16
+
17
+ Output:
18
+ ```
19
+ {
20
+ "Response": {
21
+ "RequestId": "abc"
22
+ }
23
+ }
24
+ ```
25
+