code: func (_m *API) VirtualizationCreate(ctx context.Context, opts *types.VirtualizationCreateOptions) (*types.VirtualizationCreated, error) {
  	ret := _m.Called(ctx, opts)
  
  	var r0 *types.VirtualizationCreated
  	if rf, ok := ret.Get(0).(func(context.Context, *types.VirtualizationCreateOptions) *types.VirtualizationCreated); ok {
  		r0 = rf(ctx, opts)
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).(*types.VirtualizationCreated)
  		}
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func(context.Context, *types.VirtualizationCreateOptions) error); ok {
  		r1 = rf(ctx, opts)
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // VirtualizationCreate provides a mock function with given fields: ctx, opts