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

	if args.FloatingIp == nil {
		return nil, errors.New("invalid value for required argument 'FloatingIp'")
	}
	if args.PortId == nil {
		return nil, errors.New("invalid value for required argument 'PortId'")
	}
	var resource FloatingIpAssociate
	err := ctx.RegisterResource("openstack:networking/floatingIpAssociate:FloatingIpAssociate", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// NewFloatingIpAssociate registers a new resource with the given unique name, arguments, and options.
NewFloatingIpAssociate registers a new resource with the given unique name, arguments, and options.
// NewFloatingIpAssociate registers a new resource with the given unique name arguments and options .
func NewFloatingIpAssociate(ctx *pulumi.Context,
	name string, args *FloatingIpAssociateArgs, opts ...pulumi.ResourceOption) (*FloatingIpAssociate, error) {
	if args == nil {
		return nil, errors.New("missing one or more required arguments")
	}
	if args.FloatingIp == nil {
		return nil, errors.New("invalid value for required argument 'FloatingIp'")
	}
	if args.PortId == nil {
		return nil, errors.New("invalid value for required argument 'PortId'")
	}
	var resource FloatingIpAssociate
	err := ctx.RegisterResource("openstack:networking/floatingIpAssociate:FloatingIpAssociate", name, args, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func NewFloatingIpAssociate ( ctx * pulumi . Context , name string , args * FloatingIpAssociateArgs , opts ... pulumi . ResourceOption ) ( * FloatingIpAssociate , error ) { if args == nil { return nil , errors . New ( " " ) } if args . FloatingIp == nil { return nil , errors . New ( " " ) } if args . PortId == nil { return nil , errors . New ( " " ) } var resource FloatingIpAssociate err := ctx . RegisterResource ( " " , name , args , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
NewFloatingIpAssociate registers a new resource with the given unique name, arguments, and options.
NewFloatingIpAssociate registers a new resource with the given unique name arguments and options .