github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/redis/describe_product_info.go (about) 1 package redis 2 3 import ( 4 github_com_morlay_goqcloud "github.com/morlay/goqcloud" 5 ) 6 7 // 查询产品售卖规格 8 // https://cloud.tencent.com/document/api/239/30600 9 10 type DescribeProductInfoRequest struct { 11 // 区域 12 Region string `name:"Region"` 13 } 14 15 func (req *DescribeProductInfoRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DescribeProductInfoResponse, error) { 16 resp := &DescribeProductInfoResponse{} 17 err := client.Request("redis", "DescribeProductInfo", "2018-04-12").Do(req, resp) 18 return resp, err 19 } 20 21 type DescribeProductInfoResponse struct { 22 github_com_morlay_goqcloud.TencentCloudBaseResponse 23 // 地域售卖信息 24 RegionSet []*RegionConf `json:"RegionSet"` 25 }