func NewNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation(ctx *pulumi.Context,
	name string, args *NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs, opts ...pulumi.ResourceOption) (*NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}

	if args.BackendAddressPoolId == nil {
		return nil, errors.New("invalid value for required argument 'BackendAddressPoolId'")
	}
	if args.IpConfigurationName == nil {
		return nil, errors.New("invalid value for required argument 'IpConfigurationName'")
	}
	if args.NetworkInterfaceId == nil {
		return nil, errors.New("invalid value for required argument 'NetworkInterfaceId'")
	}
	var resource NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation
	err := ctx.RegisterResource("azure:network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation:NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation registers a new resource with the given unique name, arguments, and options.
NewNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation registers a new resource with the given unique name, arguments, and options.
// NewNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation registers a new resource with the given unique name arguments and options .
func NewNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation(ctx *pulumi.Context,
	name string, args *NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs, opts ...pulumi.ResourceOption) (*NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.BackendAddressPoolId == nil {
		return nil, errors.New("invalid value for required argument 'BackendAddressPoolId'")
	}
	if args.IpConfigurationName == nil {
		return nil, errors.New("invalid value for required argument 'IpConfigurationName'")
	}
	if args.NetworkInterfaceId == nil {
		return nil, errors.New("invalid value for required argument 'NetworkInterfaceId'")
	}
	var resource NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation
	err := ctx.RegisterResource("azure:network/networkInterfaceApplicationGatewayBackendAddressPoolAssociation:NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation ( ctx * pulumi . Context , name string , args * NetworkInterfaceApplicationGatewayBackendAddressPoolAssociationArgs , opts ... pulumi . ResourceOption ) ( * NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation , error ) { if args == nil { return nil , errors . New ( " " ) } if args . BackendAddressPoolId == nil { return nil , errors . New ( " " ) } if args . IpConfigurationName == nil { return nil , errors . New ( " " ) } if args . NetworkInterfaceId == nil { return nil , errors . New ( " " ) } var resource NetworkInterfaceApplicationGatewayBackendAddressPoolAssociation err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation registers a new resource with the given unique name, arguments, and options.
NewNetworkInterfaceApplicationGatewayBackendAddressPoolAssociation registers a new resource with the given unique name arguments and options .