func (r *SecurityRule) Default() {
	securityrulelog.Info("default", "name", r.Name)
}
Default implements webhook.Defaulter so a webhook will be registered for the type
package v1
import (
	"k8s.io/apimachinery/pkg/runtime"
	ctrl "sigs.k8s.io/controller-runtime"
	logf "sigs.k8s.io/controller-runtime/pkg/log"
	"sigs.k8s.io/controller-runtime/pkg/webhook"
)
var backendaddresspoollog = logf.Log.WithName("backendaddresspool-resource")
var _ webhook.Defaulter = &BackendAddressPool{}
func (r *BackendAddressPool) Default() {
	backendaddresspoollog.Info("default", "name", r.Name)
}
var _ webhook.Validator = &BackendAddressPool{}
func (r *BackendAddressPool) ValidateCreate() error {
	backendaddresspoollog.Info("validate create", "name", r.Name)
	return nil
}
func (r *BackendAddressPool) ValidateUpdate(old runtime.Object) error {
	backendaddresspoollog.Info("validate update", "name", r.Name)
	return nil
}
func (r *BackendAddressPool) ValidateDelete() error {
	backendaddresspoollog.Info("validate delete", "name", r.Name)
	return nil
}
var frontendipconfigurationlog = logf.Log.WithName("frontendipconfiguration-resource")
var _ webhook.Defaulter = &FrontendIPConfiguration{}
func (r *FrontendIPConfiguration) Default() {
	frontendipconfigurationlog.Info("default", "name", r.Name)
}
var _ webhook.Validator = &FrontendIPConfiguration{}
func (r *FrontendIPConfiguration) ValidateCreate() error {
	frontendipconfigurationlog.Info("validate create", "name", r.Name)
	return nil
}
func (r *FrontendIPConfiguration) ValidateUpdate(old runtime.Object) error {
	frontendipconfigurationlog.Info("validate update", "name", r.Name)
	return nil
}
func (r *FrontendIPConfiguration) ValidateDelete() error {
	frontendipconfigurationlog.Info("validate delete", "name", r.Name)
	return nil
}
var inboundnatrulelog = logf.Log.WithName("inboundnatrule-resource")
var _ webhook.Defaulter = &InboundNatRule{}
func (r *InboundNatRule) Default() {
	inboundnatrulelog.Info("default", "name", r.Name)
}
var _ webhook.Validator = &InboundNatRule{}
func (r *InboundNatRule) ValidateCreate() error {
	inboundnatrulelog.Info("validate create", "name", r.Name)
	return nil
}
func (r *InboundNatRule) ValidateUpdate(old runtime.Object) error {
	inboundnatrulelog.Info("validate update", "name", r.Name)
	return nil
}
func (r *InboundNatRule) ValidateDelete() error {
	inboundnatrulelog.Info("validate delete", "name", r.Name)
	return nil
}
var loadbalancerlog = logf.Log.WithName("loadbalancer-resource")
var _ webhook.Defaulter = &LoadBalancer{}
func (r *LoadBalancer) Default() {
	loadbalancerlog.Info("default", "name", r.Name)
}
var _ webhook.Validator = &LoadBalancer{}
func (r *LoadBalancer) ValidateCreate() error {
	loadbalancerlog.Info("validate create", "name", r.Name)
	return nil
}
func (r *LoadBalancer) ValidateUpdate(old runtime.Object) error {
	loadbalancerlog.Info("validate update", "name", r.Name)
	return nil
}
func (r *LoadBalancer) ValidateDelete() error {
	loadbalancerlog.Info("validate delete", "name", r.Name)
	return nil
}
var loadbalancingrulelog = logf.Log.WithName("loadbalancingrule-resource")
var _ webhook.Defaulter = &LoadBalancingRule{}
func (r *LoadBalancingRule) Default() {
	loadbalancingrulelog.Info("default", "name", r.Name)
}
var _ webhook.Validator = &LoadBalancingRule{}
func (r *LoadBalancingRule) ValidateCreate() error {
	loadbalancingrulelog.Info("validate create", "name", r.Name)
	return nil
}
func (r *LoadBalancingRule) ValidateUpdate(old runtime.Object) error {
	loadbalancingrulelog.Info("validate update", "name", r.Name)
	return nil
}
func (r *LoadBalancingRule) ValidateDelete() error {
	loadbalancingrulelog.Info("validate delete", "name", r.Name)
	return nil
}
var networksecuritygrouplog = logf.Log.WithName("networksecuritygroup-resource")
var _ webhook.Defaulter = &NetworkSecurityGroup{}
func (r *NetworkSecurityGroup) Default() {
	networksecuritygrouplog.Info("default", "name", r.Name)
}
var _ webhook.Validator = &NetworkSecurityGroup{}
func (r *NetworkSecurityGroup) ValidateCreate() error {
	networksecuritygrouplog.Info("validate create", "name", r.Name)
	return nil
}
func (r *NetworkSecurityGroup) ValidateUpdate(old runtime.Object) error {
	networksecuritygrouplog.Info("validate update", "name", r.Name)
	return nil
}
func (r *NetworkSecurityGroup) ValidateDelete() error {
	networksecuritygrouplog.Info("validate delete", "name", r.Name)
	return nil
}
var outboundrulelog = logf.Log.WithName("outboundrule-resource")
var _ webhook.Defaulter = &OutboundRule{}
func (r *OutboundRule) Default() {
	outboundrulelog.Info("default", "name", r.Name)
}
var _ webhook.Validator = &OutboundRule{}
func (r *OutboundRule) ValidateCreate() error {
	outboundrulelog.Info("validate create", "name", r.Name)
	return nil
}
func (r *OutboundRule) ValidateUpdate(old runtime.Object) error {
	outboundrulelog.Info("validate update", "name", r.Name)
	return nil
}
func (r *OutboundRule) ValidateDelete() error {
	outboundrulelog.Info("validate delete", "name", r.Name)
	return nil
}
var routelog = logf.Log.WithName("route-resource")
func (r *Route) SetupWebhookWithManager(mgr ctrl.Manager) error {
	return ctrl.NewWebhookManagedBy(mgr).
		For(r).
		Complete()
}
var _ webhook.Defaulter = &Route{}
func (r *Route) Default() {
	routelog.Info("default", "name", r.Name)
}
var _ webhook.Validator = &Route{}
func (r *Route) ValidateCreate() error {
	routelog.Info("validate create", "name", r.Name)
	return nil
}
func (r *Route) ValidateUpdate(old runtime.Object) error {
	routelog.Info("validate update", "name", r.Name)
	return nil
}
func (r *Route) ValidateDelete() error {
	routelog.Info("validate delete", "name", r.Name)
	return nil
}
var routetablelog = logf.Log.WithName("routetable-resource")
var _ webhook.Defaulter = &RouteTable{}
func (r *RouteTable) Default() {
	routetablelog.Info("default", "name", r.Name)
}
var _ webhook.Validator = &RouteTable{}
func (r *RouteTable) ValidateCreate() error {
	routetablelog.Info("validate create", "name", r.Name)
	return nil
}
func (r *RouteTable) ValidateUpdate(old runtime.Object) error {
	routetablelog.Info("validate update", "name", r.Name)
	return nil
}
func (r *RouteTable) ValidateDelete() error {
	routetablelog.Info("validate delete", "name", r.Name)
	return nil
}
var securityrulelog = logf.Log.WithName("securityrule-resource")
var _ webhook.Defaulter = &SecurityRule{}