github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/yunjing/close_pro_version.go (about)

     1  package yunjing
     2  
     3  import (
     4  	github_com_morlay_goqcloud "github.com/morlay/goqcloud"
     5  )
     6  
     7  // 关闭专业版
     8  // https://cloud.tencent.com/document/api/296/19847
     9  
    10  type CloseProVersionRequest struct {
    11  	// 主机唯一标识Uuid。黑石的InstanceId,CVM的Uuid
    12  	Quuid *string `name:"Quuid,omitempty"`
    13  	// 区域
    14  	Region string `name:"Region"`
    15  }
    16  
    17  func (req *CloseProVersionRequest) Invoke(client github_com_morlay_goqcloud.Client) (*CloseProVersionResponse, error) {
    18  	resp := &CloseProVersionResponse{}
    19  	err := client.Request("yunjing", "CloseProVersion", "2018-02-28").Do(req, resp)
    20  	return resp, err
    21  }
    22  
    23  type CloseProVersionResponse struct {
    24  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    25  }