github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/vpc/describe_customer_gateway_vendors.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/17517
     9  
    10  type DescribeCustomerGatewayVendorsRequest struct {
    11  	// 区域
    12  	Region string `name:"Region"`
    13  }
    14  
    15  func (req *DescribeCustomerGatewayVendorsRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeCustomerGatewayVendorsResponse, error) {
    16  	resp := &DescribeCustomerGatewayVendorsResponse{}
    17  	err := client.Request("vpc", "DescribeCustomerGatewayVendors", "2017-03-12").Do(req, resp)
    18  	return resp, err
    19  }
    20  
    21  type DescribeCustomerGatewayVendorsResponse struct {
    22  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    23  	// 对端网关厂商信息对象。
    24  	CustomerGatewayVendorSet []*CustomerGatewayVendor `json:"CustomerGatewayVendorSet"`
    25  }