github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/dc/reject_direct_connect_tunnel.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/19817
     9  
    10  type RejectDirectConnectTunnelRequest struct {
    11  	// 无
    12  	DirectConnectTunnelId string `name:"DirectConnectTunnelId"`
    13  	// 区域
    14  	Region string `name:"Region"`
    15  }
    16  
    17  func (req *RejectDirectConnectTunnelRequest) Invoke(client github_com_morlay_goqcloud.Client) (*RejectDirectConnectTunnelResponse, error) {
    18  	resp := &RejectDirectConnectTunnelResponse{}
    19  	err := client.Request("dc", "RejectDirectConnectTunnel", "2018-04-10").Do(req, resp)
    20  	return resp, err
    21  }
    22  
    23  type RejectDirectConnectTunnelResponse struct {
    24  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    25  }