github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/vpc/enable_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/19196 9 10 type EnableCcnRoutesRequest 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 *EnableCcnRoutesRequest) Invoke(client github_com_morlay_goqcloud.Client) (*EnableCcnRoutesResponse, error) { 20 resp := &EnableCcnRoutesResponse{} 21 err := client.Request("vpc", "EnableCcnRoutes", "2017-03-12").Do(req, resp) 22 return resp, err 23 } 24 25 type EnableCcnRoutesResponse struct { 26 github_com_morlay_goqcloud.TencentCloudBaseResponse 27 }