opentofu/vendor/github.com/jen20/riviera/azure/delete_resource_group.go

17 lines
324 B
Go

package azure
type DeleteResourceGroup struct {
Name string `json:"-"`
}
func (s DeleteResourceGroup) APIInfo() APIInfo {
return APIInfo{
APIVersion: resourceGroupAPIVersion,
Method: "DELETE",
URLPathFunc: resourceGroupDefaultURLFunc(s.Name),
ResponseTypeFunc: func() interface{} {
return nil
},
}
}