Skip to content

Commit e74e8ad

Browse files
committed
fix: modify alarms
1 parent 14f8c01 commit e74e8ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tencentcloud/service_tencentcloud_monitor.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1977,16 +1977,19 @@ func (me *MonitorService) DescribeMonitorAlarmBasicAlarmsByFilter(ctx context.Co
19771977
request.OccurTimeOrder = v.(*string)
19781978
}
19791979
if k == "ProjectIds" {
1980+
request.ProjectIds = v.([]*int64)
19801981
}
19811982
if k == "ViewNames" {
19821983
request.ViewNames = v.([]*string)
19831984
}
19841985
if k == "AlarmStatus" {
1986+
request.AlarmStatus = v.([]*int64)
19851987
}
19861988
if k == "ObjLike" {
1987-
request.ObjLike = v.(*string)
1989+
request.ObjLike = v.([]*string)
19881990
}
19891991
if k == "InstanceGroupIds" {
1992+
request.InstanceGroupIds = v.([]*int64)
19901993
}
19911994
if k == "MetricNames" {
19921995
request.MetricNames = v.([]*string)

0 commit comments

Comments
 (0)