func (c *Client) CreateVmImage(args *api.CreateVmImageArgs) (*api.CreateVmImageResult, error) {
	if args == nil {
		return nil, fmt.Errorf("please set argments")
	}
	result := &api.CreateVmImageResult{}
	req := &api.PostHttpReq{Url: api.GetVmImageURI(), Result: result, Body: args}
	err := api.Post(c, req)
	return result, err
}
CreateVmImage - create a vm image

PARAMS:
- args: the create vm image args
RETURNS:
- *api.CreateVmImageResult: the result image
- error: nil if ok otherwise the specific error
package bec
import (
	"fmt"
	"strconv"
	"strings"
	"github.com/baidubce/bce-sdk-go/bce"
	"github.com/baidubce/bce-sdk-go/http"
	"github.com/baidubce/bce-sdk-go/services/bec/api"
)