tccli 3.0.1040.1__py2.py3-none-any.whl → 3.0.1042.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/cloudaudit/v20190319/DeleteAuditTrack.md +1 -1
- tccli/examples/cloudaudit/v20190319/DescribeAuditTrack.md +1 -1
- tccli/examples/cloudaudit/v20190319/DescribeAuditTracks.md +1 -1
- tccli/examples/cloudaudit/v20190319/DescribeEvents.md +2 -2
- tccli/examples/cloudaudit/v20190319/ModifyAuditTrack.md +1 -1
- tccli/examples/dts/v20211206/ConfigureSubscribeJob.md +36 -0
- tccli/examples/dts/v20211206/CreateConsumerGroup.md +24 -0
- tccli/examples/dts/v20211206/CreateSubscribe.md +28 -0
- tccli/examples/dts/v20211206/CreateSubscribeCheckJob.md +20 -0
- tccli/examples/dts/v20211206/DeleteConsumerGroup.md +22 -0
- tccli/examples/dts/v20211206/DescribeConsumerGroups.md +83 -0
- tccli/examples/dts/v20211206/DescribeOffsetByTime.md +39 -0
- tccli/examples/dts/v20211206/DescribeSubscribeCheckJob.md +78 -0
- tccli/examples/dts/v20211206/DescribeSubscribeDetail.md +67 -0
- tccli/examples/dts/v20211206/DescribeSubscribeJobs.md +52 -0
- tccli/examples/dts/v20211206/DescribeSubscribeReturnable.md +22 -0
- tccli/examples/dts/v20211206/DestroyIsolatedSubscribe.md +20 -0
- tccli/examples/dts/v20211206/IsolateSubscribe.md +20 -0
- tccli/examples/dts/v20211206/ModifyConsumerGroupDescription.md +23 -0
- tccli/examples/dts/v20211206/ModifyConsumerGroupPassword.md +24 -0
- tccli/examples/dts/v20211206/ModifySubscribeAutoRenewFlag.md +21 -0
- tccli/examples/dts/v20211206/ModifySubscribeName.md +21 -0
- tccli/examples/dts/v20211206/ModifySubscribeObjects.md +21 -0
- tccli/examples/dts/v20211206/ResetConsumerGroupOffset.md +25 -0
- tccli/examples/dts/v20211206/ResetSubscribe.md +20 -0
- tccli/examples/dts/v20211206/ResumeSubscribe.md +20 -0
- tccli/examples/dts/v20211206/StartSubscribe.md +20 -0
- tccli/examples/essbasic/v20210526/ChannelCreatePrepareFlow.md +56 -0
- tccli/examples/ocr/v20181119/VerifyOfdVatInvoiceOCR.md +6 -1
- tccli/services/car/v20220110/api.json +2 -2
- tccli/services/clb/v20180317/api.json +3 -1
- tccli/services/cloudaudit/v20190319/api.json +61 -27
- tccli/services/cloudaudit/v20190319/examples.json +6 -6
- tccli/services/cvm/v20170312/api.json +2 -2
- tccli/services/cynosdb/v20190107/api.json +118 -0
- tccli/services/dnspod/v20210323/api.json +10 -0
- tccli/services/dts/dts_client.py +1008 -160
- tccli/services/dts/v20211206/api.json +4354 -1796
- tccli/services/dts/v20211206/examples.json +176 -0
- tccli/services/ess/v20201111/api.json +12 -12
- tccli/services/essbasic/v20210526/api.json +3 -3
- tccli/services/essbasic/v20210526/examples.json +1 -1
- tccli/services/monitor/v20180724/api.json +13 -8
- tccli/services/ocr/v20181119/api.json +1 -1
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/rum/rum_client.py +12 -171
- tccli/services/rum/v20210622/api.json +0 -170
- tccli/services/rum/v20210622/examples.json +0 -24
- tccli/services/trtc/v20190722/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +1 -0
- {tccli-3.0.1040.1.dist-info → tccli-3.0.1042.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1040.1.dist-info → tccli-3.0.1042.1.dist-info}/RECORD +56 -34
- {tccli-3.0.1040.1.dist-info → tccli-3.0.1042.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1040.1.dist-info → tccli-3.0.1042.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1040.1.dist-info → tccli-3.0.1042.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,25 @@
|
|
1
|
+
**Example 1: 重置消费组offset**
|
2
|
+
|
3
|
+
将一个订阅任务的kafka offset重置到2023-05-16 00:00:00附近的checkpoint
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli dts ResetConsumerGroupOffset --cli-unfold-argument \
|
9
|
+
--ConsumerGroupName consumer-grp-subs-635ns8r71g-1 \
|
10
|
+
--PartitionNos 0 1 2 3 \
|
11
|
+
--ResetMode datetime \
|
12
|
+
--ResetDatetime 2023-05-16 00:00:00 \
|
13
|
+
--SubscribeId subs-635ns8r71g \
|
14
|
+
--TopicName account-subs-635ns8r71g-1
|
15
|
+
```
|
16
|
+
|
17
|
+
Output:
|
18
|
+
```
|
19
|
+
{
|
20
|
+
"Response": {
|
21
|
+
"RequestId": "20461920-b18e-11ec-ae1a-cfe224f4f21f"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
```
|
25
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
**Example 1: 重置数据订阅任务**
|
2
|
+
|
3
|
+
重置数据订阅任务
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli dts ResetSubscribe --cli-unfold-argument \
|
9
|
+
--SubscribeId subs-ieuwi83j2e
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"RequestId": "14a719b5-ffb34ab6-816c43c1-8c6a23eb"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
**Example 1: 恢复订阅任务**
|
2
|
+
|
3
|
+
通过重启尝试恢复一个报错的任务
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli dts ResumeSubscribe --cli-unfold-argument \
|
9
|
+
--SubscribeId subs-9jyki7hniw
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"RequestId": "b048a800-f2fe-11ed-a211-5df19a912eab"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
**Example 1: 开启数据订阅任务**
|
2
|
+
|
3
|
+
开启数据订阅任务
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli dts StartSubscribe --cli-unfold-argument \
|
9
|
+
--SubscribeId subs-635ns8r71g
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"RequestId": "da826d80-f2fa-11ed-9136-c7bfacc9cf90"
|
17
|
+
}
|
18
|
+
}
|
19
|
+
```
|
20
|
+
|
@@ -1,3 +1,59 @@
|
|
1
|
+
**Example 1: 文件发起-跳过文件上传**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli essbasic ChannelCreatePrepareFlow --cli-unfold-argument \
|
9
|
+
--Agent.ProxyOperator.OpenId 5d18c1c4c8926cd11 \
|
10
|
+
--Agent.ProxyOrganizationOpenId 572c69xxxxxx245e4 \
|
11
|
+
--Agent.AppId yDRsbUUgxxxx7ZfBvipOMJ \
|
12
|
+
--ResourceId yDwqFUUckp3em41rUwWPgIBjsYgG5bba \
|
13
|
+
--ResourceType 2 \
|
14
|
+
--FlowInfo.FlowName 第三方预发起合同-跳过文件上传 \
|
15
|
+
--FlowInfo.FlowType 第三方嵌入式文件发起合同 \
|
16
|
+
--FlowInfo.FlowDescription \
|
17
|
+
--FlowInfo.Deadline 0 \
|
18
|
+
--FlowInfo.Unordered False \
|
19
|
+
--FlowInfo.IntelligentStatus CLOSE \
|
20
|
+
--FlowInfo.NeedCreateReview False \
|
21
|
+
--FlowInfo.NeedSignReview False \
|
22
|
+
--FlowInfo.UserData \
|
23
|
+
--FlowOption.CanEditFlow True \
|
24
|
+
--FlowOption.HideShowFlowName False \
|
25
|
+
--FlowOption.HideShowFlowType False \
|
26
|
+
--FlowOption.HideShowDeadline False \
|
27
|
+
--FlowOption.ForbidEditFillComponent False \
|
28
|
+
--FlowOption.CustomCreateFlowDescription \
|
29
|
+
--FlowApproverList.0.ApproverType 0 \
|
30
|
+
--FlowApproverList.0.NotChannelOrganization False \
|
31
|
+
--FlowApproverList.0.OrganizationOpenId org_dianziqian \
|
32
|
+
--FlowApproverList.0.OrganizationName 典子谦示例企业 \
|
33
|
+
--FlowApproverList.0.OpenId n131517 \
|
34
|
+
--FlowApproverList.0.ApproverOption.CanEditApprover True \
|
35
|
+
--FlowApproverList.0.IsFullText True \
|
36
|
+
--FlowApproverList.0.PreReadTime 0 \
|
37
|
+
--FlowApproverList.1.ApproverType 1 \
|
38
|
+
--FlowApproverList.1.ApproverIdCardType \
|
39
|
+
--FlowApproverList.1.ApproverName 里斯 \
|
40
|
+
--FlowApproverList.1.NotChannelOrganization False \
|
41
|
+
--FlowApproverList.1.ApproverMobile 13312312312 \
|
42
|
+
--FlowApproverList.1.IsFullText True \
|
43
|
+
--FlowApproverList.1.PreReadTime 0
|
44
|
+
```
|
45
|
+
|
46
|
+
Output:
|
47
|
+
```
|
48
|
+
{
|
49
|
+
"Response": {
|
50
|
+
"PrepareFlowUrl": "https://embed.beta.qian.tencent.cn/contract-create?embed=1&expiredOn=1700819911&code=yDSL6UUQEjIKK&businessId=yDSL6U3iY7&channel=PROXYCHANNEL&operateSource=byTemplate&themeId=channel_web_theme_yDwi3UAR2Yb",
|
51
|
+
"PreviewFlowUrl": "",
|
52
|
+
"RequestId": "c52aaa17-3f81-4640-be03-fca0a553d2e3"
|
53
|
+
}
|
54
|
+
}
|
55
|
+
```
|
56
|
+
|
1
57
|
**Example 2: 创建发起合同签署链接-模板发起**
|
2
58
|
|
3
59
|
创建发起合同签署链接, 提前定义两个签署人, 分别是 B端渠道子客企业的员工和C端为张三这个自然人
|
@@ -76,6 +76,7 @@ Output:
|
|
76
76
|
"PassengerName": "abc",
|
77
77
|
"ValidIdNumber": "abc",
|
78
78
|
"Endorsement": "abc",
|
79
|
+
"NumberOfGPOrder": "abc",
|
79
80
|
"ElectronicInvoiceAirTransportReceiptNumber": "abc",
|
80
81
|
"DetailInformationOfAirTicketTuple": [
|
81
82
|
{
|
@@ -84,6 +85,7 @@ Output:
|
|
84
85
|
"FlightSegment": "abc",
|
85
86
|
"Carrier": "abc",
|
86
87
|
"Flight": "abc",
|
88
|
+
"SeatClass": "abc",
|
87
89
|
"CarrierDate": "abc",
|
88
90
|
"DepartureTime": "abc",
|
89
91
|
"FareBasis": "abc",
|
@@ -99,6 +101,7 @@ Output:
|
|
99
101
|
"CivilAviationDevelopmentFund": "abc",
|
100
102
|
"OtherTaxes": "abc",
|
101
103
|
"TotalAmount": "abc",
|
104
|
+
"ElectronicTicketNum": "abc",
|
102
105
|
"VerificationCode": "abc",
|
103
106
|
"PromptInformation": "abc",
|
104
107
|
"Insurance": "abc",
|
@@ -113,6 +116,7 @@ Output:
|
|
113
116
|
},
|
114
117
|
"RailwayTicketInfo": {
|
115
118
|
"TypeOfVoucher": "abc",
|
119
|
+
"ElectronicTicketNum": "abc",
|
116
120
|
"DateOfIssue": "abc",
|
117
121
|
"TypeOfBusiness": "abc",
|
118
122
|
"DepartureStation": "abc",
|
@@ -134,7 +138,8 @@ Output:
|
|
134
138
|
"TaxRate": "abc",
|
135
139
|
"TaxAmount": "abc",
|
136
140
|
"NameOfPurchaser": "abc",
|
137
|
-
"UnifiedSocialCreditCodeOfPurchaser": "abc"
|
141
|
+
"UnifiedSocialCreditCodeOfPurchaser": "abc",
|
142
|
+
"NumberOfOriginalInvoice": "abc"
|
138
143
|
}
|
139
144
|
}
|
140
145
|
}
|
@@ -22,14 +22,14 @@
|
|
22
22
|
"status": "online"
|
23
23
|
},
|
24
24
|
"StartPublishStream": {
|
25
|
-
"document": "
|
25
|
+
"document": "开始云端推流。云端推流 codec 根据客户端(SDK)能力来自动选择,默认优先顺序为 H265、H264、VP8、VP9。",
|
26
26
|
"input": "StartPublishStreamRequest",
|
27
27
|
"name": "开始云端推流",
|
28
28
|
"output": "StartPublishStreamResponse",
|
29
29
|
"status": "online"
|
30
30
|
},
|
31
31
|
"StartPublishStreamWithURL": {
|
32
|
-
"document": "开始云端推流到指定URL。该推流方式需要单独计费,详细计费方式请查看[指定地址推流费用说明](https://cloud.tencent.com/document/product/1547/72168#98ac188a-d122-4caf-88be-05268ecefdf6)",
|
32
|
+
"document": "开始云端推流到指定URL。云端推流 codec 根据客户端(SDK)能力来自动选择,默认优先顺序为 H265、H264、VP8、VP9。该推流方式需要单独计费,详细计费方式请查看[指定地址推流费用说明](https://cloud.tencent.com/document/product/1547/72168#98ac188a-d122-4caf-88be-05268ecefdf6)",
|
33
33
|
"input": "StartPublishStreamWithURLRequest",
|
34
34
|
"name": "开始云端推流到指定URL",
|
35
35
|
"output": "StartPublishStreamWithURLResponse",
|
@@ -241,7 +241,7 @@
|
|
241
241
|
"DescribeCustomizedConfigAssociateList": {
|
242
242
|
"document": "拉取配置绑定的 server 或 location,如果 domain 存在,结果将根据 domain 过滤。或拉取配置绑定的 loadbalancer。",
|
243
243
|
"input": "DescribeCustomizedConfigAssociateListRequest",
|
244
|
-
"name": "拉取配置绑定的server或location
|
244
|
+
"name": "拉取配置绑定的server或location",
|
245
245
|
"output": "DescribeCustomizedConfigAssociateListResponse",
|
246
246
|
"status": "online"
|
247
247
|
},
|
@@ -4371,6 +4371,7 @@
|
|
4371
4371
|
"example": "无",
|
4372
4372
|
"member": "BindDetailItem",
|
4373
4373
|
"name": "BindList",
|
4374
|
+
"output_required": true,
|
4374
4375
|
"type": "list",
|
4375
4376
|
"value_allowed_null": false
|
4376
4377
|
},
|
@@ -4380,6 +4381,7 @@
|
|
4380
4381
|
"example": "1",
|
4381
4382
|
"member": "int64",
|
4382
4383
|
"name": "TotalCount",
|
4384
|
+
"output_required": true,
|
4383
4385
|
"type": "int",
|
4384
4386
|
"value_allowed_null": false
|
4385
4387
|
},
|
@@ -8,9 +8,9 @@
|
|
8
8
|
"status": "online"
|
9
9
|
},
|
10
10
|
"CreateAuditTrack": {
|
11
|
-
"document": "
|
11
|
+
"document": "创建操作审计跟踪集",
|
12
12
|
"input": "CreateAuditTrackRequest",
|
13
|
-
"name": "
|
13
|
+
"name": "创建操作审计跟踪集",
|
14
14
|
"output": "CreateAuditTrackResponse",
|
15
15
|
"status": "online"
|
16
16
|
},
|
@@ -22,9 +22,9 @@
|
|
22
22
|
"status": "online"
|
23
23
|
},
|
24
24
|
"DeleteAuditTrack": {
|
25
|
-
"document": "
|
25
|
+
"document": "删除操作审计跟踪集",
|
26
26
|
"input": "DeleteAuditTrackRequest",
|
27
|
-
"name": "
|
27
|
+
"name": "删除操作审计跟踪集",
|
28
28
|
"output": "DeleteAuditTrackResponse",
|
29
29
|
"status": "online"
|
30
30
|
},
|
@@ -36,23 +36,23 @@
|
|
36
36
|
"status": "online"
|
37
37
|
},
|
38
38
|
"DescribeAuditTrack": {
|
39
|
-
"document": "
|
39
|
+
"document": "查询操作审计跟踪集详情",
|
40
40
|
"input": "DescribeAuditTrackRequest",
|
41
|
-
"name": "
|
41
|
+
"name": "查询操作审计跟踪集详情",
|
42
42
|
"output": "DescribeAuditTrackResponse",
|
43
43
|
"status": "online"
|
44
44
|
},
|
45
45
|
"DescribeAuditTracks": {
|
46
|
-
"document": "
|
46
|
+
"document": "查询操作审计跟踪集列表",
|
47
47
|
"input": "DescribeAuditTracksRequest",
|
48
|
-
"name": "
|
48
|
+
"name": "查询操作审计跟踪集列表",
|
49
49
|
"output": "DescribeAuditTracksResponse",
|
50
50
|
"status": "online"
|
51
51
|
},
|
52
52
|
"DescribeEvents": {
|
53
|
-
"document": "
|
53
|
+
"document": "查询操作审计日志",
|
54
54
|
"input": "DescribeEventsRequest",
|
55
|
-
"name": "
|
55
|
+
"name": "查询操作审计日志",
|
56
56
|
"output": "DescribeEventsResponse",
|
57
57
|
"status": "online"
|
58
58
|
},
|
@@ -106,9 +106,9 @@
|
|
106
106
|
"status": "online"
|
107
107
|
},
|
108
108
|
"ModifyAuditTrack": {
|
109
|
-
"document": "
|
109
|
+
"document": "修改操作审计跟踪集",
|
110
110
|
"input": "ModifyAuditTrackRequest",
|
111
|
-
"name": "
|
111
|
+
"name": "修改操作审计跟踪集",
|
112
112
|
"output": "ModifyAuditTrackResponse",
|
113
113
|
"status": "online"
|
114
114
|
},
|
@@ -518,7 +518,7 @@
|
|
518
518
|
"example": "1",
|
519
519
|
"member": "uint64",
|
520
520
|
"name": "TrackId",
|
521
|
-
"
|
521
|
+
"output_required": true,
|
522
522
|
"type": "int",
|
523
523
|
"value_allowed_null": false
|
524
524
|
},
|
@@ -773,10 +773,10 @@
|
|
773
773
|
{
|
774
774
|
"disabled": false,
|
775
775
|
"document": "跟踪集名称",
|
776
|
-
"example": "
|
776
|
+
"example": "操作审计",
|
777
777
|
"member": "string",
|
778
778
|
"name": "Name",
|
779
|
-
"
|
779
|
+
"output_required": true,
|
780
780
|
"type": "string",
|
781
781
|
"value_allowed_null": false
|
782
782
|
},
|
@@ -786,7 +786,7 @@
|
|
786
786
|
"example": "Read",
|
787
787
|
"member": "string",
|
788
788
|
"name": "ActionType",
|
789
|
-
"
|
789
|
+
"output_required": true,
|
790
790
|
"type": "string",
|
791
791
|
"value_allowed_null": false
|
792
792
|
},
|
@@ -796,7 +796,7 @@
|
|
796
796
|
"example": "*",
|
797
797
|
"member": "string",
|
798
798
|
"name": "ResourceType",
|
799
|
-
"
|
799
|
+
"output_required": true,
|
800
800
|
"type": "string",
|
801
801
|
"value_allowed_null": false
|
802
802
|
},
|
@@ -806,7 +806,7 @@
|
|
806
806
|
"example": "1",
|
807
807
|
"member": "uint64",
|
808
808
|
"name": "Status",
|
809
|
-
"
|
809
|
+
"output_required": true,
|
810
810
|
"type": "int",
|
811
811
|
"value_allowed_null": false
|
812
812
|
},
|
@@ -816,7 +816,7 @@
|
|
816
816
|
"example": "1",
|
817
817
|
"member": "string",
|
818
818
|
"name": "EventNames",
|
819
|
-
"
|
819
|
+
"output_required": true,
|
820
820
|
"type": "list",
|
821
821
|
"value_allowed_null": false
|
822
822
|
},
|
@@ -826,7 +826,7 @@
|
|
826
826
|
"example": "cos",
|
827
827
|
"member": "Storage",
|
828
828
|
"name": "Storage",
|
829
|
-
"
|
829
|
+
"output_required": true,
|
830
830
|
"type": "object",
|
831
831
|
"value_allowed_null": false
|
832
832
|
},
|
@@ -836,7 +836,7 @@
|
|
836
836
|
"example": "2021-02-01 18:03",
|
837
837
|
"member": "string",
|
838
838
|
"name": "CreateTime",
|
839
|
-
"
|
839
|
+
"output_required": true,
|
840
840
|
"type": "string",
|
841
841
|
"value_allowed_null": false
|
842
842
|
},
|
@@ -846,7 +846,7 @@
|
|
846
846
|
"example": "1",
|
847
847
|
"member": "uint64",
|
848
848
|
"name": "TrackForAllMembers",
|
849
|
-
"
|
849
|
+
"output_required": true,
|
850
850
|
"type": "int",
|
851
851
|
"value_allowed_null": true
|
852
852
|
},
|
@@ -892,6 +892,7 @@
|
|
892
892
|
"example": "*",
|
893
893
|
"member": "Tracks",
|
894
894
|
"name": "Tracks",
|
895
|
+
"output_required": true,
|
895
896
|
"type": "list",
|
896
897
|
"value_allowed_null": false
|
897
898
|
},
|
@@ -901,6 +902,7 @@
|
|
901
902
|
"example": "10",
|
902
903
|
"member": "uint64",
|
903
904
|
"name": "TotalCount",
|
905
|
+
"output_required": true,
|
904
906
|
"type": "int",
|
905
907
|
"value_allowed_null": false
|
906
908
|
},
|
@@ -954,7 +956,7 @@
|
|
954
956
|
},
|
955
957
|
{
|
956
958
|
"disabled": false,
|
957
|
-
"document": "检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{\"key\":\"*\",\"value\":\"*\"}])备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)",
|
959
|
+
"document": "检索条件(目前支持 RequestId:请求 ID、EventName:事件名称、ActionType:操作类型(Write:写;Read:读)、PrincipalId:子账号、ResourceType:资源类型、ResourceId:资源Id、ResourceName:资源名称、AccessKeyId:密钥 ID、SensitiveAction:是否敏感操作、ApiErrorCode:API 错误码、CamErrorCode:CAM 错误码、Tags:标签(AttributeValue格式:[{\"key\":\"*\",\"value\":\"*\"}])备注:检索的各个条件间是与的关系,EventName传多个值内部是或的关系)",
|
958
960
|
"example": "[{\"AttributeKey:XX,\"AttributeValue\":xx}]",
|
959
961
|
"member": "LookupAttribute",
|
960
962
|
"name": "LookupAttributes",
|
@@ -982,6 +984,7 @@
|
|
982
984
|
"example": "false",
|
983
985
|
"member": "bool",
|
984
986
|
"name": "ListOver",
|
987
|
+
"output_required": true,
|
985
988
|
"type": "bool",
|
986
989
|
"value_allowed_null": false
|
987
990
|
},
|
@@ -991,6 +994,7 @@
|
|
991
994
|
"example": "123123213",
|
992
995
|
"member": "uint64",
|
993
996
|
"name": "NextToken",
|
997
|
+
"output_required": true,
|
994
998
|
"type": "int",
|
995
999
|
"value_allowed_null": false
|
996
1000
|
},
|
@@ -1000,6 +1004,7 @@
|
|
1000
1004
|
"example": "*",
|
1001
1005
|
"member": "Event",
|
1002
1006
|
"name": "Events",
|
1007
|
+
"output_required": true,
|
1003
1008
|
"type": "list",
|
1004
1009
|
"value_allowed_null": true
|
1005
1010
|
},
|
@@ -1009,6 +1014,7 @@
|
|
1009
1014
|
"example": "1",
|
1010
1015
|
"member": "uint64",
|
1011
1016
|
"name": "TotalCount",
|
1017
|
+
"output_required": true,
|
1012
1018
|
"type": "int",
|
1013
1019
|
"value_allowed_null": true
|
1014
1020
|
},
|
@@ -1676,26 +1682,28 @@
|
|
1676
1682
|
"members": [
|
1677
1683
|
{
|
1678
1684
|
"disabled": false,
|
1679
|
-
"document": "
|
1685
|
+
"document": "资源类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
1680
1686
|
"example": "xx",
|
1681
1687
|
"member": "string",
|
1682
1688
|
"name": "ResourceType",
|
1689
|
+
"output_required": false,
|
1683
1690
|
"required": false,
|
1684
1691
|
"type": "string",
|
1685
|
-
"value_allowed_null":
|
1692
|
+
"value_allowed_null": true
|
1686
1693
|
},
|
1687
1694
|
{
|
1688
1695
|
"disabled": false,
|
1689
|
-
"document": "
|
1696
|
+
"document": "资源名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
1690
1697
|
"example": "xx",
|
1691
1698
|
"member": "string",
|
1692
1699
|
"name": "ResourceName",
|
1700
|
+
"output_required": false,
|
1693
1701
|
"required": false,
|
1694
1702
|
"type": "string",
|
1695
1703
|
"value_allowed_null": true
|
1696
1704
|
}
|
1697
1705
|
],
|
1698
|
-
"usage": "
|
1706
|
+
"usage": "both"
|
1699
1707
|
},
|
1700
1708
|
"StartLoggingRequest": {
|
1701
1709
|
"document": "StartLogging请求参数结构体",
|
@@ -1780,6 +1788,7 @@
|
|
1780
1788
|
"example": "cos",
|
1781
1789
|
"member": "string",
|
1782
1790
|
"name": "StorageType",
|
1791
|
+
"output_required": true,
|
1783
1792
|
"required": true,
|
1784
1793
|
"type": "string",
|
1785
1794
|
"value_allowed_null": false
|
@@ -1790,6 +1799,7 @@
|
|
1790
1799
|
"example": "ap-shanghai",
|
1791
1800
|
"member": "string",
|
1792
1801
|
"name": "StorageRegion",
|
1802
|
+
"output_required": true,
|
1793
1803
|
"required": true,
|
1794
1804
|
"type": "string",
|
1795
1805
|
"value_allowed_null": false
|
@@ -1800,6 +1810,7 @@
|
|
1800
1810
|
"example": "audit",
|
1801
1811
|
"member": "string",
|
1802
1812
|
"name": "StorageName",
|
1813
|
+
"output_required": true,
|
1803
1814
|
"required": true,
|
1804
1815
|
"type": "string",
|
1805
1816
|
"value_allowed_null": false
|
@@ -1810,9 +1821,32 @@
|
|
1810
1821
|
"example": "audit",
|
1811
1822
|
"member": "string",
|
1812
1823
|
"name": "StoragePrefix",
|
1824
|
+
"output_required": true,
|
1813
1825
|
"required": true,
|
1814
1826
|
"type": "string",
|
1815
1827
|
"value_allowed_null": false
|
1828
|
+
},
|
1829
|
+
{
|
1830
|
+
"disabled": false,
|
1831
|
+
"document": "被指定存储用户ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
1832
|
+
"example": "无",
|
1833
|
+
"member": "string",
|
1834
|
+
"name": "StorageAccountId",
|
1835
|
+
"output_required": false,
|
1836
|
+
"required": false,
|
1837
|
+
"type": "string",
|
1838
|
+
"value_allowed_null": true
|
1839
|
+
},
|
1840
|
+
{
|
1841
|
+
"disabled": false,
|
1842
|
+
"document": "被指定存储用户appid\n注意:此字段可能返回 null,表示取不到有效值。",
|
1843
|
+
"example": "无",
|
1844
|
+
"member": "string",
|
1845
|
+
"name": "StorageAppId",
|
1846
|
+
"output_required": false,
|
1847
|
+
"required": false,
|
1848
|
+
"type": "string",
|
1849
|
+
"value_allowed_null": true
|
1816
1850
|
}
|
1817
1851
|
],
|
1818
1852
|
"usage": "both"
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"document": "",
|
30
30
|
"input": "POST / HTTP/1.1\nHost: cloudaudit.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAuditTrack\n<公共请求参数>\n\n{\n \"TrackId\": 1\n}",
|
31
31
|
"output": "{\n \"Response\": {\n \"RequestId\": \"2d4a7fba-bba8-452e-a99e-ccf11fdaa583\"\n }\n}",
|
32
|
-
"title": "
|
32
|
+
"title": "删除操作审计跟踪集"
|
33
33
|
}
|
34
34
|
],
|
35
35
|
"DescribeAudit": [
|
@@ -45,7 +45,7 @@
|
|
45
45
|
"document": "",
|
46
46
|
"input": "POST / HTTP/1.1\nHost: cloudaudit.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuditTrack\n<公共请求参数>\n\n{\n \"TrackId\": 1\n}",
|
47
47
|
"output": "{\n \"Response\": {\n \"Name\": \"audit\",\n \"ActionType\": \"Read\",\n \"ResourceType\": \"audit\",\n \"EventNames\": [\n \"LookUpEvents\"\n ],\n \"Storage\": {\n \"StorageName\": \"audit-cos\",\n \"StoragePrefix\": \"test\",\n \"StorageRegion\": \"ap-guangzhou\",\n \"StorageType\": \"cos\"\n },\n \"TrackForAllMembers\": 1,\n \"Status\": 1,\n \"CreateTime\": \"2021-01-14 14:43:38\",\n \"RequestId\": \"2d4a7fba-bba8-452e-a99e-ccf11fdaa583\"\n }\n}",
|
48
|
-
"title": "
|
48
|
+
"title": "查询操作审计跟踪集详情"
|
49
49
|
}
|
50
50
|
],
|
51
51
|
"DescribeAuditTracks": [
|
@@ -53,15 +53,15 @@
|
|
53
53
|
"document": "在控制台或者使用接口,查看已经创建的跟踪集列表",
|
54
54
|
"input": "POST / HTTP/1.1\nHost: cloudaudit.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAuditTracks\n<公共请求参数>\n\n{\n \"PageNumber\": 1,\n \"PageSize\": 10\n}",
|
55
55
|
"output": "{\n \"Response\": {\n \"Tracks\": [\n {\n \"TrackId\": 1,\n \"Name\": \"audit\",\n \"ActionType\": \"Read\",\n \"ResourceType\": \"audit\",\n \"EventNames\": [\n \"LookUpEvents\"\n ],\n \"Storage\": {\n \"StorageName\": \"audit-cos\",\n \"StoragePrefix\": \"test\",\n \"StorageRegion\": \"ap-guangzhou\",\n \"StorageType\": \"cos\"\n },\n \"Status\": 1,\n \"CreateTime\": \"2021-01-14 14:43:38\"\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"2d4a7fba-bba8-452e-a99e-ccf11fdaa583\"\n }\n}",
|
56
|
-
"title": "
|
56
|
+
"title": "查询操作审计跟踪集列表"
|
57
57
|
}
|
58
58
|
],
|
59
59
|
"DescribeEvents": [
|
60
60
|
{
|
61
|
-
"document": "
|
61
|
+
"document": "查询操作审计日志",
|
62
62
|
"input": "POST / HTTP/1.1\nHost: cloudaudit.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeEvents\n<公共请求参数>\n\n{\n \"StartTime\": 1610613170,\n \"EndTime\": 1610699570,\n \"MaxResults\": 1\n}",
|
63
63
|
"output": "{\n \"Response\": {\n \"ListOver\": true,\n \"Events\": [\n {\n \"CloudAuditEvent\": \"{\\\"userIdentity\\\":{\\\"principalId\\\":\\\"1000000000\\\",\\\"accountId\\\":\\\"1000000000\\\",\\\"secretId\\\":\\\"xxx\\\",\\\"sessionContext\\\":\\\"{\\\\\\\"token\\\\\\\": \\\\\\\"xxx--Jqr7dXvw3EBEXWNcJljzbZeJeoIrQx9gafWtHV1Lg9zu7hSpY91LAF414n21D41bpodncbz8u12C-xxx\\\\\\\", \\\\\\\"ua\\\\\\\": \\\\\\\"xxx\\\\\\\", \\\\\\\"userIp\\\\\\\": \\\\\\\"111.111.11.111\\\\\\\", \\\\\\\"uin\\\\\\\": 1000000000, \\\\\\\"ownerUin\\\\\\\": 1000000000, \\\\\\\"appId\\\\\\\": 1256196555, \\\\\\\"expireTime\\\\\\\": \\\\\\\"2023-04-03 19:23:29\\\\\\\", \\\\\\\"mfa\\\\\\\": 1, \\\\\\\"mfaExpireTime\\\\\\\": \\\\\\\"0000-00-00 00:00:00\\\\\\\", \\\\\\\"interfaceName\\\\\\\": \\\\\\\"\\\\\\\", \\\\\\\"hasPolicyFilter\\\\\\\": 0, \\\\\\\"policyFilter\\\\\\\": \\\\\\\"\\\\\\\", \\\\\\\"extraInfo\\\\\\\": \\\\\\\"{\\\\\\\\\\\\\\\"dictId\\\\\\\\\\\\\\\":2208,\\\\\\\\\\\\\\\"mfaExpireTime\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"3000-12-12 00:00:00\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"sessionUin\\\\\\\\\\\\\\\":5000}\\\\\\\"}\\\",\\\"type\\\":\\\"Root\\\",\\\"userName\\\":\\\"root\\\"},\\\"eventRegion\\\":\\\"ap-guangzhou\\\",\\\"eventVersion\\\":2,\\\"errorCode\\\":\\\"0\\\",\\\"errorMessage\\\":\\\"\\\",\\\"requestID\\\":\\\"008ef803-4549-41fe-a7e6-433122273683\\\",\\\"eventID\\\":\\\"008ef803-4549-41fe-a7e6-433122273683\\\",\\\"apiVersion\\\":\\\"3.0\\\",\\\"eventType\\\":\\\"ConsoleCall\\\",\\\"actionType\\\":\\\"Write\\\",\\\"httpMethod\\\":\\\"POST\\\",\\\"apiErrorCode\\\":0,\\\"apiErrorMessage\\\":\\\"\\\",\\\"userAgent\\\":\\\"SDK_NODEJS_0.2.1\\\",\\\"eventTime\\\":1680513809,\\\"sourceIPAddress\\\":\\\"111.111.111.111\\\",\\\"eventSource\\\":\\\"cloudaudit.ap-guangzhou.api.tencentyun.com\\\",\\\"resources\\\":\\\"[\\\\\\\"*\\\\\\\"]\\\",\\\"resourceName\\\":\\\"\\\",\\\"resourceSet\\\":[],\\\"requestParameters\\\":\\\"{\\\\\\\"ActionType\\\\\\\":\\\\\\\"Write\\\\\\\",\\\\\\\"EventNames\\\\\\\":[\\\\\\\"*\\\\\\\"],\\\\\\\"Name\\\\\\\":\\\\\\\"qweqwe\\\\\\\",\\\\\\\"ResourceType\\\\\\\":\\\\\\\"*\\\\\\\",\\\\\\\"Status\\\\\\\":1,\\\\\\\"Storage\\\\\\\":{\\\\\\\"StorageName\\\\\\\":\\\\\\\"d0f00ec9-5643-4a11-9022-187621d38714\\\\\\\",\\\\\\\"StoragePrefix\\\\\\\":\\\\\\\"cloudaudit\\\\\\\",\\\\\\\"StorageRegion\\\\\\\":\\\\\\\"ap-guangzhou\\\\\\\",\\\\\\\"StorageType\\\\\\\":\\\\\\\"cls\\\\\\\"},\\\\\\\"Version\\\\\\\":\\\\\\\"2019-03-19\\\\\\\"}\\\",\\\"responseElements\\\":\\\"{\\\\\\\"TrackId\\\\\\\":21915,\\\\\\\"RequestId\\\\\\\":\\\\\\\"008ef803-4549-41fe-a7e6-433122273683\\\\\\\"}\\\",\\\"resourceType\\\":\\\"cloudaudit\\\",\\\"eventName\\\":\\\"CreateAuditTrack\\\",\\\"sensitiveAction\\\":\\\"1\\\",\\\"tags\\\":[\\\"\\\"]}\",\n \"EventName\": \"CreateAuditTrack\",\n \"EventTime\": \"1680513809\",\n \"SecretId\": \"xxxxxxx\",\n \"ErrorCode\": 0,\n \"RequestID\": \"008ef803-4549-41fe-a7e6-433122273683\",\n \"SourceIPAddress\": \"111.111.111.111\",\n \"EventSource\": \"cloudaudit.ap-guangzhou.api.tencentyun.com\",\n \"EventRegion\": \"ap-guangzhou\",\n \"Resources\": {\n \"ResourceName\": \"\",\n \"ResourceType\": \"cloudaudit\"\n },\n \"Username\": \"root\",\n \"AccountID\": 100004293724,\n \"Location\": \"中国 广东省 深圳市 中国电信\",\n \"ResourceTypeCn\": \"云审计\",\n \"EventNameCn\": \"创建云审计跟踪集\",\n \"ResourceRegion\": \"\"\n }\n ],\n \"TotalCount\": 1,\n \"NextToken\": 16805138109322956,\n \"RequestId\": \"42a0e189-2869-488f-aa34-8bffd0814322\"\n }\n}",
|
64
|
-
"title": "
|
64
|
+
"title": "查询操作审计日志"
|
65
65
|
}
|
66
66
|
],
|
67
67
|
"GetAttributeKey": [
|
@@ -125,7 +125,7 @@
|
|
125
125
|
"document": "",
|
126
126
|
"input": "POST / HTTP/1.1\nHost: cloudaudit.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAuditTrack\n<公共请求参数>\n\n{\n \"TrackId\": 1,\n \"Name\": \"audit\",\n \"ActionType\": \"Read\",\n \"ResourceType\": \"audit\",\n \"Status\": 0,\n \"TrackForAllMembers\": 1,\n \"EventNames\": [\n \"LookUpEvents\",\n \"DeleteAudit\"\n ],\n \"Storage\": {\n \"StorageType\": \"cos\",\n \"StorageRegion\": \"ap-guangzhou\",\n \"StorageName\": \"audit-cos\",\n \"StoragePrefix\": \"test\"\n }\n}",
|
127
127
|
"output": "{\n \"Response\": {\n \"RequestId\": \"2d4a7fba-bba8-452e-a99e-ccf11fdaa583\"\n }\n}",
|
128
|
-
"title": "
|
128
|
+
"title": "修改操作审计跟踪"
|
129
129
|
}
|
130
130
|
],
|
131
131
|
"StartLogging": [
|
@@ -10304,7 +10304,7 @@
|
|
10304
10304
|
},
|
10305
10305
|
{
|
10306
10306
|
"disabled": false,
|
10307
|
-
"document": "
|
10307
|
+
"document": "增强服务。通过该参数可以指定是否开启云安全、云监控等服务。若不指定该参数,则默认公共镜像开启云监控、云安全服务;自定义镜像与镜像市场镜像默认不开启云监控,云安全服务,而使用镜像里保留的服务。",
|
10308
10308
|
"example": "无",
|
10309
10309
|
"member": "EnhancedService",
|
10310
10310
|
"name": "EnhancedService",
|
@@ -10313,7 +10313,7 @@
|
|
10313
10313
|
},
|
10314
10314
|
{
|
10315
10315
|
"disabled": false,
|
10316
|
-
"document": "重装系统时,可以指定修改实例的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName
|
10316
|
+
"document": "重装系统时,可以指定修改实例的主机名。<br><li>点号(.)和短横线(-)不能作为 HostName 的首尾字符,不能连续使用。</li><br><li>Windows 实例:主机名字符长度为[2, 15],允许字母(不限制大小写)、数字和短横线(-)组成,不支持点号(.),不能全是数字。</li><br><li>其他类型(Linux 等)实例:主机名字符长度为[2, 60],允许支持多个点号,点之间为一段,每段允许字母(不限制大小写)、数字和短横线(-)组成。</li>",
|
10317
10317
|
"example": "myHost",
|
10318
10318
|
"member": "string",
|
10319
10319
|
"name": "HostName",
|