func NewClient(client management.Client) VirtualMachineClient {
	return VirtualMachineClient{client: client}
}
NewClient is used to instantiate a new VirtualMachineClient from an Azure client
package virtualmachine
import (
	"encoding/xml"
	"fmt"
	"github.com/Azure/azure-sdk-for-go/management"
)
const (
	azureDeploymentListURL        = "services/hostedservices/%s/deployments"
	azureDeploymentURL            = "services/hostedservices/%s/deployments/%s"
	azureListDeploymentsInSlotURL = "services/hostedservices/%s/deploymentslots/Production"
	deleteAzureDeploymentURL      = "services/hostedservices/%s/deployments/%s?comp=media"
	azureAddRoleURL               = "services/hostedservices/%s/deployments/%s/roles"
	azureRoleURL                  = "services/hostedservices/%s/deployments/%s/roles/%s"
	azureOperationsURL            = "services/hostedservices/%s/deployments/%s/roleinstances/%s/Operations"
	azureRoleSizeListURL          = "rolesizes"
	errParamNotSpecified = "Parameter %s is not specified."
)