github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/cvm/describe_instance_operation_logs.go (about) 1 package cvm 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 查询实例操作记录 8 // https://cloud.tencent.com/document/api/213/15737 9 10 type DescribeInstanceOperationLogsRequest struct { 11 // 每次请求的Filters的上限为1,Filter.Values的上限为1。Filters.1.Name目前支持“instance-id”,即根据实例 ID 过滤。实例 ID 形如:ins-1w2x3y4z。 12 Filters []*Filter `name:"Filters"` 13 // 区域 14 Region string `name:"Region"` 15 } 16 17 func (req *DescribeInstanceOperationLogsRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeInstanceOperationLogsResponse, error) { 18 resp := &DescribeInstanceOperationLogsResponse{} 19 err := client.Request("cvm", "DescribeInstanceOperationLogs", "2017-03-12").Do(req, resp) 20 return resp, err 21 } 22 23 type DescribeInstanceOperationLogsResponse struct { 24 github_com_morlay_goqcloud.TencentCloudBaseResponse 25 }