tccli 3.0.1064.1__py2.py3-none-any.whl → 3.0.1067.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/ccc/v20200210/AbortPredictiveDialingCampaign.md +21 -0
- tccli/examples/ccc/v20200210/CreatePredictiveDialingCampaign.md +33 -0
- tccli/examples/ccc/v20200210/DeletePredictiveDialingCampaign.md +21 -0
- tccli/examples/ccc/v20200210/DescribePredictiveDialingCampaign.md +32 -0
- tccli/examples/ccc/v20200210/DescribePredictiveDialingCampaigns.md +55 -0
- tccli/examples/ccc/v20200210/DescribePredictiveDialingSessions.md +29 -0
- tccli/examples/ccc/v20200210/PausePredictiveDialingCampaign.md +21 -0
- tccli/examples/ccc/v20200210/ResumePredictiveDialingCampaign.md +21 -0
- tccli/examples/ccc/v20200210/UpdatePredictiveDialingCampaign.md +33 -0
- tccli/examples/cfw/v20190904/CreateBlockIgnoreRuleNew.md +25 -0
- tccli/examples/cfw/v20190904/DeleteBlockIgnoreRuleNew.md +23 -0
- tccli/examples/cfw/v20190904/ModifyBlockIgnoreRuleNew.md +24 -0
- tccli/examples/cls/v20201016/DescribeConfigMachineGroups.md +1 -0
- tccli/examples/cls/v20201016/DescribeMachineGroups.md +1 -0
- tccli/examples/csip/v20221121/DescribeTopAttackInfo.md +26 -0
- tccli/examples/ecm/v20190719/ModifyPrivateIpAddressesAttribute.md +1 -1
- tccli/examples/mna/v20210119/AddDevice.md +1 -1
- tccli/examples/mna/v20210119/GetMultiFlowStatistic.md +7 -1
- tccli/examples/mna/v20210119/GetNetMonitor.md +7 -49
- tccli/examples/mna/v20210119/GetStatisticData.md +5 -3
- tccli/examples/omics/v20221128/CreateVolume.md +25 -0
- tccli/examples/omics/v20221128/DeleteVolume.md +20 -0
- tccli/examples/omics/v20221128/DeleteVolumeData.md +21 -0
- tccli/examples/omics/v20221128/DescribeVolumes.md +37 -0
- tccli/examples/omics/v20221128/ModifyVolume.md +21 -0
- tccli/examples/postgres/v20170312/ModifyDBInstanceSpec.md +1 -0
- tccli/examples/tse/v20201207/CreateGovernanceInstances.md +32 -0
- tccli/examples/tse/v20201207/DeleteGovernanceInstances.md +35 -0
- tccli/examples/tse/v20201207/DescribeGovernanceInstances.md +56 -0
- tccli/examples/tse/v20201207/ModifyGovernanceInstances.md +35 -0
- tccli/examples/vod/v20180717/CreateDomainVerifyRecord.md +3 -1
- tccli/examples/vod/v20180717/DescribeDefaultDistributionConfig.md +22 -0
- tccli/examples/vod/v20180717/ModifyDefaultDistributionConfig.md +21 -0
- tccli/examples/waf/v20180125/CreateDeals.md +42 -0
- tccli/examples/wedata/v20210820/BatchStartIntegrationTasks.md +10 -7
- tccli/examples/wedata/v20210820/BatchStopIntegrationTasks.md +37 -6
- tccli/services/ccc/ccc_client.py +493 -16
- tccli/services/ccc/v20200210/api.json +927 -42
- tccli/services/ccc/v20200210/examples.json +72 -0
- tccli/services/cdb/v20170320/api.json +1 -1
- tccli/services/cfw/cfw_client.py +171 -12
- tccli/services/cfw/v20190904/api.json +258 -2
- tccli/services/cfw/v20190904/examples.json +24 -0
- tccli/services/ckafka/v20190819/api.json +17 -17
- tccli/services/cls/v20201016/api.json +45 -17
- tccli/services/cls/v20201016/examples.json +2 -2
- tccli/services/csip/csip_client.py +57 -4
- tccli/services/csip/v20221121/api.json +70 -0
- tccli/services/csip/v20221121/examples.json +8 -0
- tccli/services/cynosdb/v20190107/api.json +3 -3
- tccli/services/ecm/v20190719/api.json +3 -3
- tccli/services/ecm/v20190719/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +3 -3
- tccli/services/essbasic/v20210526/api.json +5 -5
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/mna/v20210119/api.json +144 -9
- tccli/services/mna/v20210119/examples.json +6 -6
- tccli/services/monitor/v20180724/api.json +20 -0
- tccli/services/omics/omics_client.py +277 -12
- tccli/services/omics/v20221128/api.json +425 -0
- tccli/services/omics/v20221128/examples.json +40 -0
- tccli/services/postgres/v20170312/api.json +27 -0
- tccli/services/postgres/v20170312/examples.json +1 -1
- tccli/services/trp/v20210515/api.json +18 -0
- tccli/services/trtc/v20190722/api.json +10 -1
- tccli/services/tse/tse_client.py +220 -8
- tccli/services/tse/v20201207/api.json +779 -42
- tccli/services/tse/v20201207/examples.json +32 -0
- tccli/services/vod/v20180717/api.json +146 -1
- tccli/services/vod/v20180717/examples.json +17 -1
- tccli/services/vod/vod_client.py +106 -0
- tccli/services/waf/v20180125/api.json +256 -1
- tccli/services/waf/v20180125/examples.json +8 -0
- tccli/services/waf/waf_client.py +57 -4
- tccli/services/wedata/v20210820/api.json +140 -15
- tccli/services/wedata/v20210820/examples.json +10 -4
- {tccli-3.0.1064.1.dist-info → tccli-3.0.1067.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1064.1.dist-info → tccli-3.0.1067.1.dist-info}/RECORD +83 -58
- {tccli-3.0.1064.1.dist-info → tccli-3.0.1067.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1064.1.dist-info → tccli-3.0.1067.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1064.1.dist-info → tccli-3.0.1067.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1067.1'
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 停止预测式外呼任务示例**
|
2
|
+
|
3
|
+
停止预测式外呼任务
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ccc AbortPredictiveDialingCampaign --cli-unfold-argument \
|
9
|
+
--SdkAppId 1400000000 \
|
10
|
+
--CampaignId 2569
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
**Example 1: 创建预测式外呼任务示例**
|
2
|
+
|
3
|
+
创建预测式外呼任务
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ccc CreatePredictiveDialingCampaign --cli-unfold-argument \
|
9
|
+
--SdkAppId 1400000000 \
|
10
|
+
--Name 新能源SUV推荐 \
|
11
|
+
--Callees +8613012345678 +8613012345679 +8613012345670 \
|
12
|
+
--Callers 0086075586013388 \
|
13
|
+
--CallOrder 0 \
|
14
|
+
--SkillGroupId 255 \
|
15
|
+
--IVRId 4600 \
|
16
|
+
--Priority 3 \
|
17
|
+
--ExpectedAbandonRate 10 \
|
18
|
+
--RetryTimes 1 \
|
19
|
+
--RetryInterval 1800 \
|
20
|
+
--StartTime 1708483433 \
|
21
|
+
--EndTime 1708485433
|
22
|
+
```
|
23
|
+
|
24
|
+
Output:
|
25
|
+
```
|
26
|
+
{
|
27
|
+
"Response": {
|
28
|
+
"CampaignId": 2569,
|
29
|
+
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
|
30
|
+
}
|
31
|
+
}
|
32
|
+
```
|
33
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 删除预测式外呼任务示例**
|
2
|
+
|
3
|
+
删除预测式外呼任务
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ccc DeletePredictiveDialingCampaign --cli-unfold-argument \
|
9
|
+
--SdkAppId 1400000000 \
|
10
|
+
--CampaignId 2569
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
**Example 1: 查询预测式外呼任务示例**
|
2
|
+
|
3
|
+
查询预测式外呼任务
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ccc DescribePredictiveDialingCampaign --cli-unfold-argument \
|
9
|
+
--SdkAppId 1400000000 \
|
10
|
+
--CampaignId 2569
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"CampaignId": 2569,
|
18
|
+
"Name": "新能源SUV推荐",
|
19
|
+
"CallOrder": 0,
|
20
|
+
"SkillGroupId": 255,
|
21
|
+
"IVRId": 4600,
|
22
|
+
"Priority": 3,
|
23
|
+
"ExpectedAbandonRate": 10,
|
24
|
+
"RetryTimes": 1,
|
25
|
+
"RetryInterval": 1800,
|
26
|
+
"StartTime": 1708483433,
|
27
|
+
"EndTime": 1708485433,
|
28
|
+
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
|
29
|
+
}
|
30
|
+
}
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,55 @@
|
|
1
|
+
**Example 1: 查询预测式外呼任务列表示例**
|
2
|
+
|
3
|
+
查询预测式外呼任务列表
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ccc DescribePredictiveDialingCampaigns --cli-unfold-argument \
|
9
|
+
--SdkAppId 1400000000 \
|
10
|
+
--PageSize 25 \
|
11
|
+
--PageNumber 0
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"TotalCount": 66,
|
19
|
+
"CampaignList": [
|
20
|
+
{
|
21
|
+
"CampaignId": 2567,
|
22
|
+
"Name": "新能源SUV推荐1",
|
23
|
+
"Status": 0,
|
24
|
+
"StatusReason": 0,
|
25
|
+
"CalleeCount": 1000,
|
26
|
+
"FinishedCalleeCount": 0,
|
27
|
+
"Priority": 3,
|
28
|
+
"SkillGroupId": 255
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"CampaignId": 2568,
|
32
|
+
"Name": "新能源SUV推荐2",
|
33
|
+
"Status": 0,
|
34
|
+
"StatusReason": 0,
|
35
|
+
"CalleeCount": 1000,
|
36
|
+
"FinishedCalleeCount": 0,
|
37
|
+
"Priority": 3,
|
38
|
+
"SkillGroupId": 255
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"CampaignId": 2569,
|
42
|
+
"Name": "新能源SUV推荐3",
|
43
|
+
"Status": 0,
|
44
|
+
"StatusReason": 0,
|
45
|
+
"CalleeCount": 1000,
|
46
|
+
"FinishedCalleeCount": 0,
|
47
|
+
"Priority": 3,
|
48
|
+
"SkillGroupId": 255
|
49
|
+
}
|
50
|
+
],
|
51
|
+
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
|
52
|
+
}
|
53
|
+
}
|
54
|
+
```
|
55
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
**Example 1: 查询预测式外呼呼叫列表示例**
|
2
|
+
|
3
|
+
查询预测式外呼呼叫列表
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ccc DescribePredictiveDialingSessions --cli-unfold-argument \
|
9
|
+
--SdkAppId 1400000000 \
|
10
|
+
--CampaignId 2569 \
|
11
|
+
--PageSize 25 \
|
12
|
+
--PageNumber 0
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"TotalCount": 66,
|
20
|
+
"SessionList": [
|
21
|
+
"a5be1044-e8b0-4f02-9b25-64baee24374b",
|
22
|
+
"22c3e170-f307-47c8-9f10-1b77413a646f",
|
23
|
+
"e8557b17-d68b-4475-9a97-639a1108887b"
|
24
|
+
],
|
25
|
+
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
```
|
29
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 暂停预测式外呼任务示例**
|
2
|
+
|
3
|
+
暂停预测式外呼任务
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ccc PausePredictiveDialingCampaign --cli-unfold-argument \
|
9
|
+
--SdkAppId 1400000000 \
|
10
|
+
--CampaignId 2569
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 恢复预测式外呼任务示例**
|
2
|
+
|
3
|
+
恢复预测式外呼任务
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ccc ResumePredictiveDialingCampaign --cli-unfold-argument \
|
9
|
+
--SdkAppId 1400000000 \
|
10
|
+
--CampaignId 2569
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
**Example 1: 更新预测式外呼任务示例**
|
2
|
+
|
3
|
+
更新预测式外呼任务
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli ccc UpdatePredictiveDialingCampaign --cli-unfold-argument \
|
9
|
+
--SdkAppId 1400000000 \
|
10
|
+
--CampaignId 2569 \
|
11
|
+
--Name 新能源SUV推荐 \
|
12
|
+
--Callees +8613012345678 +8613012345679 +8613012345670 \
|
13
|
+
--Callers 0086075586013388 \
|
14
|
+
--CallOrder 0 \
|
15
|
+
--SkillGroupId 255 \
|
16
|
+
--IVRId 4600 \
|
17
|
+
--Priority 3 \
|
18
|
+
--ExpectedAbandonRate 10 \
|
19
|
+
--RetryTimes 1 \
|
20
|
+
--RetryInterval 1800 \
|
21
|
+
--StartTime 1708483433 \
|
22
|
+
--EndTime 1708485433
|
23
|
+
```
|
24
|
+
|
25
|
+
Output:
|
26
|
+
```
|
27
|
+
{
|
28
|
+
"Response": {
|
29
|
+
"RequestId": "3c140219-cfe9-470e-b241-907877d6fb03"
|
30
|
+
}
|
31
|
+
}
|
32
|
+
```
|
33
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 入侵防御接口新-添加IP为放通列表**
|
2
|
+
|
3
|
+
入侵防御接口新-添加IP为放通列表
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cfw CreateBlockIgnoreRuleNew --cli-unfold-argument \
|
9
|
+
--Rules.0.Ioc 1.2.3.4 \
|
10
|
+
--Rules.0.DirectionList 0 \
|
11
|
+
--Rules.0.EndTime 3000-01-01 00:00:00 \
|
12
|
+
--Rules.0.Comment test \
|
13
|
+
--RuleType 2 \
|
14
|
+
--CoverDuplicate 0
|
15
|
+
```
|
16
|
+
|
17
|
+
Output:
|
18
|
+
```
|
19
|
+
{
|
20
|
+
"Response": {
|
21
|
+
"RequestId": "0f493b05-6637-41f5-8977-18a55bdebbff"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: 删除示例**
|
2
|
+
|
3
|
+
删除示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cfw DeleteBlockIgnoreRuleNew --cli-unfold-argument \
|
9
|
+
--Rules.0.Ioc 100.12.31.2 \
|
10
|
+
--Rules.0.RuleType 2 \
|
11
|
+
--DeleteAll 0 \
|
12
|
+
--RuleType 100
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"RequestId": "19df3039-eec2-4a8a-8a51-d552b9cf67f3"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 编辑放通列表示例**
|
2
|
+
|
3
|
+
编辑放通列表示例
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli cfw ModifyBlockIgnoreRuleNew --cli-unfold-argument \
|
9
|
+
--Rule.Ioc 100.12.31.2 \
|
10
|
+
--Rule.DirectionList 0,1 \
|
11
|
+
--Rule.EndTime 2025-01-02 14:39:30 \
|
12
|
+
--Rule.Comment test \
|
13
|
+
--RuleType 2
|
14
|
+
```
|
15
|
+
|
16
|
+
Output:
|
17
|
+
```
|
18
|
+
{
|
19
|
+
"Response": {
|
20
|
+
"RequestId": "9a185559-4d5f-40a4-bb56-c5c4a48f86c1"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
**Example 1: 查询TOP攻击信息示例**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli csip DescribeTopAttackInfo --cli-unfold-argument \
|
9
|
+
--OperatedMemberId abc
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"TopAttackInfo": [
|
17
|
+
{
|
18
|
+
"Name": "漏洞攻击",
|
19
|
+
"Count": 123
|
20
|
+
}
|
21
|
+
],
|
22
|
+
"RequestId": "abc"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
```
|
26
|
+
|
@@ -9,7 +9,7 @@ tccli ecm ModifyPrivateIpAddressesAttribute --cli-unfold-argument \
|
|
9
9
|
--NetworkInterfaceId eni-pwbqma5d \
|
10
10
|
--PrivateIpAddresses.0.PrivateIpAddress 192.168.2.7 \
|
11
11
|
--PrivateIpAddresses.0.Description new-name \
|
12
|
-
--EcmRegion
|
12
|
+
--EcmRegion ap-guangzhou-ecm
|
13
13
|
```
|
14
14
|
|
15
15
|
Output:
|
@@ -5,7 +5,13 @@
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
|
-
tccli mna GetMultiFlowStatistic --cli-unfold-argument
|
8
|
+
tccli mna GetMultiFlowStatistic --cli-unfold-argument \
|
9
|
+
--DeviceIds mna-obzuio2pij mna-ps9x7eako2 \
|
10
|
+
--BeginTime 1675255591 \
|
11
|
+
--EndTime 1675860391 \
|
12
|
+
--Type 1 \
|
13
|
+
--TimeGranularity 1
|
14
|
+
```
|
9
15
|
|
10
16
|
Output:
|
11
17
|
```
|
@@ -5,7 +5,12 @@
|
|
5
5
|
Input:
|
6
6
|
|
7
7
|
```
|
8
|
-
tccli mna GetNetMonitor --cli-unfold-argument
|
8
|
+
tccli mna GetNetMonitor --cli-unfold-argument \
|
9
|
+
--Metrics TxRate \
|
10
|
+
--EndTime 1662624800 \
|
11
|
+
--DeviceId mna-xxx \
|
12
|
+
--BeginTime 1662622200
|
13
|
+
```
|
9
14
|
|
10
15
|
Output:
|
11
16
|
```
|
@@ -171,56 +176,9 @@ Output:
|
|
171
176
|
"Current": 338834939.199999
|
172
177
|
}
|
173
178
|
]
|
174
|
-
},
|
175
|
-
{
|
176
|
-
"Time": "1673602380",
|
177
|
-
"BusinessMetrics": -1,
|
178
|
-
"SlotNetInfo": [
|
179
|
-
{
|
180
|
-
"NetInfoName": "eth0",
|
181
|
-
"PublicIP": "9.223.110.232",
|
182
|
-
"Current": -1
|
183
|
-
},
|
184
|
-
{
|
185
|
-
"NetInfoName": "eth1",
|
186
|
-
"PublicIP": "9.223.96.218",
|
187
|
-
"Current": -1
|
188
|
-
}
|
189
|
-
]
|
190
|
-
},
|
191
|
-
{
|
192
|
-
"Time": "1673602440",
|
193
|
-
"BusinessMetrics": -1,
|
194
|
-
"SlotNetInfo": [
|
195
|
-
{
|
196
|
-
"NetInfoName": "eth0",
|
197
|
-
"PublicIP": "9.223.110.232",
|
198
|
-
"Current": -1
|
199
|
-
},
|
200
|
-
{
|
201
|
-
"NetInfoName": "eth1",
|
202
|
-
"PublicIP": "9.223.96.218",
|
203
|
-
"Current": -1
|
204
|
-
}
|
205
|
-
]
|
206
|
-
},
|
207
|
-
{
|
208
|
-
"Time": "1673602500",
|
209
|
-
"BusinessMetrics": -1,
|
210
|
-
"SlotNetInfo": [
|
211
|
-
{
|
212
|
-
"NetInfoName": "eth0",
|
213
|
-
"PublicIP": "9.223.110.232",
|
214
|
-
"Current": -1
|
215
|
-
},
|
216
|
-
{
|
217
|
-
"NetInfoName": "eth1",
|
218
|
-
"PublicIP": "9.223.96.218",
|
219
|
-
"Current": -1
|
220
|
-
}
|
221
|
-
]
|
222
179
|
}
|
223
180
|
],
|
181
|
+
"AccessRegion": "MC",
|
224
182
|
"RequestId": "xxx"
|
225
183
|
}
|
226
184
|
}
|
@@ -7,16 +7,18 @@ Input:
|
|
7
7
|
```
|
8
8
|
tccli mna GetStatisticData --cli-unfold-argument \
|
9
9
|
--EndTime 1659514692 \
|
10
|
-
--DeviceId
|
10
|
+
--DeviceId mna-test1 \
|
11
11
|
--TimeGranularity 1 \
|
12
|
-
--BeginTime 1659513692
|
12
|
+
--BeginTime 1659513692 \
|
13
|
+
--AccessRegion MC \
|
14
|
+
--GatewayType 0
|
13
15
|
```
|
14
16
|
|
15
17
|
Output:
|
16
18
|
```
|
17
19
|
{
|
18
20
|
"Response": {
|
19
|
-
"RequestId": "
|
21
|
+
"RequestId": "test-req",
|
20
22
|
"FilePath": "http://geekyang-cos-1257943044.cos-internal.ap-guangzhou.tencentcos.cn/test/175527768616861696.xlsx"
|
21
23
|
}
|
22
24
|
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 创建缓存卷**
|
2
|
+
|
3
|
+
创建缓存卷。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli omics CreateVolume --cli-unfold-argument \
|
9
|
+
--EnvironmentId menv-ry46eloh \
|
10
|
+
--Name 测试缓存就 \
|
11
|
+
--Type SHARED \
|
12
|
+
--Spec HP \
|
13
|
+
--Capacity 0
|
14
|
+
```
|
15
|
+
|
16
|
+
Output:
|
17
|
+
```
|
18
|
+
{
|
19
|
+
"Response": {
|
20
|
+
"RequestId": "d79c957c-adca-4e29-81ba-1add68284e09",
|
21
|
+
"VolumeId": "vol-mpcb5xnl"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
**Example 1: 删除缓存卷**
|
2
|
+
|
3
|
+
删除缓存卷。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli omics DeleteVolume --cli-unfold-argument \
|
9
|
+
--VolumeId vol-mpcb5xnl
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"RequestId": "6b900d9e-26bc-4d91-83b8-f5ade6b3a594"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 删除缓存卷数据**
|
2
|
+
|
3
|
+
删除缓存卷数据。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli omics DeleteVolumeData --cli-unfold-argument \
|
9
|
+
--VolumeId vol-mpcb5xnl \
|
10
|
+
--Path /
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "ef303ee0-8b7b-48e1-9663-272df381e93a"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,37 @@
|
|
1
|
+
**Example 1: 查询缓存卷列表**
|
2
|
+
|
3
|
+
查询缓存卷列表。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli omics DescribeVolumes --cli-unfold-argument \
|
9
|
+
--EnvironmentId menv-ry46eloh
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"RequestId": "f5020059-1511-4f45-ab7e-5188a78bda4b",
|
17
|
+
"TotalCount": 1,
|
18
|
+
"Volumes": [
|
19
|
+
{
|
20
|
+
"BandwidthLimit": 380,
|
21
|
+
"Capacity": 32768,
|
22
|
+
"DefaultMountPath": "/vol-8w7rfq4b",
|
23
|
+
"Description": "",
|
24
|
+
"EnvironmentId": "menv-ry46eloh",
|
25
|
+
"IsDefault": true,
|
26
|
+
"Name": "默认缓存卷(menv-ry46eloh)",
|
27
|
+
"Spec": "HP",
|
28
|
+
"Status": "AVAILABLE",
|
29
|
+
"Type": "SHARED",
|
30
|
+
"Usage": 973150879744,
|
31
|
+
"VolumeId": "vol-8w7rfq4b"
|
32
|
+
}
|
33
|
+
]
|
34
|
+
}
|
35
|
+
}
|
36
|
+
```
|
37
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 修改缓存卷**
|
2
|
+
|
3
|
+
修改缓存卷。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli omics ModifyVolume --cli-unfold-argument \
|
9
|
+
--VolumeId vol-mpcb5xnl \
|
10
|
+
--Name 新名称
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "7ad01102-de15-43fb-8de3-02b0107cf08c"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|