github.com/morlay/goqcloud@v0.0.0-20181123023149-b00e0b0b9afc/clients/vpc/delete_service_template_group.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/16715
     9  
    10  type DeleteServiceTemplateGroupRequest struct {
    11  	// 区域
    12  	Region string `name:"Region"`
    13  	// 协议端口模板集合实例ID,例如:ppmg-n17uxvve。
    14  	ServiceTemplateGroupId string `name:"ServiceTemplateGroupId"`
    15  }
    16  
    17  func (req *DeleteServiceTemplateGroupRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeleteServiceTemplateGroupResponse, error) {
    18  	resp := &DeleteServiceTemplateGroupResponse{}
    19  	err := client.Request("vpc", "DeleteServiceTemplateGroup", "2017-03-12").Do(req, resp)
    20  	return resp, err
    21  }
    22  
    23  type DeleteServiceTemplateGroupResponse struct {
    24  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    25  }