github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/vpc/reset_vpn_connection.go (about) 1 package vpc 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 重置VPN通道 8 // https://cloud.tencent.com/document/api/215/17505 9 10 type ResetVpnConnectionRequest struct { 11 // 区域 12 Region string `name:"Region"` 13 // VPN通道实例ID。形如:vpnx-f49l6u0z。 14 VpnConnectionId string `name:"VpnConnectionId"` 15 // VPN网关实例ID。 16 VpnGatewayId string `name:"VpnGatewayId"` 17 } 18 19 func (req *ResetVpnConnectionRequest) Invoke(client github_com_morlay_goqcloud.Client) (*ResetVpnConnectionResponse, error) { 20 resp := &ResetVpnConnectionResponse{} 21 err := client.Request("vpc", "ResetVpnConnection", "2017-03-12").Do(req, resp) 22 return resp, err 23 } 24 25 type ResetVpnConnectionResponse struct { 26 github_com_morlay_goqcloud.TencentCloudBaseResponse 27 }