github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/yunjing/delete_machine.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/19844
     9  
    10  type DeleteMachineRequest struct {
    11  	// 区域
    12  	Region string `name:"Region"`
    13  	// 云镜客户端Uuid。
    14  	Uuid string `name:"Uuid"`
    15  }
    16  
    17  func (req *DeleteMachineRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeleteMachineResponse, error) {
    18  	resp := &DeleteMachineResponse{}
    19  	err := client.Request("yunjing", "DeleteMachine", "2018-02-28").Do(req, resp)
    20  	return resp, err
    21  }
    22  
    23  type DeleteMachineResponse struct {
    24  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    25  }