github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/cis/describe_container_instance_events.go (about) 1 package cis 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 查询容器实例事件 8 // https://cloud.tencent.com/document/api/858/17772 9 10 type DescribeContainerInstanceEventsRequest struct { 11 // 容器实例名称 12 InstanceName string `name:"InstanceName"` 13 // 区域 14 Region string `name:"Region"` 15 } 16 17 func (req *DescribeContainerInstanceEventsRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeContainerInstanceEventsResponse, error) { 18 resp := &DescribeContainerInstanceEventsResponse{} 19 err := client.Request("cis", "DescribeContainerInstanceEvents", "2018-04-08").Do(req, resp) 20 return resp, err 21 } 22 23 type DescribeContainerInstanceEventsResponse struct { 24 github_com_morlay_goqcloud.TencentCloudBaseResponse 25 // 容器实例事件列表 26 EventList []*Event `json:"EventList"` 27 }