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

     1  package vpc
     2  
     3  import (
     4  	github_com_morlay_goqcloud "github.com/morlay/goqcloud"
     5  )
     6  
     7  // 删除IP地址模板集合
     8  // https://cloud.tencent.com/document/api/215/16713
     9  
    10  type DeleteAddressTemplateGroupRequest struct {
    11  	// IP地址模板集合实例ID,例如:ipmg-90cex8mq。
    12  	AddressTemplateGroupId string `name:"AddressTemplateGroupId"`
    13  	// 区域
    14  	Region string `name:"Region"`
    15  }
    16  
    17  func (req *DeleteAddressTemplateGroupRequest) Invoke(client github_com_morlay_goqcloud.Client) (*DeleteAddressTemplateGroupResponse, error) {
    18  	resp := &DeleteAddressTemplateGroupResponse{}
    19  	err := client.Request("vpc", "DeleteAddressTemplateGroup", "2017-03-12").Do(req, resp)
    20  	return resp, err
    21  }
    22  
    23  type DeleteAddressTemplateGroupResponse struct {
    24  	github_com_morlay_goqcloud.TencentCloudBaseResponse
    25  }