github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/dc/modify_direct_connect_tunnel_attribute.go (about) 1 package dc 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 修改专用通道属性 8 // https://cloud.tencent.com/document/api/216/19818 9 10 type ModifyDirectConnectTunnelAttributeRequest struct { 11 // 专用通道带宽值,单位为M。 12 Bandwidth *int64 `name:"Bandwidth,omitempty"` 13 // 用户侧BGP,包括Asn,AuthKey 14 BgpPeer *BgpPeer `name:"BgpPeer,omitempty"` 15 // 用户侧互联IP 16 CustomerAddress *string `name:"CustomerAddress,omitempty"` 17 // 专用通道ID 18 DirectConnectTunnelId string `name:"DirectConnectTunnelId"` 19 // 专用通道名称 20 DirectConnectTunnelName *string `name:"DirectConnectTunnelName,omitempty"` 21 // 区域 22 Region string `name:"Region"` 23 // 用户侧网段地址 24 RouteFilterPrefixes []*RouteFilterPrefix `name:"RouteFilterPrefixes,omitempty"` 25 // 腾讯侧互联IP 26 TencentAddress *string `name:"TencentAddress,omitempty"` 27 } 28 29 func (req *ModifyDirectConnectTunnelAttributeRequest) Invoke(client github_com_morlay_goqcloud.Client) (*ModifyDirectConnectTunnelAttributeResponse, error) { 30 resp := &ModifyDirectConnectTunnelAttributeResponse{} 31 err := client.Request("dc", "ModifyDirectConnectTunnelAttribute", "2018-04-10").Do(req, resp) 32 return resp, err 33 } 34 35 type ModifyDirectConnectTunnelAttributeResponse struct { 36 github_com_morlay_goqcloud.TencentCloudBaseResponse 37 }