github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/vpc/describe_ccn_region_bandwidth_limits.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/19201
     9  
    10  type DescribeCcnRegionBandwidthLimitsRequest struct {
    11  	// CCN实例ID。形如:ccn-f49l6u0z。
    12  	CcnId string `name:"CcnId"`
    13  	// 区域
    14  	Region string `name:"Region"`
    15  }
    16  
    17  func (req *DescribeCcnRegionBandwidthLimitsRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeCcnRegionBandwidthLimitsResponse, error) {
    18  	resp := &DescribeCcnRegionBandwidthLimitsResponse{}
    19  	err := client.Request("vpc", "DescribeCcnRegionBandwidthLimits", "2017-03-12").Do(req, resp)
    20  	return resp, err
    21  }
    22  
    23  type DescribeCcnRegionBandwidthLimitsResponse struct {
    24  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    25  	// 云联网(CCN)各地域出带宽上限
    26  	CcnRegionBandwidthLimitSet []*CcnRegionBandwidthLimit `json:"CcnRegionBandwidthLimitSet"`
    27  }