github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/vpc/delete_route_table.go (about) 1 package vpc 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 删除路由表 8 // https://cloud.tencent.com/document/api/215/15771 9 10 type DeleteRouteTableRequest struct { 11 // 区域 12 Region string `name:"Region"` 13 // 路由表实例ID,例如:rtb-azd4dt1c。 14 RouteTableId string `name:"RouteTableId"` 15 } 16 17 func (req *DeleteRouteTableRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeleteRouteTableResponse, error) { 18 resp := &DeleteRouteTableResponse{} 19 err := client.Request("vpc", "DeleteRouteTable", "2017-03-12").Do(req, resp) 20 return resp, err 21 } 22 23 type DeleteRouteTableResponse struct { 24 github_com_morlay_goqcloud.TencentCloudBaseResponse 25 }