Skip to content

Commit d937ee7

Browse files
committed
add
1 parent 76cbca7 commit d937ee7

File tree

4 files changed

+14
-21
lines changed

4 files changed

+14
-21
lines changed

tencentcloud/services/audit/resource_tc_events_audit_track.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tencentcloud/services/audit/service_tencentcloud_audit.go

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,18 @@ func NewAuditService(client *connectivity.TencentCloudClient) AuditService {
2121
return AuditService{client: client}
2222
}
2323

24+
func NewCloudauditService(client *connectivity.TencentCloudClient) CloudauditService {
25+
return CloudauditService{client: client}
26+
}
27+
2428
type AuditService struct {
2529
client *connectivity.TencentCloudClient
2630
}
2731

32+
type CloudauditService struct {
33+
client *connectivity.TencentCloudClient
34+
}
35+
2836
func (me *AuditService) DescribeAuditById(ctx context.Context, name string) (auditInfo *audit.DescribeAuditResponse, has bool, errRet error) {
2937
logId := tccommon.GetLogId(ctx)
3038
request := audit.NewDescribeAuditRequest()
@@ -251,7 +259,3 @@ func (me *CloudauditService) DescribeEventsAuditTrackById(ctx context.Context, t
251259
ret = response.Response
252260
return
253261
}
254-
255-
func NewCloudauditService(client *connectivity.TencentCloudClient) CloudauditService {
256-
return CloudauditService{client: client}
257-
}

tencentcloud/services/audit/tencentcloud_sweeper_test.go

Lines changed: 0 additions & 11 deletions
This file was deleted.

website/docs/r/events_audit_track.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ resource "tencentcloud_events_audit_track" "example" {
3232
resource_type = "cam"
3333
action_type = "*"
3434
event_names = ["AddSubAccount", "AddSubAccountCheckingMFA"]
35-
} c ' le '
35+
}
3636
resource_fields {
3737
resource_type = "cvm"
3838
action_type = "*"

0 commit comments

Comments
 (0)