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:"-"`
|
|
|
|
}
|
|
|
|
|
2016-02-05 00:36:50 +01:00
|
|
|
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
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|