github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/vpc/disable_ccn_routes.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/19197 9 10 type DisableCcnRoutesRequest struct { 11 // CCN实例ID。形如:ccn-f49l6u0z。 12 CcnId string `name:"CcnId"` 13 // 区域 14 Region string `name:"Region"` 15 // CCN路由策略唯一ID。形如:ccnr-f49l6u0z。 16 RouteIds []*string `name:"RouteIds"` 17 } 18 19 func (req *DisableCcnRoutesRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DisableCcnRoutesResponse, error) { 20 resp := &DisableCcnRoutesResponse{} 21 err := client.Request("vpc", "DisableCcnRoutes", "2017-03-12").Do(req, resp) 22 return resp, err 23 } 24 25 type DisableCcnRoutesResponse struct { 26 github_com_morlay_goqcloud.TencentCloudBaseResponse 27 }