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

21 lines
472 B
Go
Raw Normal View History

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