terraform/vendor/github.com/jen20/riviera/sql/delete_server.go

20 lines
415 B
Go
Raw Normal View History

2016-02-04 00:40:32 +01:00
package sql
import "github.com/jen20/riviera/azure"
type DeleteServer struct {
Name string `json:"-"`
ResourceGroupName string `json:"-"`
}
func (s DeleteServer) APIInfo() azure.APIInfo {
return azure.APIInfo{
APIVersion: apiVersion,
2016-02-04 00:40:32 +01:00
Method: "DELETE",
URLPathFunc: sqlServerDefaultURLPath(s.ResourceGroupName, s.Name),
ResponseTypeFunc: func() interface{} {
return nil
},
}
}