mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-07 22:53:08 -06:00
20 lines
437 B
Go
20 lines
437 B
Go
package dns
|
|
|
|
import "github.com/jen20/riviera/azure"
|
|
|
|
type DeleteDNSZone struct {
|
|
Name string `json:"-"`
|
|
ResourceGroupName string `json:"-"`
|
|
}
|
|
|
|
func (command DeleteDNSZone) APIInfo() azure.APIInfo {
|
|
return azure.APIInfo{
|
|
APIVersion: apiVersion,
|
|
Method: "DELETE",
|
|
URLPathFunc: dnsZoneDefaultURLPathFunc(command.ResourceGroupName, command.Name),
|
|
ResponseTypeFunc: func() interface{} {
|
|
return nil
|
|
},
|
|
}
|
|
}
|