func (c *Client) deleteVM(ctx context.Context, resourceGroupName string, VMName string) *retry.Error {
	resourceID := armclient.GetResourceID(
		c.subscriptionID,
		resourceGroupName,
		"Microsoft.Compute/virtualMachines",
		VMName,
	)

	return c.armClient.DeleteResource(ctx, resourceID, "")
}
// deleteVM deletes a VirtualMachine.
deleteVM deletes a VirtualMachine.
// deleteVM deletes a VirtualMachine .
func (c *Client) deleteVM(ctx context.Context, resourceGroupName string, VMName string) *retry.Error {
	resourceID := armclient.GetResourceID(
		c.subscriptionID,
		resourceGroupName,
		"Microsoft.Compute/virtualMachines",
		VMName,
	)
	return c.armClient.DeleteResource(ctx, resourceID, "")
}
func ( c * Client ) deleteVM ( ctx context . Context , resourceGroupName string , VMName string ) * retry . Error { resourceID := armclient . GetResourceID ( c . subscriptionID , resourceGroupName , " " , VMName , ) return c . armClient . DeleteResource ( ctx , resourceID , " " ) }
deleteVM deletes a VirtualMachine.
deleteVM deletes a VirtualMachine .