func MoveIntoResourcePool(p *object.ResourcePool, c types.ManagedObjectReference) error {
	req := types.MoveIntoResourcePool{
		This: p.Reference(),
		List: []types.ManagedObjectReference{c},
	}
	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
	defer cancel()
	_, err := methods.MoveIntoResourcePool(ctx, p.Client(), &req)
	return err
}
func MoveIntoResourcePool(p *object.ResourcePool, c types.ManagedObjectReference) error {
	req := types.MoveIntoResourcePool{
		This: p.Reference(),
		List: []types.ManagedObjectReference{c},
	}
	ctx, cancel := context.WithTimeout(context.Background(), provider.DefaultAPITimeout)
	defer cancel()
	_, err := methods.MoveIntoResourcePool(ctx, p.Client(), &req)
	return err
}
func MoveIntoResourcePool ( p * object . ResourcePool , c types . ManagedObjectReference ) error { req := types . MoveIntoResourcePool { This : p . Reference ( ) , List : [ ] types . ManagedObjectReference { c } , } ctx , cancel := context . WithTimeout ( context . Background ( ) , provider . DefaultAPITimeout ) defer cancel ( ) _ , err := methods . MoveIntoResourcePool ( ctx , p . Client ( ) , & req ) return err }
// MoveIntoResourcePool moves a virtual machine, resource pool, or
// vApp into the specified ResourcePool.
MoveIntoResourcePool moves a virtual machine resource pool or vApp into the specified ResourcePool .