github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/clb/delete_listener.go (about) 1 package clb 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 删除负载均衡监听器 8 // https://cloud.tencent.com/document/api/214/30690 9 10 type DeleteListenerRequest struct { 11 // 要删除的监听器 ID 12 ListenerId string `name:"ListenerId"` 13 // 应用型负载均衡实例 ID 14 LoadBalancerId string `name:"LoadBalancerId"` 15 // 区域 16 Region string `name:"Region"` 17 } 18 19 func (req *DeleteListenerRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeleteListenerResponse, error) { 20 resp := &DeleteListenerResponse{} 21 err := client.Request("clb", "DeleteListener", "2018-03-17").Do(req, resp) 22 return resp, err 23 } 24 25 type DeleteListenerResponse struct { 26 github_com_morlay_goqcloud.TencentCloudBaseResponse 27 }